<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">Dear all,<br>
<br>
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 <a href="https://www.ncl.ucar.edu/Applications/Scripts/ESMF_regrid_16.ncl">
https://www.ncl.ucar.edu/Applications/Scripts/ESMF_regrid_16.ncl</a>.<br>
<br>
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.<br>
<br>
I would be very grateful for your help.<br>
<br>
With best regards,<br>
Peter<br>
<br>
============</div>
</span></font></div>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
<br>
- NCL version 6.4.0<br>
<br>
- Data files are available at <a href="http://www.staff.science.uu.nl/~kuipe117/ncl_debug">
http://www.staff.science.uu.nl/~kuipe117/ncl_debug</a><br>
<br>
- The exact error message is<br>
<br>
fatal:Variable (Opt) is undefined<br>
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 1613 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl<br>
<br>
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 3912 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl<br>
<br>
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 4042 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl<br>
<br>
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 51 in file make_topogrid_debug.ncl<br>
<br>
- The system is Mac OS High Sierra 10.13.3<br>
<br>
uname -a gives:<br>
<br>
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<br>
<br>
gcc —version gives:<br>
<br>
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1<br>
Apple LLVM version 9.0.0 (clang-900.0.39.2)<br>
Target: x86_64-apple-darwin17.4.0<br>
Thread model: posix<br>
InstalledDir: /Library/Developer/CommandLineTools/usr/bin</div>
</span></font></div>
</body>
</html>