[pyngl-talk] Issues with running PYNGL function on local computer

Austin Reed austin.reed at stonybrook.edu
Thu Sep 5 18:07:24 MDT 2019

Hi there,

I am an undergraduate student working with PYNGL to sort through data
(particularly precip.data) but I have been having issues with running one
particular function of PyNgl on my local computer. That function is the
Ngl.gc_inout function. I have tried each example on the Ngl.gc_inout page
and each example has returned "None.", where it is supposed to return
something else such as [1]. I have checked with other Ngl functions and
they all seem to be working, it is just this one that is not producing the
correct output. The main example is listed below. I currently have python
3.7.4 installed on my computer, and am using Anaconda Navigator 1.9.7, with
PyNgl version 1.6.1. I have also checked with someone who has ran this same
example on their local computer with PyNgl and she obtained the correct
result, [1]. I don't have any idea as to why my computer would produce
"None". If anybody has any insight/ideas about this I would greatly
appreciate it!

Best, Austin Reed

import Ngl

#---Point at center of diamond.
inout = *Ngl.gc_inout*(0.0, -2.0, \
                            [ 0.0,  1.0,  0.0, -1.0,  0.0], \
                            [-3.0, -2.0, -1.0, -2.0, -3.0] )


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20190905/b8a57555/attachment.html>

More information about the pyngl-talk mailing list