The GRIB_GET_ARRAY function gets a value array from a key. If several keys of the same name are present, the last one is returned.

Examples


See GRIB_GET_VALUES for a general example using the GRIB routines.

Syntax


Result = GRIB_GET_ARRAY(Ghandle, Key)

Return Value


Returns a value array from a key. The array is returned as the default (native) type. If several keys of the same name are present, the last one is returned.

Arguments


Ghandle

A GRIB handle.

Key

A case-sensitive string key to be searched.

Version History


8.1

Introduced

See Also


GRIB_GET_VALUES, GRIB_GET_NATIVE_TYPE, GRIB_GET_DOUBLE_ELEMENTS