This function retrieves number and names of swaths defined in the HDF-EOS file. The swath list is returned as a string with each swath name separated by commas.

Note: See STRSPLIT to separate the swath list.

Examples


In this example, we retrieve information about the swaths defined in an HDF-EOS file, HDFEOS.hdf:

nswath = EOS_SW_INQSWATH("HDFEOS.hdf", swathlist)

Syntax


Result = EOS_SW_INQSWATH( filename, swathlist [, LENGTH =value] )

Return Value


Number of swaths found or (–1) if failure.

Arguments


filename

HDF-EOS filename (string).

swathlist

Swath list (string) with entries separated by commas.

Keywords


LENGTH

String length (long) of swath list.

Version History


5.2

Introduced