[ncl-talk] how to know the nearest grid point (i, j) to a known station(lat, lon)

grace 313695096 at qq.com
Fri Aug 14 00:57:19 MDT 2015


Hi,all:      I am wondering how to print the nearest grid point (i,j) of wrfout.nc data to a station(lat,lon),such as (35.2,113.6)?
    I want to know the nearest grid point (i,j) to a known station ,what should I do?
   I  know we can get the lat,lon location of  ij location, use wrf_user_ij_to_ll,but how to get the i,j   of lat,lon location

    Do NCL have such function?
    Or do you guys have some advice?
     any information will be appreciated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150814/c19976ac/attachment.html 


More information about the ncl-talk mailing list