Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / IDL Reference / I/O - EOS / EOS_GD_INQGRID

EOS_GD_INQGRID

EOS_GD_INQGRID

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



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us