[gradsusr] ll2xy function in batch mode

Kathryn Sellwood - NOAA Affiliate kathryn.sellwood at noaa.gov
Fri Mar 17 12:19:07 EDT 2017


Hi GRADS peeps ... Anyone know a work around for this?
in my script I have the lines

'query ll2xy 'lon1' 'lat1
locs=sublin(result,1)
rloc=subwrd(locs,1)

If I have a GRADS window open and call my script it returns the correct xy
location corresponding to the lon and lat.

If I call the script in batch mode it simply returns the lon and lat that I
entered.

Any ideas anyone?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170317/16eedd3f/attachment.html 


More information about the gradsusr mailing list