The GRIB_COUNT function returns the number of messages in the file.

Examples


See GRIB_GET_VALUES for a general example using the GRIB routines.

Syntax


Result = GRIB_COUNT(Filename)

Return Value


Returns the number of messages in the file.

Arguments


Filename

The name of the file to be searched.

Version History


8.1

Introduced

See Also


GRIB_GET_MESSAGE_SIZE