<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Clint,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Sorry for taking so long to get back to this. I'm slowing climbing my way back to normalcy after a few weeks of constant meetings.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I'm wondering if this example has been fixed in the latest PyNGL, because it worked fine for me, although one label is missing because once you go to box centers, you have to provide an additional label. (You can add the extra label with lbLabelStrings.)</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I installed PyNGL and PyNIO with:</div><div class="gmail_default" style="font-size:small"><br></div>conda create --name pyn_env --channel conda-forge pynio pyngl<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">and then ran your attached script, with the resultant attached image.</div><br>Do you know what version of PyNGL you're running? You can print "Ngl.__version__<div class="gmail_default" style="font-size:small;display:inline">" for this information.</div><div><div class="gmail_default" style="font-size:small;display:inline"><br></div></div><div><div class="gmail_default" style="font-size:small;display:inline">--Mary</div></div><div><div class="gmail_default" style="font-size:small;display:inline"></div><div class="gmail_default" style="font-size:small">
</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 3, 2018 at 10:43 AM, Clinton Rowe <span dir="ltr"><<a href="mailto:crowe1@unl.edu" target="_blank">crowe1@unl.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-4216017349374565841WordSection1">
<p class="MsoNormal">Mary, Rick, et al.,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I transitioned a routine from NCL to pyNGL and the BoxCenters label resource is not working. Labels are only drawn at alternate interior lines on the labelbar, rather than the box centers as desired. As an example, I added one line to
contour2.py to request labels at the center of the boxes. I’ve attached the modified example and output png.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Clint<span style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f497d">==============================<wbr>==========================<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f497d">Clinton M. Rowe<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f497d">Professor and Graduate Chair phone:(402)472-1946<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f497d">Earth & Atmospheric Sciences fax:(402)472-4917<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f497d">University of Nebraska- Lincoln
</span><span style="color:#1f497d"><a href="mailto:crowe1@unl.edu" target="_blank"><span style="font-family:"Courier New";color:blue">crowe1@unl.edu</span></a></span><span style="font-family:"Courier New";color:#1f497d"><u></u><u></u></span></p>
</div>
</div>
</div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>