x2lon.gsf
Name
x2lon() - Convert longitudinal grid number (x) to longitudinal level (lon).
Synopsis
ret = x2lon( x )
Options and Return values
- x
- Longitudinal grid number.
- ret
- Longitudinal level (lon).
Examples
(1) Obtain latitude for y=30.
-
test.gs
rc = gsfallow( 'on' ) 'open t.ctl' say x2lon( 15 )
-
console
ga-> test 35
Script source code
- x2lon.gsf (necessary)