Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / IDL Reference / I/O - GRIB / GRIB_INDEX_NEW_FROM_FILE

GRIB_INDEX_NEW_FROM_FILE

GRIB_INDEX_NEW_FROM_FILE

The GRIB_INDEX_NEW_FROM_FILE function creates a new index from a file. The file is indexed with Keys.

Examples


See GRIB_GET_VALUES for a general example using the GRIB routines.

Syntax


Result = GRIB_INDEX_NEW_FROM_FILE( Filename, Keys)

Return Value


Returns a GRIB file index.

Arguments


Filename

A string giving the name of the message file to be indexed.

Keys

A string array of keys for the index. For example, 'totalLength:d, editionNumber:l, centre:d'. The key type can be explicitly declared by appending ':l' for LONG, ':d' for DOUBLE, and ':s' for STRING to the key name. If the type is not declared explicitly, the native type is assumed.

Version History


8.1

Introduced

See Also


GRIB_INDEX_RELEASE



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us