[pyngl-talk] PyNGL script help

Fearon, Dr. Matthew, Contractor, Code 7533 matthew.fearon.ctr at nrlmry.navy.mil
Tue Apr 3 11:30:23 MDT 2018


Victor, thank you. Removing Ngl.end() solved the trouble.
Matt

From: Victor Gensini [mailto:vgensini at niu.edu]
Sent: Tuesday, April 3, 2018 10:05 AM
To: Fearon, Dr. Matthew, Contractor, Code 7533; pyngl-talk at ucar.edu
Subject: Re: PyNGL script help


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

________________________________
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/cd68279d/attachment.html>


More information about the pyngl-talk mailing list