This function retrieves the size of the specified dimension.

Examples


In this example, we retrieve information about the dimension, “Bands”:

dimsize = EOS_GD_DIMINFO(gridID, "Bands")

Syntax


Result = EOS_GD_DIMINFO(gridID, dimname)

Return Value


Size of dimension. If FAIL(–1), could signify an improper grid id or dimension name.

Arguments


gridID

Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.

dimname

Dimension name (string)

Keywords


None

Version History


5.2

Introduced