Routines (alphabetical) > Routines: G > GRIB Routines > GRIB_NEW_FROM_INDEX

# GRIB_NEW_FROM_INDEX

The GRIB_NEW_FROM_INDEX function creates a new handle from an index after selecting the key values.

## Examples

See GRIB_GET_VALUES for a general example using the GRIB routines.

## Syntax

Result = GRIB_NEW_FROM_INDEX(Gindex)

## Return Value

Returns an index handle.

## Arguments

### Gindex

A GRIB index created from a file.

## Version History

8.1 | Introduced

## See Also

GRIB_INDEX_GET, GRIB_INDEX_GET_SIZE, GRIB_INDEX_NEW_FROM_FILE, GRIB_INDEX_READ, GRIB_INDEX_RELEASE , GRIB_INDEX_SELECT