<div dir="ltr"><div>Hi Ismail,</div>It does look like there is a bug in the gsn_csm_streamline* suite of functions. The issue is triggered if the user sets lbLabelBarOn = False and mpProjection <div>to something other than cylindrical equidistant. The (partial) solution is to change line 12329 (and 12122) of gsn_csm.ncl from this:</div><div>if(luse_old_lbar)<br></div><div>to this:</div><div>if(lbar_on.and.use_old_lbar)<br></div><div><br></div><div>This results in the labelbar not being drawn, but unfortunately there might be a double set of tickmarks on each map as well. I was able to remove the 2nd set of tickmarks by setting </div><div>pmTickMarkDisplayMode = "Conditional".</div><div><br></div><div>I will report this as a bug. </div><div>Adam</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 9, 2017 at 11:56 AM, Ismail SEZEN <span dir="ltr"><<a href="mailto:sezenismail@gmail.com" target="_blank">sezenismail@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Adam, thank you for your kind respond.<br>
<br>
Let me clarify a thing. I already solved my all problems in one way or another, used NCL (thanks to all team members) and now I’m done with it. I’m not in a hurry for a rush. I’m using NCL only for 2 weeks and I tought that I found a bug and wanted to report it and give a hand to community. This is *ONLY* the reason why I’m here. (To help USA users, non-USA users, even to Dennis)<br>
<br>
> On 9 Oct 2017, at 19:34, Adam Phillips <<a href="mailto:asphilli@ucar.edu">asphilli@ucar.edu</a>> wrote:<br>
><br>
> Hello,<br>
> Please note that on the NCL email list support page (<a href="http://www.ncl.ucar.edu/Support/email_lists.shtml" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/<wbr>Support/email_lists.shtml</a>) it states:<br>
> "The NCL/NCARG team monitors all mailing lists, and we generally try to answer questions within a few hours when posted during normal working hours (Mon-Fri 8am-5pm MT)."<br>
> As your original email was posted on Saturday it is quite unlikely that it will be responded to until Monday. There are occasional exceptions to this, depending on the schedules of NCL support staff as well as volunteers who are willing to respond.<br>
<br>
I've been working very hard (night and day) for the past week and I didn’t know what the day is weekend or weekday, I even didn’t know the what time was :). That’s why, please, don’t take personal the insistent second email. I’ve been in e-mail lists for years and I know how things work except sending bug report. Usually, there is a project tracking page and bugs are reported over there. That’s why I was not sure if this list is monitored by the team or not.<br>
<br>
><br>
> To answer your query, I've copied stream_11.ncl from the examples website here:<br>
> <a href="http://www.ncl.ucar.edu/Applications/stream.shtml#ex11" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/stream.shtml#ex11</a><br>
><br>
> and modified it to use the <a href="http://uvt.nc" rel="noreferrer" target="_blank">uvt.nc</a> file available here:<br>
> <a href="http://www.ncl.ucar.edu/Applications/Data/" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/Data/</a><br>
><br>
> and attached it and the resulting graphic here.<br>
><br>
> Note that to turn off the individual labelbar you need to set lbLabelBarOn = False. To turn on a single labelbar for the panel plot you need to set gsnPanelLabelBar to True in your panel resource list. Finally, to orient the labelbar vertically you need to set lbOrientation = "vertical" in your panel resource list.<br>
<br>
The instructions above are exactly what I did.<br>
<br>
><br>
> See the following websites:<br>
> <a href="http://www.ncl.ucar.edu/Applications/panel.shtml" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/panel.shtml</a><br>
> <a href="http://www.ncl.ucar.edu/Applications/labelbar.shtml" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/labelbar.shtml</a><br>
> available from the main applications page here:<br>
> <a href="http://www.ncl.ucar.edu/Applications/" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/</a><br>
<br>
I already surf the websites. Thanks.<br>
<br>
><br>
> Also, note that the resource gsnOldLabelBar does not exist, and that lbLabelsOn will turn off the labelbar labels (when set in the panel resource list in the attached example).<br>
<br>
This is not exaclty happening in my situation. But I got the error below. That’s why I dig the gsn_csm.ncl file through the error.<br>
<br>
><br>
> Hopefully that all makes sense. If not, or if you have further questions, please only respond to the ncl-talk email list and not to me personally.<br>
> Adam<br>
<br>
Let me modify your example (thanks again). Please see the attached ncl file.<br>
Also required nc file can be downloaded here <a href="https://www.dropbox.com/s/cqu0lr3jautr0u1/wrfout_d02_2015-09-06_00_00_00?dl=0" rel="noreferrer" target="_blank">https://www.dropbox.com/s/<wbr>cqu0lr3jautr0u1/wrfout_d02_<wbr>2015-09-06_00_00_00?dl=0</a><br>
NC file is big, likely a wrf output file that you have will also work. Not sure.<br>
<br>
Thanks.<br>
<br>
ERROR:<br>
 Copyright (C) 1995-2017 - All Rights Reserved<br>
 University Corporation for Atmospheric Research<br>
 NCAR Command Language Version 6.4.0<br>
 The use of this software is governed by a License Agreement.<br>
 See <a href="http://www.ncl.ucar.edu/" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>
fatal:Variable (lbar_zone) is undefined<br>
fatal:["Execute.c":8640]:<wbr>Execute: Error occurred at or near line 12331 in file /Users/isezen/ncl_ncarg-6.4.0-<wbr>MacOS_10.11_64bit_nodap_<wbr>gnu540/lib/ncarg/nclscripts/<wbr>csm/gsn_csm.ncl<br>
<br>
fatal:["Execute.c":8640]:<wbr>Execute: Error occurred at or near line 12396 in file /Users/isezen/ncl_ncarg-6.4.0-<wbr>MacOS_10.11_64bit_nodap_<wbr>gnu540/lib/ncarg/nclscripts/<wbr>csm/gsn_csm.ncl<br>
<br>
fatal:["Execute.c":8640]:<wbr>Execute: Error occurred at or near line 58 in file stream_11_2.ncl<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div>