<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Dennis</p>
<p><br>
</p>
<p>Thanks a lot! &nbsp;Yes,&nbsp;<span style="font-size: 12pt;">ESMF_regrid is much quicker.&nbsp;</span></p>
<p><span style="font-size: 12pt;">It mostly worked for me except negative values generated,&nbsp;</span></p>
<p><span style="font-size: 12pt;">see my original data shown at&nbsp;<a href="http://www.caps.ou.edu/micronet/CO2_and_otherGHG/WRFV3.8.1/YSU/wrfchem3.8.1_NARR_CONUS_nudge2_tracer16_Comet.2011080600/wrfout_d01_E_CO2_EDGAR_2.png" class="OWAAutoLink" id="LPlnk665667" previewremoved="true">http://www.caps.ou.edu/micronet/CO2_and_otherGHG/WRFV3.8.1/YSU/wrfchem3.8.1_NARR_CONUS_nudge2_tracer16_Comet.2011080600/wrfout_d01_E_CO2_EDGAR_2.png</a></p>
<p></p>
</span>
<p></p>
<p>and the interpolated data shown&nbsp;</p>
<p>at&nbsp;<a href="http://www.caps.ou.edu/micronet/CO2_and_otherGHG/WRFV3.8.1/YSU/wrfchem3.8.1_NARR_CONUS_nudge2_tracer16_Comet.2011080600/wrfout_d01_E_CO2_0.png" class="OWAAutoLink" id="LPlnk631021" previewremoved="true">http://www.caps.ou.edu/micronet/CO2_and_otherGHG/WRFV3.8.1/YSU/wrfchem3.8.1_NARR_CONUS_nudge2_tracer16_Comet.2011080600/wrfout_d01_E_CO2_0.png</a></p>
<p></p>
<p></p>
<p>You may notice in the right-lower corner the contour information shows Min=-20.745</p>
<p><br>
</p>
<p>Any suggestion to improve this?&nbsp;</p>
<p>My interpolation&nbsp;script at&nbsp;<a href="http://www.caps.ou.edu/micronet/CO2_and_otherGHG/WRFV3.8.1/YSU/wrfchem3.8.1_NARR_CONUS_nudge2_tracer16_Comet.2011080600/Interp_edgar42_to_wrfchemi_NEI.ncl" class="OWAAutoLink" id="LPlnk775268" previewremoved="true">http://www.caps.ou.edu/micronet/CO2_and_otherGHG/WRFV3.8.1/YSU/wrfchem3.8.1_NARR_CONUS_nudge2_tracer16_Comet.2011080600/Interp_edgar42_to_wrfchemi_NEI.ncl</a></p>
<p><br>
</p>
<p>Thanks a lot!</p>
<p>Xiaoming&nbsp;</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Dennis Shea &lt;shea@ucar.edu&gt;<br>
<b>Sent:</b> Tuesday, March 28, 2017 11:39:23 AM<br>
<b>To:</b> xiaoming Hu<br>
<b>Cc:</b> ncl-talk@ucar.edu<br>
<b>Subject:</b> Re: [ncl-talk] rgrid2rcm too slow?</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>rgrid2rcm can be slow.<br>
<br>
</div>
Use ESMF: there are exam<br>
<a href="http://www.ncl.ucar.edu/Applications/ESMF.shtml">http://www.ncl.ucar.edu/Applications/ESMF.shtml</a><br>
<br>
</div>
There are numerous examples of&nbsp; going&nbsp; from rectilinear ('rgrid') to curvilinear ('rcm')<br>
</div>
Examples 9, 15, 28-30, 32, 33,<br>
<br>
</div>
HTH<br>
<div>
<div>&nbsp;<br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Mar 28, 2017 at 9:30 AM, xiaoming Hu <span dir="ltr">
&lt;<a href="mailto:yuanfangcan@hotmail.com" target="_blank">yuanfangcan@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_758473393344624224divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>I am doing <br>
</p>
<p>&quot;</p>
<div>dummy1&nbsp;&nbsp;&nbsp;&nbsp; = rgrid2rcm (elat, elon, emi_co2, lat2d, lon2d, 0)<br>
</div>
&quot;
<p></p>
<p>where lat2d and lon2d have a dimension of 442x265</p>
<p><br>
</p>
<p>The script appears to take forever. <br>
</p>
<p><br>
</p>
<p>Any other ways to do a faster interpolation? <br>
</p>
<p><br>
</p>
<p>Thanks a lot!</p>
<span class="HOEnZb"><font color="#888888">
<p>Xiaoming <br>
</p>
</font></span></div>
</div>
<br>
______________________________<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>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>