<div dir="ltr"><div><div><div><div><div>As suggested by Andrew, the ESMF approach is the way to go.<br><br></div>[1] Save the weight file. Note: generating the weight file may be slow but it is done once.<br></div>[2] Regrid using the weight file generated in [1]. This should be VERY FAST! It is basically a sparse matrix multiply.<br>     <a href="http://www.ncl.ucar.edu/Document/Functions/ESMF/ESMF_regrid_with_weights.shtml">http://www.ncl.ucar.edu/Document/Functions/ESMF/ESMF_regrid_with_weights.shtml</a><br></div>[3] See<br><br><a href="http://www.ncl.ucar.edu/Applications/ESMF.shtml">http://www.ncl.ucar.edu/Applications/ESMF.shtml</a><br></div>EXample 4 + numerous others.<br><br></div>Good luck<br><br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 1, 2016 at 2:17 PM, debasish mazumder <span dir="ltr">&lt;<a href="mailto:debasish@ucar.edu" target="_blank">debasish@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I tried with ESMF regridding but it is still slow. Any other suggestion?<br>
-Deb<br>
<span class=""><br>
On 12/1/16 1:14 PM, Andrew Kren - NOAA Affiliate wrote:<br>
&gt; I would try to use the NCL ESMF regridding tools, much faster and more<br>
&gt; options<br>
&gt;<br>
&gt; On Thu, Dec 1, 2016 at 1:12 PM, debasish mazumder &lt;<a href="mailto:debasish@ucar.edu">debasish@ucar.edu</a><br>
</span><span class="">&gt; &lt;mailto:<a href="mailto:debasish@ucar.edu">debasish@ucar.edu</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi All,<br>
&gt;<br>
&gt;     I am trying to interpolates data on a curvilinear grid to to a<br>
&gt;     rectilinear grid using rcm2rgrid.<br>
&gt;     Input data dimension is tmax(time = 12 months, y = 8075, x = 7814) and<br>
&gt;     lat2d(y = 8075, x = 7814), lon2d(y = 8075, x = 7814)<br>
&gt;<br>
&gt;     output lat(192) and lon(288)<br>
&gt;<br>
&gt;     tmaxi  = rcm2rgrid(lat2d,lon2d,tmax,<wbr>lat,lon,0)<br>
&gt;<br>
&gt;     It took forever to perform the interpolation. Is there any faster way do<br>
&gt;     that.<br>
&gt;<br>
&gt;     with regards<br>
&gt;     -Deb<br>
&gt;     ______________________________<wbr>_________________<br>
&gt;     ncl-talk mailing list<br>
</span>&gt;     <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a> &lt;mailto:<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>&gt;<br>
<span class="">&gt;     List instructions, subscriber options, unsubscribe:<br>
&gt;     <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
&gt;     &lt;<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Andrew Kren, PhD<br>
&gt; Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
&gt; NOAA ESRL Global Systems Division (Rm 3C515)<br>
&gt; 325 Broadway, Boulder, CO 80305<br>
</span>&gt; <a href="tel:%28303%29%20497-5418" value="+13034975418">(303) 497-5418</a> &lt;tel:%28303%29%20497-5418&gt;<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
</div></div></blockquote></div><br></div>