...
Check content of a netCDF file
ncdump
The ncdump is a command-line utility that converts the content of a netCDF file to ASCII text on standard output. It is a quick tool to look at the content of a netCDF file. Since netCDF files can get fairly large and with the the text output of ncdump I recommend to either just look at the header information (description of variables but not the actual data) with:
...
Volet |
---|
cdo -sinfo netCDF_file |
Generate & manipulate netCDF files
...
ncgen
ncgen can generate a netCDF file, C program, or Fortran program from a CDL text file.
...
However, this is not very practical for large netCDF files.blablabla
CDO
CDO is a collection of command-line operators to manipulate and analyze climate and numerical weather prediction data; includes support for netCDF-3, netCDF-4 and GRIB1, GRIB2, and other formats. CDO provides more than 350 operators, including
- File information and file operations
- Selection and Comparision
- Modification of meta data
- Arithmetic operations
- Statistical analysis
- Regression and Interpolation
- Vector and spectral Transformations
- Formatted I/O
- Climate indices
- File format conversions
Have a look at the CDO tutorial and full documentation:
CDO tutorial
CDO documentation
CDO reference card
NCO
The NCO toolkit manipulates and analyzes data stored in netCDF-accessible formats, including DAP, HDF4, HDF5, and, most recently, Zarr. The netCDF Operators (NCO) comprise about a dozen standalone, command-line programs that take netCDF, HDF, and/or DAP files as input, then operate (e.g., derive new fields, compute statistics, print, hyperslab, manipulate metadata, regrid) and output the results to screen or files in text, binary, or netCDF formats.