This function returns the number of rows, columns and the location, in meters, of the upper left and lower right corners of the grid image.

Examples


In this example, we retrieve information from a previously created grid with a call to EOS_GD_ATTACH:

status = EOS_GD_GRIDINFO(gridID, xdimsize, ydimsize, $
   upleft, lowrgt)

Syntax


Result = EOS_GD_GRIDINFO(gridID, xdimsize, ydimsize, upleft, lowright)

Return Value


Returns SUCCEED(0) if successful and FAIL(–1) otherwise.

Arguments


gridID

Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.

xdimsize

A named variable that will contain the number of columns in grid (long).

ydimsize

A named variable that will contain the number of rows in grid (long).

upleft

A named variable that will contain the location (double, 2 element array; in meters) of upper left corner.

lowright

A named variable that will contain the location (double, 2 element array; in meters) of lower right corner.

Keywords


None

Version History


5.2

Introduced