GRIB_INDEX_GET_SIZE

The GRIB_INDEX_GET_SIZE function returns the number of distinct values of the Key contained in Gindex. Key must belong to Gindex.

Examples

See GRIB_GET_VALUES for a general example using the GRIB routines.

Syntax

Result = GRIB_INDEX_GET_SIZE(Gindex, Key)

Return Value

Returns the number of distinct values in Gindex. 

Arguments

Gindex

A GRIB index created from a file. The index must have been created with Key.

Key

A case-sensitive string containing the key name whose number of values is to be determined.

Version History

8.1

Introduced