netcdf_test


netcdf_test, C 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_test is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Programs:

CDL, a data directory 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.

GFD2, MATLAB programs which simulate geophysical fluid dynamics.

ICE, a data directory of ICE files, which store icesheet grid datasets in the NETCDF format.

ICE_IO, a MATLAB library which reads or writes ICE datasets, using the NETCDF format.

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

NETCDF_GLIMMER, a data directory which contains examples of GLIMMER data from Oak Ridge, stored as NETCDF files.

NETCDF_MPAS, a data directory which contains examples of MPAS grid data stored as NETCDF files.

Reference:

  1. Russ Rew, Glenn Davis, Steve Emmerson, Harvey Davies, Ed Hartne,
    The NetCDF User's Guide,
    Unidata Program Center, March 2009.
  2. Russ Rew, Glenn Davis, Steve Emmerson, Harvey Davies,
    The NetCDF C Interface Guide,
    Unidata Program Center, January 2007.

Examples and Tests:

SIMPLE_XY_WR writes two dimensional data to a NETCDF file. SIMPLE_XY_RD reads data from that 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 the 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 the file.


Last revised on 02 July 2018.