Repository navigation
UserGuide
Carles Tena edited this page Oct 6, 2026
·
1 revision
This guide groups the Python workflows and command-line utilities available in NES. Start with installation and short examples, then choose the relevant workflow below.
The NES CLI allows you to run core operations such as reordering longitudes and checking data directly from the command line. Once NES is installed, the nes command becomes available in your terminal.
The following commands are registered in NES 1.3.5:
| Command | Description |
|---|---|
check |
Check for NaN and Inf values in a NetCDF file |
reorder |
Convert longitudes from [0, 360] to [-180, 180] |
nc2geostructure |
Convert a NetCDF to a geostructure (GeoJSON, Shapefile) |
nc2rline |
Convert a NetCDF into RLINE format |
check_min_max |
Check validity of minimum and maximum values for a variable of a NetCDF |
plot |
Generate a variety of plots for visualization purposes for a certain NetCDF variable |
mask |
Compute the applied mask to a NetCDF file and write the result to a new NetCDF file. |
diff |
Compute signed differences: comparison minus baseline |
diffper |
Compute percentage differences relative to a baseline |
gridarea |
Calculate grid cell areas and write a NetCDF |
interpolate |
Experimental registration; current CLI handler is not operational |
- Reading, creation and parallel execution
- Output formats and incremental writing
- Statistics and grid transformations
- Metadata and geometry
- MBTiles through Python
The nc2mbtiles CLI registration is disabled in this version. See its status.
To list all available subcommands:
nes -hor
nes --helpTo see help for a specific subcommand:
nes <subcommand> -hFor example:
nes check -h
nes reorder -h