The EOS_SW_QUERY function returns information about a specified swath.

Syntax


Result=EOS_SW_QUERY(Filename, SwathName, [Info])

Return Value


This function returns an integer value of 1 if the file is an HDF file with EOS SWATH extensions, and 0 otherwise.

Arguments


Filename

A string containing the name of the file to be queried.

SwathName

A string containing the name of the swath to be queried.

Info

Returns an anonymous structure containing information about the specified swath. The returned structure contains the following fields:

Field

IDL data type

Description

ATTRIBUTES

String

Comma-delimited string containing the names of attributes

DIMENSION_NAMES

String

Comma-delimited string containing the names of dimensions

DIMENSION_SIZES

Long array

Sizes of dimensions

FIELD_NAMES

String

Comma-delimited string containing the names of fields

FIELD_RANKS

Long array

Ranks (dimensions) of fields

FIELD_TYPES

Long array

IDL types of fields

GEO_FIELD_NAMES

String

Comma-delimited string containing the names of geolocation fields

GEO_FIELD_RANKS

Long array

Ranks (dimensions) of geolocation fields

GEO_FIELD_TYPES

Long array

IDL types of geolocation fields

IDX_MAP_NAMES

String

Comma-delimited string containing the names of index maps

IDX_MAP_SIZES

Long array

Sizes of index map arrays

NUM_ATTRIBUTES

Long

Number of attributes

NUM_DIMS

Long

Number of dimensions

NUM_FIELDS

Long

Number of fields

NUM_GEO_FIELDS

Long

Number of geolocation fields

NUM_IDX_MAPS

Long

Number of indexed dimension mapping entries

NUM_MAPS

Long

Number of mapping entries

MAP_INCREMENTS

Long array

Increment of each geolocation relation

MAP_NAMES

String

Comma-delimited string containing the names of maps

MAP_OFFSETS

Long array

Offset of each geolocation relation

Keywords


None

Version History


5.3

Introduced