[ncl-talk] Problem with NCL on MacOS X installed using macports

Ben Schenkel benschenkel at gmail.com
Fri Dec 1 08:12:34 MST 2017


Dear NCL Talk-

I have been running some of the ESMF ncl code on my Mac Desktop and have
been running into a strange error.  Specifically, whenever I call the
ESMF_regridding function, I receive an error around line 1613 in the script
after the "setfileoption" function is called complaining that the variable
"Opt" is no longer defined.  I've attached a screenshot of the error
below.  However, "Opt" had been defined prior to calling the
"setfileoption" function and appears to be deleted when I call this
function.  Moreover, I checked other variables in my script and these
variables have also been deleted after running "setfileoption."  It's as if
all variables are being cleared after running "setfileoption" in the ESMF
code.  The problem appears similar to the issue discussed in a prior thread:

 (http://mailman.ucar.edu/pipermail/ncl-talk/2016-December/007465.html)

As some background, I've previously used this same ESMF regridding function
on another Mac without any issues, so I'm not sure what's going on.  Here
are the specs for my current system:

MacOS: Sierra Version 10.12.6
NCL: version 6.4.0 installed with macports
Macports: version 2.4.2

Any suggestions on how I can fix this issue?

Thank you in advance for your time.

-Ben

---

Ben Schenkel
Research Scientist
University of Oklahoma/Cooperative Institute for Mesoscale Meteorological
Studies
benschenkel at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171201/171c1d10/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2017-12-01 at 9.01.16 AM.png
Type: image/png
Size: 123542 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171201/171c1d10/attachment.png>


More information about the ncl-talk mailing list