NETCDF
Reading and Writing NETCDF Files


NETCDF is a directory of FORTRAN90 programs which illustrate the use of the NETCDF library and file format.

NETCDF (Network Common Data Form) is a set of software libraries and machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

NETCDF is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version.

Related Programs:

CDL, a data directory which contains examples of CDL files, a text version of NETCDF files created by the NCDUMP program;

GFD2, a dataset directory which contains geophysical data, stored in NetCDF format.

NETCDF, a data directory which contains examples of NETCDF files, a format for the interchange of scientific data.

Reference:

  1. Russ Rew, Glenn Davis, Steve Emmerson, Harvey Davies, Ed Hartne,
    The NetCDF User's Guide,
    Unidata Program Center, March 2009.
  2. Robert Pincus, Russ Rew,
    The NetCDF Fortran90 Interface Guide,
    Unidata Program Center, March 2010.

Examples and Tests:

SIMPLE_XY_WR writes data to a NETCDF file. The data is a simple two-dimensional array.

SIMPLE_XY_RD reads data from a NETCDF file.

SFC_PRES_TEMP_WR writes data to a NETCDF file. The data will include units attributes and coordinate dimensions.

SFC_PRES_TEMP_RD reads data from a NETCDF file.

PRES_TEMP_4D_WR writes data to a NETCDF file. The data will be four-dimensional and use a record dimension.

PRES_TEMP_4D_RD reads data from a NETCDF file.

You can go up one level to the FORTRAN90 source codes.


Last revised on 02 December 2009.