|
Scientific Data Formats: HDF-EOS |
|
This function converts angles between three units: decimal degrees, radians, and packed degrees-minutes-seconds. In the degrees-minutes-seconds unit, an angle is expressed as an integral number of degrees and minutes and a float point value of seconds packed as a single double as follows: DDDMMMSSS.SS.
Result = EOS_EH_CONVANG(inAngle, code)
Returns angle in desired units.
Input angle (float).
Conversion code (long). Allowable values are:
None
To convert 27.5 degrees to packed format:
inAng = 27.5 outAng = EOS_EH_CONVANG(inAng, 3)
outAng will contain the value 27030000.00.
IDL Online Help (March 06, 2007)