login

x2lon.gsf

Top / GrADS / script / x2lon.gsf

Japanese / English

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