<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Ronald,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Rick is right that wrf_map_resources is the issue.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The sole purpose of wrf_map_resources is to look at your WRF file and set all the necessary mpXXXX resources needed to plot the data on the *original* WRF map projection defined on the file. It assumes you are plotting the full WRF data, unless you set the special "ZoomIn" attribute along with the Xstart / Xend / Ystart / Yend attributes. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">For examples on how to zoom in on WRF data, see:</div><div class="gmail_default"><br></div><div class="gmail_default"><div class="gmail_default" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><a href="http://www.ncl.ucar.edu/Applications/wrfzoom.shtml">http://www.ncl.ucar.edu/Applications/wrfzoom.shtml</a><br></div></div><div class="gmail_default"><br></div><div class="gmail_default">In particular, if you want to zoom in on the data using a min/max lat/lon value like you were doing with the script you attached, then look at example wrf_zoom_3.ncl which shows how to do this. You cannot use wrf_map_resources in this case. The example explains more about this.</div><div class="gmail_default"><br></div><div class="gmail_default">If you want to use the WRF map projection defined on the file, but zoom in on it, then see example wrf_zoom_1.ncl on the above page.</div><div class="gmail_default"><br></div><div class="gmail_default">Good luck,<br></div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 22, 2018 at 9:41 AM, Rick Brownrigg <span dir="ltr"><<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</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"><div><div><div>Hi Ronald,<br><br></div>This is sheer speculation on my part, but it may be that the call to wrf_map_resources() is resetting the mpMin/Max/Lat/Lon resources to the full extent of the file. You might try printing "res" after the call to the function to verify, and if this is the case, the fix obviously is to move the lines setting the extent you want to after the call.<br><br></div>Hope that helps...<br></div>Rick<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Feb 22, 2018 at 9:27 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="h5"><div dir="ltr">Hello colleagues. <div><br></div><div>I am trying to zoom in a WRF plot to look like a TRMM rainfall plot that I have but its failing. How can I solve this problem.</div><div><br></div><div>Here is my script plus the two plots and the TRMM file. I have not attached the WRF file because its a bit heavy.</div><div><br></div><div><br></div></div>
<br></div></div>______________________________<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></blockquote></div><br></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>