This function retrieves the GCTP projection code, zone code, spheroid code and the projection parameters of the grid. For GCTP projection information, see the HDF-EOS User’s Guide, Volume 2: Reference Guide provided by NASA.

Syntax


Result = EOS_GD_PROJINFO(gridID, projcode, zonecode, spherecode, projparm)

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.

projcode

A named variable that will contain the GCTP projection code (long).

zonecode

A named variable that will contain the GCTP zone code used by UTM projection (long).

spherecode

A named variable that will contain the GCTP spheroid code (long).

projparm

A named variable that will contain the GCTP projection parameter array (double).

Keywords


None

Version History


5.2

Introduced