Previous: When to Use the Enhanced Data Model Next: CDL Table of contents Frames 2010 Unidata NetCDF Workshop

5 NetCDF Utilities
The netCDF utilities that are installed by default are ncdump, ncgen, nccopy, and nc-config.

Use of ncdump and ncgen together can accomplish some simple data management tasks. Format conversion, compression, and remote access can be done with nccopy. Compiling programs is easier with nc-config.

5.0  CDL
CDL (Common Data form Language): a human-readable text representation of netCDF data.
5.1  ncdump
The ncdump command-line utility converts netCDF data to human-readable text form.
5.2  Examples of ncdump use
Examples of common uses of ncdump
5.3  NcML
NcML (netCDF Markup Language) is a dialect of XML for representing netCDF data, for virtual netCDF files, and for virtual aggregations.
5.4  ncgen
From a CDL text file input, the ncgen command-line utility can generate a binary netCDF file, or a C, Fortran, or Java program.
5.5  Examples of ncgen use
Examples of common uses of ncgen
5.6  ncdump and ncgen together
Used together, ncdump and ncgen can accomplish simple netCDF manipulations with little or no programming.
5.7  nccopy
The nccopy command-line utility copies and optionally compresses netCDF data.
5.8  Examples of nccopy use
Examples of common uses of nccopy
5.9  nc-config
The nc-config command-line utility assists with the setting of compiler and linker flags for C, C++, and Fortran applications.
5.10  Unicode Names
The netCDF library and utilities in versions 3.6.3 and later permit Unicode names for netCDF objects.
5.11  Special attributes for netCDF-4 data
To display new characterisitics of netCDF-4 data, such as compression and chunking:
5.12  Other NetCDF Utilities
Many other useful netCDF utilities developed by third parties are available, for example NCL, NCO, and CDO packages. The Java ToolsUI utility is described in the netCDF Java session.

 


Previous: When to Use the Enhanced Data Model Next: CDL Table of contents Frames 2010 Unidata NetCDF Workshop