EOS_QUERY

Syntax | Return Value | Arguments | Version History

The EOS_QUERY function returns information about the makeup of an HDF-EOS file.

Syntax

Result = EOS_QUERY( Filename, [Info] )

Return Value

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

Arguments

Filename

A scalar string containing the name of the file to query.

Info

Returns an anonymous structure containing information about the contents of the file. The returned structure contains the following fields:

Table 5-3: Fields of the Info Structure

Field
IDL Data Type
Description

GRID_NAMES

String array

Names of grids

NUM_GRIDS

Long

Number of grids in file

NUM_POINTS

Long

Number of points in file

NUM_SWATHS

Long

Number of swaths in file

POINT_NAMES

String array

Names of points

SWATH_NAMES

String array

Names of swaths

Version History

5.3

Introduced