<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Austin,<div class=""><br class=""></div><div class="">I’m sorry to hear you’ve been having trouble with Ngl.gc_inout. The source code for gc_inout can be found in the files <a href="https://github.com/NCAR/pyngl/blob/develop/src/paft/sgtoolsP.c" class="">src/paft/sgtoolsP.c</a> in the PyNGL repository and <a href="https://github.com/NCAR/ncl/blob/develop/ni/src/lib/nfpfort/sg_tools.f" class="">ni/src/lib/nfpfort/sg_tools.f</a> in the NCL repository.</div><div class=""><br class=""></div><div class="">I tried running the gc_inout example code you provided that was unexpectedly returning None, and I experienced the same issue. I tried running the code using a debugger and was unable to quickly determine the root cause of the problem, so unfortunately there’s no quick fix that I can suggest.</div><div class=""><br class=""></div><div class="">Thanks for reporting the bug and for creating an <a href="https://github.com/NCAR/pyngl/issues/19" class="">issue on GitHub</a>. I’m not sure when we’ll be able to fix it, but having it on GitHub means that it’s on our radar.</div><div class=""><div class=""><br class=""></div><div class="">For what it’s worth, gc_inout is one of a small subset of NCL computational functions that were wrapped into PyNGL a number of years ago; however, PyNGL is generally intended to be used for its NCL <i class="">graphics</i> functionality, and the process of adding more of NCL’s <i class="">computational</i> code to PyNGL was put on the back burner. That said, we’re currently working on a project called “GeoCAT-comp” which will feature a larger set of NCL’s computational functions wrapped into Python, and which may potentially include an updated implementation of gc_inout at some point in the future. The GeoCAT-comp project is in the very early stages of development, but you can learn more about it on the <a href="https://github.com/ncar/geocat-comp" class="">GeoCAT-comp GitHub</a> repository.</div></div><div class=""><br class=""></div><div class="">Thanks again,</div><div class="">Kevin</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 11, 2019, at 8:21 AM, Austin Reed via pyngl-talk <<a href="mailto:pyngl-talk@ucar.edu" class="">pyngl-talk@ucar.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi all!<div class=""><br class=""></div><div class="">I've been having issues with the PyNgl function Ngl.gc_inout in that my computer returns "None" instead of the expected output. Would anybody happen to have access to the Fortran/C code for the Ngl.gc_inout function itself to see which instances it would return "None" for? This could helpful for me; I also tried getting in touch with Mary Haley, however the email did not go through.</div><div class=""><br class=""></div><div class="">Thank you!</div><div class="">Austin</div></div>
_______________________________________________<br class="">pyngl-talk mailing list<br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/pyngl-talk" class="">http://mailman.ucar.edu/mailman/listinfo/pyngl-talk</a></div></blockquote></div><br class=""></div></body></html>