|
Scientific Data Formats: HDF-EOS |
|
This function reads data from a data field for the specified pixels. It is the pixel subsetting equivalent of EOS_GD_EXTRACTREGION. All entries along the non-geographic dimensions (i.e., NOT XDim and YDim) are returned.
Result = EOS_GD_GETPIXVALUES(gridID, nPixels, pixCol, pixRow, fieldname, buffer)
Returns size of data buffer if successful and FAIL(–1) otherwise.
Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH
Number of pixels (long).
Pixel Columns (long array).
Pixel Rows (long array).
Field (string) from which to extract data values.
A named variable that will contain data values.
None
To read values from the Spectra field with dimensions, Bands, YDim, and XDim: