NCDF_DIMID

Syntax | Return Value | Arguments | Keywords | Examples | Version History

The NCDF_DIMID function returns the ID of a netCDF dimension, given the name of the dimension.

Syntax

Result = NCDF_DIMID( Cdfid, DimName )

Return Value

Return the dimension ID or -1 if the dimension does not exist.

Arguments

Cdfid

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

DimName

A scalar string containing the dimension name.

Keywords

None

Examples

See NCDF_VARPUT.

Version History

Pre 4.0

Introduced