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.
To read values from the Spectra field with dimensions, Bands, YDim, and XDim:
bufsiz = EOS_GD_GETPIXVALUES(gridID, 2, rowArr, colArr, $
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.