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

# GRIB_GET_DOUBLE_ELEMENTS

The GRIB_GET_DOUBLE_ELEMENTS function gets (as a DOUBLE array) the elements of the key whose indexes are listed in the input array index.

## Examples

See GRIB_GET_VALUES for a general example using the GRIB routines.

## Syntax

Result = GRIB_GET_DOUBLE_ELEMENTS(Ghandle, Key, Index)

## Return Value

Returns (as a DOUBLE array) the elements of the key whose indexes are listed in the input array index.

## Arguments

### Ghandle

A GRIB handle.

### Key

A case-sensitive string containing the desired key name.

### Index

Zero-based array of indexes.

## Version History

8.1 | Introduced

## See Also

GRIB_GET_VALUES , GRIB_GET_ARRAY