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

Note: See STRSPLIT to separate the grid list.

Examples


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

ngrid = EOS_GD_INQGRID("HDFEOS.hdf", gridlist)

Syntax


Result = EOS_GD_INQGRID( filename, gridlist [, LENGTH=variable] )

Return Value


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

Arguments


filename

HDF-EOS filename (string).

gridlist

A named variable that will contain the grid list (string) with entries separated by commas.

Keywords


LENGTH

Set this keyword to a named variable that will contain the length of the grid list as a long integer.

Version History


5.2

Introduced