lon2x.gsf
Name
lon2x() - Convert longitudinal level (lon) to longitudinal grid number (x).
Synopsis
ret = lon2x( lon )
Options and Return values
- lon
- Longitudinal level.
- ret
- Longitudinal grid number (x).
Examples
(1) Obtain latitudinal grid number for 45 degree North.
-
test.gs
rc = gsfallow( 'on' ) 'open t.ctl' say lon2x( 180 )
-
console
ga-> test 73
Script source code
- lon2x.gsf (necessary)