NCDF_VARID

The NCDF_VARID function returns the ID of a netCDF variable. This function returns -1 if the variable does not exist.

Calling Sequence

Result = NCDF_VARID( Cdfid, Name )

Arguments

Cdfid

The netCDF ID, returned from a previous call to NCDF_OPEN or NCDF_CREATE.

Name

A scalar string containing the variable name.

Example

See NCDF_VARDEF .