[ncl-talk] is there a function similar with bin_sum?

Yun Yue yunyue at huskers.unl.edu
Tue Mar 29 16:35:31 MDT 2016


Hi NCL users,

I want to read many MODIS files. For each satellite pixel, find the nearest WRF grid based on lat, lon information (used function ind here to reduce the calculation time), then assign the MODIS data to this WRF grid.


I found that using loop in NCL to calculate each satellite pixel's distance to the WRF grid is very slow.


One way I'm thinking to solve this is to use FORTRAN in the NCL to do the loop part.


I also found NCL has a function bin_sum to calculate binned sums and counts on a rectilinear grid which is very fast. Is there a similar function in NCL like bin_sum but for curvilinear grid?


Thanks very much,

Yun


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160329/f3ace35f/attachment.html 


More information about the ncl-talk mailing list