The GRIB_GET_SIZE function returns the number of coded values from a key. If several keys of the same name are present, the total sum is returned.

Examples


See GRIB_GET_VALUES for a general example using the GRIB routines.

Syntax


Result = GRIB_GET_SIZE( Ghandle, Key)

Return Value


Returns the number of coded values from a key. If several keys of the same name are present, the total sum is returned.

Arguments


Ghandle

A GRIB handle.

Key

A case-sensitive string containing the desired key name.

Version History


8.1

Introduced

See Also


GRIB_GET