login

qgr2w.gsf

Top / GrADS / script / qgr2w.gsf

Japanese / English

Name

qgr2w() - Convert from grid coordinate in the data to world coordinate on the drawing display.

Synopsis

ret = qgr2w( gx, gy )

Options and Return values

gx, gy
Grid coordinate in the data.
ret
World coordinate.

Examples

(1) Obtain longitude/latitude at X=1, Y=1.

  • test.gs
    'reinit'
    rc = gsfallow( 'on' )
    'open t'
    'd t'
    say qgr2w( 1, 1 )
    
  • console
    ga-> test
    0 -90
    

Script source code