Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_GD_GETFILLVALUE

# EOS_GD_GETFILLVALUE

This function retrieves the fill value for the specified field.

## Examples

In this example, we get the fill value for the “Temperature” field:

status = EOS_GD_GETFILLVALUE(gridID, "Temperature", tempfill)

## Syntax

Result = EOS_GD_GETFILLVALUE(gridID, fieldname, fillvalue)

## Return Value

Returns SUCCEED(0) if successful and FAIL(–1) otherwise.

## Arguments

### gridID

Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.

### fieldname

Fieldname (string).

### fillvalue

A named variable that will contain the fill value.

## Keywords

None

## Version History

5.2 | Introduced