<div dir="ltr"><div><div><div>Hi,<br><br></div><div>I am using   <a href="https://code.zmaw.de/projects/cdo">cdo</a>  to do it following lines below<br></div><div><br>cdo  sellonlatbox,minlon,maxlon,minlat,maxlat       TRMM_file.nc     <a href="http://selected_region.nc">selected_region.nc</a>   (selection of region inside WRF simulation zone)<br><br></div>cdo griddes    <a href="http://selected_region.nc">selected_region.nc</a>   &gt;  grid_TRMM              (creation of description file)<br><br></div>cdo remapcon,grid_TRMM    WRF_input.nc      WRF_Interpolated.nc      (interpolation to TRMM grid)<br><br></div>Regards<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-08 14:58 GMT+01:00 Dennis Shea <span dir="ltr">&lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Please respond only to ncl-talk.<br><br>---<br><br>&quot;Hey but wrf and trmm grids are of differnt type. I cannot substract one from another.&quot;<br><br></div>That is why you have to interpolate ... then subtract the interpolated values.<br><br><br><div><p dir="ltr"><br></p><p dir="ltr"><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 8, 2015 at 7:56 AM, Saurabh Singh <span dir="ltr">&lt;<a href="mailto:saurabhsingh123op@gmail.com" target="_blank">saurabhsingh123op@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hey but wrf and trmm grids are of differnt type. I cannot substract one from another.</p><div><div class="h5"><div><div>
<div class="gmail_quote">On 8 Jun 2015 21:52, &quot;Dennis Shea&quot; &lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>[1] Interpolate the higher resolution grid to the lower resolution<br><br>[2] <a href="http://www.ncl.ucar.edu/Applications/ESMF.shtml" target="_blank">http://www.ncl.ucar.edu/Applications/ESMF.shtml</a><br></div>     See, for example, example 29<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 8, 2015 at 4:01 AM, Saurabh Singh <span dir="ltr">&lt;<a href="mailto:saurabhsingh123op@gmail.com" target="_blank">saurabhsingh123op@gmail.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><br></div>i have my WRF output having resolution of 50 km X 50 km whereas my TRMM file is of resolution 25 degree X 25 degree. i want to either re grid WRF output to 25 km and then substract trmm precipitation or regrid TRMM precipitation and substract is from WRF to check the bias in precipitation.<div><br></div><div>can anyone suggest which one is better and methodology to do the above in NCL ? </div><div><br></div><div>ncl version : 6.3.0</div><div>OS: UBUNTU 15.04<span><font color="#888888"><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif" size="2"><span>With regards</span><span></span></font><font style="font-family:arial,helvetica,sans-serif" size="2"><span style="color:rgb(0,0,0)"><span><br></span></span></font><font style="font-family:arial,helvetica,sans-serif" size="2"><span style="color:rgb(0,0,0)"><span>Saurabh Kumar singh</span><span></span>
</span></font><br style="color:rgb(51,204,0)"><br><font style="color:rgb(102,102,102)" size="1"> <b><i><span style="font-family:Webdings" lang="EN-GB">P</span></i></b><b><i><span style="font-family:Tahoma,sans-serif" lang="EN-GB"> : </span></i></b><b><i><span style="font-family:Arial,sans-serif" lang="EN-GB"> </span></i></b><b><i><span style="font-family:Tahoma,sans-serif" lang="EN-GB">Please consider the environment before printing this e-mail</span></i></b> </font><br style="color:rgb(102,102,102)"><br><br><br></div></div>
</font></span></div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div>
</div></div></div></div></blockquote></div><br></div>
<br>_______________________________________________<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">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>