This function retrieves information on a specific data field.

Examples


In this example, we retrieve information about the Spectra data fields:

status = EOS_GD_FIELDINFO(gridID, "Spectra", rank, dims,$
   numbertype, dimlist)

Syntax


Result = EOS_GD_FIELDINFO(gridID, fieldname, rank, dims, numbertype, dimlist)

Return Value


Returns SUCCEED(0) if successful and FAIL(–1) if the specified field does not exist.

Arguments


gridID

Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.

fieldname

Fieldname (string).

rank

A named variable that will contain the pointer to rank (long) of the field.

dims

A named variable that will contain an array (long) of the dimension sizes of the field.

numbertype

A named variable that will contain the HDF data type (long) of the field.

dimlist

A named variable that will contain the dimension list (string).

Keywords


None

Version History


5.2

Introduced