<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">The issue is that your data is regional. By default, ESMF_regrid assumes you have global grids.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Try setting these additional regridding options:</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"> Opt@DstRegional = True</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You may want to read this overview on regridding, especially as it pertains to precipitation:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="https://climatedataguide.ucar.edu/climate-data-tools-and-analysis/regridding-overview">https://climatedataguide.ucar.edu/climate-data-tools-and-analysis/regridding-overview</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">There are cases where you may want to use conservative ("conserve") regridding rather than bilinear.</div><div class="gmail_default"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 12, 2018 at 10:34 AM, Lintao Li <span dir="ltr"><<a href="mailto:lintaoli168@gmail.com" target="_blank">lintaoli168@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 Sir/Madam,<div><br></div><div>I am Lintao, running NCL code for regridding on Cheyenne. I first used ESMF_regrid_gen_weights (/glade/scratch/lintao/paper/<wbr>data/regrid_test/1_generate_<wbr>weight_file.ncl) to get the weights, then used ESMF_regrid_with_weights (/glade/scratch/lintao/paper/<wbr>data/regrid_test/2_regrid.ncl) to do the regrid. The outputs (/glade/scratch/<wbr>lintao/paper/data/regrid_test/<wbr>2_step_out) are almost OK. However, using ncview, I found banded area with same precip values in the output data sets. Obviously, there are some systematic errors.</div><div><br></div><div>Then I used the simpler but much slower method, ESMF_regrid (/glade/scratch/lintao/paper/<wbr>data/regrid_test/regrid_1_<wbr>step_method.ncl) to do the regrid. However, the results are even worse.</div><div><br></div><div>Can you help me to figure out what is the problem? Please feel free to go to my working directory and have a look.</div><div><br></div><div>Thank you.</div>
<div><br clear="all"><div><div dir="ltr" class="m_-6096476853761850264gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best regards,<div>Lintao</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>