The GRIB_INDEX_SELECT procedure selects the message subset where Key equals Value.

Examples


See GRIB_GET_VALUES for a general example using the GRIB routines.

Syntax


GRIB_INDEX_SELECT(Gindex, Key, Value, [, /DOUBLE] [, /LONG] [, /STRING])

Arguments


Gindex

A GRIB index created from a file.

Key

A case-sensitive string containing the key name to be searched.

Value

The value of the key to select.

Keywords


DOUBLE

Set this keyword if Key is explicitly defined as DOUBLE or if the Key native type is DOUBLE.

LONG

Set this keyword if Key is explicitly defined as LONG or if the Key native type is LONG.

STRING

Set this keyword if Key is explicitly defined as STRING or if the Key native type is STRING.

Version History


8.1

Introduced