<div dir="ltr"><div class="gmail_default" style="font-size:small">Hil Will,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You are right, this is a problem and I was able to make an existing test fail by setting this.</div><br>There's a weird work-around, and that is to set:<br><br> res@gsnOldLabelBar = False<div><br></div><div><div class="gmail_default" style="font-size:small">This is a hidden resource that is used to switch between two methods for creating a labelbar. It's code we are testing out, but we are not ready to make public yet. This resource is one that will allow users to switch between the two methods of creating the labelbar, should we ever decide to go ahead with it.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I have already fixed this for 6.5.0, so you will be able to remove the work-around then.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks for the report.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 16, 2018 at 5:26 PM, Will Hobbs via ncl-talk <span dir="ltr"><<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_8374687744856264110WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:11.0pt">Hi </span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:11.0pt"> </span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:11.0pt">When I make a streamline plot using the function gsn_csm_streamline_scalar_map_<wbr>polar() with the lbLabelBarOn resource set to False, I get the following error:</span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:11.0pt"> </span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">fatal:Variable (lbar_zone) is undefined<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">fatal:["Execute.c":8640]:<wbr>Execute: Error occurred at or near line 12166 in file /usr/local/ncl-6.4.0/lib/<wbr>ncarg/nclscripts/csm/gsn_csm.<wbr>ncl<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:11.0pt"> </span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:11.0pt">I had a quick look at the gsn_csm.ncl code, it looks like there’s a series of ‘if’ statements regarding label bar settings, which are not avoided even though the variable ‘lbar_on’ is False.</span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:11.0pt"> </span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:11.0pt">The script I’m running reads a LOT of datafiles so I’m hesitant to send it through with all dependencies, but if I’m right it should be easy replicate with any data</span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:11.0pt"> </span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:11.0pt"> </span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:11.0pt">Will</span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
</div>
<p style="font-size:10pt;line-height:10pt;font-family:Calibri,sans-serif"><br>
<br>
University of Tasmania Electronic Communications Policy (December, 2014). <br>
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained
in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.
</p>
</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>