[gradsusr] ll2xy function in batch mode

Jennifer M Adams jadams21 at gmu.edu
Wed Mar 22 18:37:44 EDT 2017


Hi, Kathryn —
I am not able to duplicate this problem. he script fragment you have shown doesn’t include any ’say’ commands, so what exactly are you trying to get it to return?
—Jennifer


On Mar 17, 2017, at 12:19 PM, Kathryn Sellwood - NOAA Affiliate <kathryn.sellwood at noaa.gov<mailto:kathryn.sellwood at noaa.gov>> wrote:

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!
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170322/feebcb38/attachment.html 


More information about the gradsusr mailing list