[ncl-talk] ESMF regridding error? "Variable (opt) is undefined in line 1613 of ESMF-regridding.ncl

Kuipers Munneke, P. (Peter) P.KuipersMunneke at uu.nl
Tue Feb 13 08:20:28 MST 2018


Dear all,

As a regular NCL user, I stumbled upon an issue with the ESMF regridding software, which I have just started to use. I suspect that the Attached you find the cleanest version of the code that reproduces the error, in make_topogrid_debug.ncl. The structure of the code is an exact replica of https://www.ncl.ucar.edu/Applications/Scripts/ESMF_regrid_16.ncl.

The undefined variable “opt” is not the “opt” in the make_topogrid_debug.ncl file. If I rename it to something else, the error message continues to mention the “Opt” variable instead of the renamed one. This makes me suspect that the error is generated in ESMF_regridding.ncl itself.

I would be very grateful for your help.

With best regards,
Peter

============


- NCL version 6.4.0

- Data files are available at http://www.staff.science.uu.nl/~kuipe117/ncl_debug

- The exact error message is

fatal:Variable (Opt) is undefined
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 1613 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl

fatal:["Execute.c":8640]:Execute: Error occurred at or near line 3912 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl

fatal:["Execute.c":8640]:Execute: Error occurred at or near line 4042 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl

fatal:["Execute.c":8640]:Execute: Error occurred at or near line 51 in file make_topogrid_debug.ncl

- The system is Mac OS High Sierra 10.13.3

uname -a gives:

Darwin mbpkuipsmunneke.soliscom.uu.nl 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64

gcc —version gives:

Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180213/e01bd8e5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make_topogrid_debug.ncl
Type: application/octet-stream
Size: 1157 bytes
Desc: make_topogrid_debug.ncl
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180213/e01bd8e5/attachment.obj>


More information about the ncl-talk mailing list