NES (NetCDF for Earth Science) is the Python I/O library used by SNES, the framework that implements the data post-processing pipelines at the Earth Sciences department, to read and write netCDF files.
Use the following command to install the library:
pip install nes
Read the FAQ if you encounter any problems. If they do not resolve your issues, please contact the developers.
For installation guidance, usage instructions, tutorials, and CLI documentation, see the GitHub wiki.
Calculate totals over all time steps, levels and grid cells:
nes total -i input.nc
nes total -i input.nc -l NOx COOmit -l to include all data variables. Each line prints the variable name,
total and original units. NaNs are ignored; no unit conversion or area/time
integration is applied. Missing units are shown as unknown units.
Stable source releases are available on GitHub. Published Python packages are available on PyPI.