<div dir="ltr"><div><div><div>regridding:   I am not sure what you mean by:<br></div>  "It runs well, however, when I check the file after, I find that the WRF file still remains with its original grid size."<br><br>=== <br></div><b>The original file is never overwritten</b>. <br></div><div><div>===<br>Suggestion:<br>    rain = r1 + r2     ; all meta data is lost<br></div><div>    rain@long_name = "Total Rain"              ; whatever<br></div><div>    rain@units = r1@units<br></div><div>    copy_VarCoords(r1, rain)<br><br>---<br>   raingrid = ESMF_regrid(rain,Opt) ; Regrid "rain" to new grid <br></div><div>   printVarSummary(raingrd)<br><br><br></div><div><br><div><div><br></div> </div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 29, 2017 at 8:14 AM, Barry Lynn <span dir="ltr"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi:<div><br></div><div>Do you mean how to make single maps, or do you mean how to turn a pdf or pngs into a gif?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 29, 2017 at 2:52 PM, Ronald Opio <span dir="ltr"><<a href="mailto:opioronald123@gmail.com" target="_blank">opioronald123@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you Barry. Let me give this a try.<div><br></div><div>Could you be having a script for animating total precipitation in this way <a href="https://www.youtube.com/watch?v=SW1rA-M6l4s" target="_blank">https://www.youtube.com/wa<wbr>tch?v=SW1rA-M6l4s</a> ? </div><div><br></div><div>If so, please share with me.</div><div><br></div><div>Sincerely,</div><div><br></div><div>Ronald.</div></div><div><div class="h5"><div class="m_-1025363590452988400HOEnZb"><div class="m_-1025363590452988400h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 29, 2017 at 2:24 PM, Barry Lynn <span dir="ltr"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Ronald:<div><br></div><div>I have used regrid to regrid to both the original WRF grid and a more sparse grid.  However, its main task is to regrid to the original grid in rectilinear coordinates (unless you tell it otherwise). </div><div><br></div><div>You can interpolate from a fine grid to a coarse grid using the programs available (e.g., <span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:"Courier New"">area_hi2lores_Wrap).</span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:"Courier New""><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"><font face="georgia, serif">Please see lines 320,386 in the program attached (that calculates frontogenesis).  In this program, I used a more sparse version of the WRF grid as the destination grid. If you are going to use a grid from a different data set, then it would be best if the new grid will be smaller than the WRF grid (so you don't interpolate zeros).</font></span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"><font face="georgia, serif"><br></font></span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"><font face="georgia, serif">Barry</font></span></div>







</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-1025363590452988400m_-728593573894645406h5">On Wed, Nov 29, 2017 at 11:16 AM, Ronald Opio <span dir="ltr"><<a href="mailto:opioronald123@gmail.com" target="_blank">opioronald123@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-1025363590452988400m_-728593573894645406h5"><div dir="ltr">Hello colleagues. <div><br></div><div>I am trying to regrid my WRF output file so as to match the gpm rainfall data set grid, however the script is not working.</div><div><br></div><div>I am using ESMF_regrid function. It runs well, however, when I check the file after, I find that the WRF file still remains with its original grid size. </div><div><br></div><div>Please help me out. What could the problem be?</div><div><br></div><div>I have attached the script herein. </div><span class="m_-1025363590452988400m_-728593573894645406m_8650070002904590694HOEnZb"><font color="#888888"><div><br></div><div><br></div><div><br></div><div>Ronald.</div></font></span></div>
<br></div></div><span>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-1025363590452988400m_-728593573894645406m_8650070002904590694gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div>
</blockquote></div><br></div>
</div></div></div></div></blockquote></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br><div class="m_-1025363590452988400gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div></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>