[ncl-talk] Find the nearest 9 points of a station

Yun Yue yunyue at huskers.unl.edu
Mon May 11 13:05:18 MDT 2015


Hi  NCL users,

Say I have a station's lat and lon, I also have MODIS data. In order to find the nearest 9 pixels' index to this station, I could calculate distance between every pixel and the station, then find the nearest 9 pixels.

Is there any NCL function to find 9 pixels' index in a faster way?

Thank you very much.

Yun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150511/8c24e910/attachment.html 


More information about the ncl-talk mailing list