Previous: ncgen Next: Unicode Names Table of contents Frames User guide
2009 Unidata NetCDF Workshop for Developers and Data Providers > NetCDF Utilities: ncdump and ncgen

5.10 ncdump and ncgen together
Used together, ncdump and ncgen can accomplish simple netCDF manipulations with little or no programming.

To add, delete, or change metadata or data in a binary netCDF file:

 

 

To create a new netCDF file with lots of metadata:

 

 

To convert a small classic netCDF file into an equivalent netCDF-4 classic model file:

 

 

  $ ncdump small.nc > tmp.cdl
  $ ncgen -o small4.nc -k 4 tmp.cdl

 


Previous: ncgen Next: Unicode Names Table of contents Frames User guide
2009 Unidata NetCDF Workshop for Developers and Data Providers > NetCDF Utilities: ncdump and ncgen