HDF_SD_DIMGETID

The HDF_SD_DIMGETID function returns a dimension ID given a dataset's "SDS_ID" and a dimension number.

Calling Sequence

Result = HDF_SD_DIMGETID( SDS_ID, Dimension_Number )

Arguments

SDS_ID

An SD dataset ID as returned by HDF_SD _SELECT or HDF_SD_CREATE.

Dimension_Number

A zero-based dimension number. The dimension number must be greater than or equal to 0 and less than the maximum dimension number, or rank .

Example

For an example illustrating this routine, see the documentation for HDF_SD_DIMSET.

See Also

HDF_SD_CREATE , HDF_SD_DIMGET , HDF_SD_DIMSET , HDF_SD_SELECT