<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Laura,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Yes, you want to set:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">opt@SrcRegional = True</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">and/or</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">opt@DstRegional = True</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">if your source and/or destination grids are regional. I think all this does internally is not treat the longitudes as going all the way from 0 to 360.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Depending on how you are doing things, you can also use DstLLCorner / DstURCorner to further limit the area that the regridding occurs in.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">For example, if you are regridding source data that falls only over the tropical regions, but you tell it to regrid to a 1 degree grid, then the regridder is going to regrid to a *global* 1 degree grid by default. This could take needless extra time, because it will try to regrid to areas where you may not have data.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">To restrict the area of the 1 degree grid, you can set DstLLCorner / DstURCorner to something like:</div><div class="gmail_default" style="font-size:small">
<p class="gmail-p1"><font face="monospace, monospace">Opt@DstLLCorner <span class="gmail-Apple-converted-space"> </span>= (/ -30., <span class="gmail-Apple-converted-space"> </span>0.25d/)<br>Opt@DstURCorner <span class="gmail-Apple-converted-space"> </span>= (/ 30., 359.75d/)</font></p><p class="gmail-p1"><span class="gmail-s1">--Mary</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 13, 2017 at 11:47 AM, Laura Fowler <span dir="ltr"><<a href="mailto:laura@ucar.edu" target="_blank">laura@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello:<br>
<br>
I would to regrid data that are originally on an MPAS unstructured<br>
mesh but limited to the tropical channel. Longitudes span between 0<br>
and 360 degrees, but Latitudes span between 21S and 21N. I would like<br>
to regrid the data on a 0.1 deg x 0.1 deg rectangular mesh.<br>
<br>
<br>
I have use ESMF_regrid extensively to regrid MPAS data using the<br>
"global" unstructured mesh but not using a "regional" unstructured<br>
mesh. Is it possible to do this using ESMF_regrid? Do I need to use<br>
SrcRegional and DstRegional since the source, destination, and weight<br>
files will not be created from global data?<br>
<br>
<br>
Thanks,<br>
Laura<br>
<br>
<br>
<br>
<br>
--<br>
!-----------------------------<wbr>------------------------------<wbr>------------------------------<wbr>--------------------<br>
Laura D. Fowler<br>
Mesoscale and Microscale Meteorology Division (MMM)<br>
National Center for Atmospheric Research<br>
P.O. Box 3000, Boulder CO 80307-3000<br>
<br>
e-mail: <a href="mailto:laura@ucar.edu">laura@ucar.edu</a><br>
phone: <a href="tel:303-497-1628" value="+13034971628">303-497-1628</a><br>
<br>
!-----------------------------<wbr>------------------------------<wbr>------------------------------<wbr>--------------------<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>
</blockquote></div><br></div>