Skip to content
casadoj edited this page Aug 30, 2024 · 1 revision

This tool converts single NetCDF maps (time dimension is not supported yet) to PCRaster format.

  • convert 2D variables in single PCRaster maps.
  • NetCDF4 mapstacks (time dimension) are not supported yet.

Requirement: PCRaster must be installed in the Conda environment.

Usage

nc2pcr -i /path/to/input/file.nc -o /path/to/output/out.map [-c /path/to/clone.map optional]

If the input file is an LDD map, you must add the -l flag:

nc2pcr -i /path/to/input/ldd.nc -o /path/to/output/ldd.map  -l [-c /path/to/clone.map optional]
Clone this wiki locally