Network Common Data Format

The following topics are covered in this chapter:

 

Attributes, Dimensions, and Variables Attributes, Dimensions, and Variables

Creating NetCDF Files Creating NetCDF Files

String Data in NetCDF Files String Data in NetCDF Files

Type Conversion Type Conversion

Specifying Attributes and Variables Specifying Attributes and Variables

NetCDF Routines NCDF_ATTCOPY

 

This chapter details the interface routines for the Network Common Data Format. General notes about the interface are presented below, followed by individual descriptions of the routines. This version of IDL supports netCDF 2.4.

NetCDF Data Modes

There are two modes associated with accessing a netCDF file: define mode and data mode. In define mode, dimensions, variables, and new attributes can be created but variable data cannot be read or written. In data mode, data can be read or written and attributes can be changed, but new dimensions, variables, and attributes cannot be created.

IDL's NCDF_CONTROL routine can be used control the mode of a netCDF file. The only time it is not necessary to set the mode with NCDF_CONTROL is when using the NCDF_CREATE procedure to create a new file. NCDF_CREATE places the new netCDF file into define mode automatically.

Attributes, Dimensions, and Variables

Creating NetCDF Files

Type Conversion

Specifying Attributes and Variables

String Data in NetCDF Files

NCDF_ATTCOPY

NCDF_ATTDEL

NCDF_ATTGET

NCDF_ATTINQ

NCDF_ATTNAME

NCDF_ATTPUT

NCDF_ATTRENAME

NCDF_CLOSE

NCDF_CONTROL

NCDF_CREATE

NCDF_DIMDEF

NCDF_DIMID

NCDF_DIMINQ

NCDF_DIMRENAME

NCDF_EXISTS

NCDF_INQUIRE

NCDF_OPEN

NCDF_VARDEF

NCDF_VARGET

NCDF_VARGET

NCDF_VARID

NCDF_VARINQ

NCDF_VARPUT

NCDF_VARRENAME