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

# GRIB_NEW_FROM_FILE

The GRIB_NEW_FROM_FILE function returns a GRIB handle from a file ID.

## Examples

See GRIB_GET_VALUES for a general example using the GRIB routines.

## Syntax

Result = GRIB_NEW_FROM_FILE(Fid)

## Return Value

Returns a GRIB handle.

## Arguments

### Fid

The file ID returned by GRIB_OPEN.

## Version History

8.1 | Introduced

## See Also

GRIB_OPEN, GRIB_RELEASE