<div>Thanks a lot for your detailed reply. My problem has been resolved&nbsp; by seeting the resources of mpProjection and other related resources such as mpLambertParallel1F et.al. &nbsp;to plot the TRMM data on a map which have the same projection of WRF output data. There is no need to use any funtions to regrid the TRMM data. Sorry for not expressing my problem well, but thank you very much all the same! </div><div>&nbsp;</div><div>Best regards!</div><div>&nbsp;</div><div>Yi Lu</div><div>&nbsp;</div><div><sign signid="98"><div style="color: rgb(144, 144, 144); font-family: Arial Narrow; font-size: 12px;"><br><br><br><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px;"><div style="overflow: hidden;"><table class="preview_table"><tbody><tr><td valign="middle"><img id="preview_qrcode" src="https://exmail.qq.com/cgi-bin/setting_qrcode_card?action=qrcode_card&amp;alias=dg1225033@smail.nju.edu.cn&amp;key=33b1e5708e6a55b5"></td><td valign="middle" style="color: rgb(160, 160, 160); font-size: 12px;"><h4 class="name" style="margin: 0px; color: rgb(0, 0, 0); line-height: 28px; font-size: 14px; font-weight: bold; -ms-zoom: 1;">易路</h4><p class="department" style="margin: 0px;">南大邮件系统/学生/博士生/12级博士生</p><p class="addr" style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;">南京市汉口路22号&nbsp;</p></td></tr></tbody></table></div></div></sign></div><div>&nbsp;</div><div><includetail><div>&nbsp;</div><div>&nbsp;</div><div style="color: rgb(0, 0, 0);"><div style="padding: 2px 0px; font-family: Arial Narrow; font-size: 12px;">------------------&nbsp;Original&nbsp;------------------</div><div style="background: rgb(239, 239, 239); padding: 8px; font-size: 12px;"><div id="menu_sender"><b>From: </b>&nbsp;"Dennis Shea"&lt;shea@ucar.edu&gt;;</div><div><b>Date: </b>&nbsp;Fri, Aug 19, 2016 02:10 AM</div><div><b>To: </b>&nbsp;"易路"&lt;dg1225033@smail.nju.edu.cn&gt;; <wbr></div><div></div><div><b>Subject: </b>&nbsp;Re: [ncl-talk] How to change the data on a rectilinear lat/lon gridto a curvilinear grid whithout changing its original resolution</div></div><div>&nbsp;</div><div dir="ltr"><div><div><div><div><div><span>Not sure what is meant by:<br>"</span><span>So I doubt whether there is any other functions to  change the TRMM&nbsp;data
 on a&nbsp; rectilinear lat/lon grid to a curvilinear grid without changing 
its original resolution?"<br><br></span></div><div><span>Short answer: There are no 'other functions.'<br>=====<br></span></div><div><span><br>In physical space on a sphere, each degree of latitude is approximately 111 km. The longitudes change as a function of the cosine(latitude). EG: at 40 degrees of latitude the longitudinal spacing is about 85km.<br><br></span></div><span>So ... a 0.25 grid at the equator is 0.25*111=27.75km while at 40 {S/N} latitude, it is 0.25*85=21.25km<br><br>===<br></span></div><span>Typically, a WRF file has two global attributes which specify the grid resolution, eg:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DX : 10000&nbsp;&nbsp;&nbsp; (meters)&nbsp;&nbsp; 10KM<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DY : 10000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>===<br></span></div><span>So, in the example, the 0.25 lat/lon grid contains information on a much coarser grid the the WRF grid. <br><br></span></div><span>Interpolating the coarser TRMM grid to the same lat/lon coordinates of the WRF file will contain no *additional* information. <br><br></span></div><span>Not sure if this answers your question.<br></span><div><div><div><span>&nbsp;&nbsp;&nbsp;&nbsp; <br></span><div><span><br>---<br><br></span><div><span><br><br></span></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 18, 2016 at 2:55 AM, 易路 <span dir="ltr">&lt;<a href="mailto:dg1225033@smail.nju.edu.cn" target="_blank">dg1225033@smail.nju.edu.cn</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><div>Hi all, </div><div>&nbsp; I would like to plot the TRMM 3B42 precipitation data&nbsp;(0.25 degree) on a map with the "Lambert Comformal" projection, so as to keep the same projection with the WRF output data. But when I used the funtions like rgrid2rcm or esmf_regrid, the resolution of the TRMM data changed from the original 0.25 degree to the resolution of WRF output data.</div><div>&nbsp; So I doubt whether there is any other functions to  change the TRMM&nbsp;data on a&nbsp; rectilinear lat/lon grid to a curvilinear grid whithout changing its original resolution?</div><div>&nbsp;</div><div>Thanks a lot!</div><div>Best regards!</div><div><u></u><div style="color: rgb(144, 144, 144); font-family: Arial Narrow; font-size: 12px;"><br><br><br><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px;"><div style="overflow: hidden;"><table><tbody><tr><td valign="middle"><img src="https://exmail.qq.com/cgi-bin/setting_qrcode_card?action=qrcode_card&amp;alias=dg1225033@smail.nju.edu.cn&amp;key=33b1e5708e6a55b5"></td><td valign="middle" style="color: rgb(160, 160, 160); font-size: 12px;"><h4 style="margin: 0px; color: rgb(0, 0, 0); line-height: 28px; font-size: 14px; font-weight: bold;">易路</h4><p style="margin: 0px;">南大邮件系统/学生/博士生/12级博士生</p><p style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;">南京市汉口路22号&nbsp;</p></td></tr></tbody></table></div></div><u></u></div><div>&nbsp;</div><div><u></u><u></u></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" target="_blank" rel="noreferrer">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>

</div><!--<![endif]--></includetail></div>