The GRIB_GET_NATIVE_TYPE function retrieves the native type of a key.

Examples


See GRIB_GET_VALUES for a general example using the GRIB routines.

Syntax


Result = GRIB_GET_NATIVE_TYPE(Ghandle, Key)

Return Value


The return values are the values corresponding to IDL data types. Possible values are:

1 BYTE
3 LONG
5 DOUBLE
7 STRING

Arguments


Ghandle

A GRIB handle.

Key

A case-sensitive string containing the desired key name.

Version History


8.1

Introduced

See Also


GRIB_GET_VALUES , GRIB_GET_ARRAY, GRIB_GET_DOUBLE_ELEMENTS