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

# EOS_GD_CLOSE

This function closes the HDF grid file.

## Examples

status = EOS_GD_CLOSE(fid)

## Syntax

Result = EOS_GD_CLOSE(fid)

## Return Value

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

## Arguments

### fid

Grid file id (long) returned by EOS_GD_OPEN.

## Keywords

None

## Version History

5.2 | Introduced