Skip to content

UserGuide

Carles Tena edited this page Oct 6, 2026 · 1 revision

NES User Guide

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.

Table of Contents


Command-Line Interface

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

Python workflows

The nc2mbtiles CLI registration is disabled in this version. See its status.

To list all available subcommands:

nes -h

or

nes --help

To see help for a specific subcommand:

nes <subcommand> -h

For example:

nes check -h
nes reorder -h

Clone this wiki locally