[ncl-talk] ESMF regrid issue

Mary Haley haley at ucar.edu
Mon Nov 12 12:34:23 MST 2018


The issue is that your data is regional.  By default, ESMF_regrid assumes
you have global grids.

Try setting these additional regridding options:

  Opt at SrcRegional = True
  Opt at DstRegional = True

You may want to read this overview on regridding, especially as it pertains
to precipitation:

https://climatedataguide.ucar.edu/climate-data-tools-and-analysis/regridding-overview

There are cases where you may want to use conservative ("conserve")
regridding rather than bilinear.

--Mary



On Mon, Nov 12, 2018 at 10:34 AM, Lintao Li <lintaoli168 at gmail.com> wrote:

> Dear Sir/Madam,
>
> I am Lintao, running NCL code for regridding on Cheyenne. I first used
> ESMF_regrid_gen_weights (/glade/scratch/lintao/paper/
> data/regrid_test/1_generate_weight_file.ncl) to get the weights, then
> used ESMF_regrid_with_weights (/glade/scratch/lintao/paper/data/regrid_test/2_regrid.ncl)
> to do the regrid. The outputs (/glade/scratch/
> lintao/paper/data/regrid_test/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.
>
> Then I used the simpler but much slower method, ESMF_regrid
> (/glade/scratch/lintao/paper/data/regrid_test/regrid_1_step_method.ncl)
> to do the regrid. However, the results are even worse.
>
> Can you help me to figure out what is the problem? Please feel free to go
> to my working directory and have a look.
>
> Thank you.
>
> Best regards,
> Lintao
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181112/af94e706/attachment.html>


More information about the ncl-talk mailing list