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

# EOS_SW_CLOSE

This function closes the HDF swath file.

## Examples

status = EOS_SW_CLOSE(fid)

## Syntax

Result = EOS_SW_CLOSE(fid)

## Return Value

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

## Arguments

### fid

Swath file id (long) returned by EOS_SW_OPEN.

## Keywords

None

## Version History

5.2 | Introduced