Routines (alphabetical) > Routines: G > GRIB Routines > GRIB_GET_ARRAY

GRIB_GET_ARRAY

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.

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.

Examples

See GRIB_GET_VALUESfor a general example using the GRIB routines.

Version History

8.1

Introduced

See Also

GRIB_GET_VALUES, GRIB_GET_NATIVE_TYPE, GRIB_GET_DOUBLE_ELEMENTS