[pyngl-talk] PyNGL script help
Victor Gensini
vgensini at niu.edu
Tue Apr 3 11:05:26 MDT 2018
Hi Matt,
It looks like Ngl.end() is destroying the workspace. Try removing that and see if it works.
vg
---------------------------------------
Dr. Vittorio (Victor) A. Gensini
Assistant Professor
Department of Geographic and Atmospheric Sciences
Northern Illinois University
Davis Hall (DH), Room 118
DeKalb, IL 60115
http://atlas.niu.edu
<http://a><http://atlas.niu.edu>
________________________________
From: pyngl-talk <pyngl-talk-bounces at ucar.edu> on behalf of Fearon, Dr. Matthew, Contractor, Code 7533 via pyngl-talk <pyngl-talk at ucar.edu>
Sent: Tuesday, April 3, 2018 11:59:15 AM
To: pyngl-talk at ucar.edu
Subject: [pyngl-talk] PyNGL script help
Dear PyNGL users:
The following set of errors I am receiving are hard to diagnose. Any assistance would be appreciated. My script is attached and errors are below. I’ve a created a small script to plot COAMPS model output. The script works for one iteration, but then gives a series of errors on the second iteration. However, if I skip the first iteration, the second works… and so one. .
Thank you,
Matt
forecast hour: 00090000
fatal:["Error.c":406]:ErrorInitialize:Only one instance of ErrorClass is supported
fatal:Unable to initialize layer-Can't Create
fatal:Error Creating ErrorClass object
fatal:Unable to initialize layer-Can't Create
fatal:Unable to initialize layer-Can't Create
fatal:_NhlCreate:Unable to access "default" App object
fatal:_NhlCreate:Invalid Parent id #-4
fatal:NhlGetValues:PID #-4 is invalid
fatal:PID #-4 can't be found in NhlSetValues
warning:maximize_plots: Invalid workstation. No plot maximization can take place.
fatal:_NhlCreate:Unable to access "default" App object
fatal:_NhlCreate:Invalid Parent id #-4
fatal:NhlGetValues:PID #-4 is invalid
fatal:PID #-4 can't be found in NhlSetValues
warning:maximize_plots: Invalid workstation. No plot maximization can take place.
fatal:_NhlCreate:Unable to access "default" App object
fatal:_NhlCreate:Invalid Parent id #-4
fatal:NhlGetValues:PID #-4 is invalid
fatal:PID #-4 can't be found in NhlSetValues
warning:maximize_plots: Invalid workstation. No plot maximization can take place.
fatal:NhlAddOverlay: invalid base plot id
fatal:NhlAddOverlay: invalid base plot id
warning:maximize_plots: Invalid workstation. No plot maximization can take place.
fatal:NhlDraw: Invalid Layer Id: -4
fatal:Unable to update Workstation with PID#-4
fatal:Unable to clear Workstation with PID#-4
fatal:Unable to Destroy (Bad PID#1440819056)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20180403/5b7e3324/attachment-0001.html>
More information about the pyngl-talk
mailing list