Next: , Previous: Fill Values, Up: Intro


1.5 Tools for Manipulating NetCDF Files

Many existing software applications can read and manipulate netCDF files. Before writing your own program, check to see if any existing programs meet your needs.

Two utilities come with the netCDF distribution: ncdump and ncgen. The ncdump command reads a netCDF file and outputs ASCII in a format called CDL. The ncgen command reads an ASCII file in CDL format, and generates a netCDF data file.

One common use for ncdump is to examine the metadata of a netCDF file, to see what it contains. At the beginning of each example in this tutorial, an ncdump of the resulting data file is shown. See simple_xy.

For more information about ncdump and ncgen see NetCDF Utilities.

The following general-purpose tools have been found to be useful in many situations. Some of the tools on this list are developed at Unidata. The others are developed elsewhere, and we can make no guarantees about their continued availability or success. All of these tools are open-source.

UDUNITS Unidata library to help with scientific units. http://www.unidata.ucar.edu/software/udunits


IDV Unidata's Integrated Data Viewer, a 3D visualization and analysis package (Java based). http://www.unidata.ucar.edu/software/idv


NCL NCAR Command Language, a graphics and data manipulation package. http://www.ncl.ucar.edu


GrADS The Grid Analysis and Display System package. http://grads.iges.org/grads/grads.html


NCO NetCDF Command line Operators, tools to manipulate netCDF files. http://nco.sourceforge.net

For a list of netCDF tools that we know about see http://www.unidata.ucar.edu/software/netcdf/software.html. If you know of any that should be added to this list, send email to support@unidata.ucar.edu.