[ncl-talk] wrf_ll_to_ij indices confusion

Saurabh Singh saurabhsingh123op at gmail.com
Mon Aug 3 09:42:26 MDT 2015


*NCL version : 6.1.0*

*OS: Ubuntu*

i tried running the command to convert lat/long to wrf co-ordinates







*  a   = addfile("/home/cee1/Desktop/new/wrf.nc <http://wrf.nc>","r")  res
= True  res at returnInt = False                             ; return real
values  loc  = wrf_user_ll_to_ij(a, 103.3, 1.3, res)  print("X/Y location
is: " + loc)*
i get the output as



*(0)    X/Y location is: 33.8303(1)    X/Y location is: 53.5809*
now while using this indices to extract variable i cannot understand what
to  round it up and subtract 1. can anyone suggest me the indices value to
be used.


-- 
With regards
Saurabh Kumar singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150803/ae859091/attachment.html 


More information about the ncl-talk mailing list