[ncl-talk] Question on regridding PATMOS-x data
Mary Haley
haley at ucar.edu
Fri Mar 2 15:48:06 MST 2018
Dear Xinyue,
The "ESMF_regrid_gen_weights: could not find ESMF_RegridWeightGen
executable."
error indicates that for some reason, it is not seeing the
"ESMF_RegridWeightGen" executable in $NCARG_ROOT/bin.
There could be a few reasons for this; here are two:
1. $NCARG_ROOT/bin is not part of your PATH environment variable
2. $NCARG_ROOT/bin/ESMF_RegridWeightGen doesn't have execute permissions
You mentioned that the regridding script worked with other data files. When
you ran the script that doesn't work, are you by any chance running it on a
different system or under a different environment somehow?
Before you run the "bad" script, can you type the following to see if it
gives you any insight to the problem:
which ncl
ncl -V
env | grep NCARG
which ESMF_RegridWeightGen
ls -l $NCARG_ROOT/bin/ESMF_RegridWeightGen
You can email the input from the above command back to ncl-talk and I'll
have a look.
Thanks,
--Mary
On Thu, Mar 1, 2018 at 8:56 AM, Wang Xinyue <wang.xinyue.q6 at dc.tohoku.ac.jp>
wrote:
> Hi there,
>
> I would like to regrid the original PATMOS-x data (1800,3600), which has
> 0.1*0.1 resolution, to lower resolution 1*1.
> However, after trying several example scripts in Regridding and ESMF
> Regridding, I still cannot get the result I want, although these command
> lines seem to work well on other climate datasets like CERES (180,360).
>
> When using ESMF_regrid function (The script is in the attachment), I got
> the error message like this:
>
> (0) ESMF_regrid_gen_weights: could not find ESMF_RegridWeightGen
> executable.
>
> Then I checked with: ls $NCARG_ROOT/bin/ESMF_RegridWeightGen, and found
> it correctly installed. So what could be causing that error?
>
>
> When I try the example script regrid_1.ncl
> <https://www.ncl.ucar.edu/Applications/Scripts/regrid_1.ncl> with *linint2
> <https://www.ncl.ucar.edu/Document/Functions/Built-in/linint2.shtml>* function
> in https://www.ncl.ucar.edu/Applications/regrid.shtml, there is no error
> message, but the output data is weird and cannot be plotted.
>
> The version of NCL is 6.4.0, running in Mac OS.
>
> Any one met with the same problem when regridding PATMOS-x data? And how
> did you solve it? Any help would be appreciated.
>
>
> Thanks,
> Xinyue
>
>
>
>
>
> _______________________________________________
> 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/20180302/db695b76/attachment.html>
More information about the ncl-talk
mailing list