<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Dennis,<br>
      <br>
      Plots are just like the ones from 6.1.2. It is reassuring to hear
      that<br>
      the issue was fixed in 6.4. Many thanks!<br>
      <br>
      Perhaps a code compare of gsm_csm vector field plotting routines<br>
      from 6..3 and 6.4 would give the answer? Another possible<br>
      culprit can be the overlay procedure and the mechanisms related?<br>
      <br>
      Lech <br>
      <br>
      <br>
      <br>
      W dniu 08.06.2016 o 18:13, Dennis Shea pisze:<br>
    </div>
    <blockquote
cite="mid:CAOF1d_6WXfvJiJ9ekVFE0wTrgQrR1Zz6fvMB3oHG4Qbo98nnDw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Hello,<br>
            </div>
            <br>
          </div>
          This failed using  6.3.0 (seg fault). It worked with 6.4.0 See
          attached.<br>
          <br>
        </div>
        <div>I am not sure what changes were made that fixed the issue.<br>
          <br>
        </div>
        <div>Cheers<br>
        </div>
        <div>D<br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Jun 8, 2016 at 9:01 AM, Lech
          Lobocki <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:llobocki@is.pw.edu.pl" target="_blank">llobocki@is.pw.edu.pl</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div>Dennis,<br>
                <br>
                while looking at gsn_csm_vector, please take look at
                memory issues, Yesterday<br>
                I reported problems that arose between versions 6.1.2
                and 6.3.0, and have<br>
                been traced to gsn_csm_vector or gsn_csm_streamline. The
                code and the<br>
                data file are rather lengthy, I uploaded  these two
                files onto<br>
                 <a moz-do-not-send="true" href="ftp://ftp.cgd.ucar.edu"
                  target="_blank">ftp.cgd.ucar.edu</a> as <a
                  moz-do-not-send="true"
                  href="mailto:lech.lobocki@is.pw.edu.pl"
                  target="_blank">lech.lobocki@is.pw.edu.pl</a><br>
                <br>
                In brief:<br>
                - the whole script executes with no problems by NCL
                6.1.2<br>
                - It fails reporting "Segmentation fault" when executed<br>
                  by 6.3.0 (tried on two machines, a 4GB PC with Fedora
                23<br>
                  and a 32GB server with CentOS 7 - both with a binary<br>
                  ncl package form fedora/centos repositories.<br>
                - commenting out lines #252 and 254 - where
                gsn_csm_streamline is called<br>
                  allows the script to pass.<br>
                <br>
                Lech<br>
                <br>
                <br>
                W dniu 08.06.2016 o 15:29, Dennis Shea pisze:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">In my opinion, there is a bug in
                  gsn_csm_vector. I will open a ticket.<br>
                  <br>
                  Try the following.<br>
                  <br>
                  ;<br>
                  ; Generate dummy vector data arrays<br>
                  ;<br>
                    M  = 30<br>
                    N  = 30<br>
                    PI = 3.14159<br>
                  <br>
                    V = 10.0 * cos(onedtond((2.0 * PI / M) *
                  ispan(0,M-1,1),(/N,M/)))<br>
                    U = 10.0 * cos(onedtond((2.0 * PI / N) *
                  ispan(0,N-1,1),(/M,N/)))<br>
                    W = sqrt(U^2 +V^2)<br>
                  <br>
                    wks   = gsn_open_wks ("x11", "vec_test")       <br>
                    res                     = True<br>
                  <br>
                    res@tiMainString         = "Title"<br>
                    vector = gsn_csm_vector_scalar(wks,U,V,W,res)<br>
                  <br>
                    res@lbOrientation =   "vertical"          ; vertical
                  label bar<br>
                    vector = gsn_csm_vector_scalar(wks,U,V,W,res)<br>
                  <br>
                    delete(res@lbOrientation)  ; return to horizontal<br>
                  <br>
                    res@vcRefAnnoOrthogonalPosF = -1.0             ;
                  move ref vector up<br>
                    vector = gsn_csm_vector_scalar(wks,U,V,W,res)<br>
                  <br>
                    res@vcRefAnnoOrthogonalPosF = -0.125           ;
                  move ref vector up<br>
                    vector = gsn_csm_vector_scalar(wks,U,V,W,res)<br>
                  <br>
                  <br>
                </div>
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Wed, Jun 8, 2016 at 6:54
                    AM, Kacie Shourd <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:Kacie.Shourd@dri.edu"
                        target="_blank">Kacie.Shourd@dri.edu</a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div>
                        <div
                          style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">You

                          could also try to move the label bar up closer
                          to the plot. Try poking around here: <a
                            moz-do-not-send="true"
                            href="http://www.ncl.ucar.edu/Applications/labelbar.shtml"
                            target="_blank">http://www.ncl.ucar.edu/Applications/labelbar.shtml</a>
                          <div>Specifically <a moz-do-not-send="true"
href="http://www.ncl.ucar.edu/Document/Graphics/Resources/pm.shtml#pmLabelBarOrthogonalPosF"
style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px;line-height:16px;background-color:rgb(255,255,255)"
                              target="_blank"><em
                                style="margin:0px;padding:0px">pmLabelBarOrthogonalPosF</em></a><span
style="font-family:verdana,sans-serif;font-size:13.3333px;line-height:16px;background-color:rgb(255,255,255)"> 
                              or </span><em
style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px;line-height:16px;background-color:rgb(255,255,255)"><a
                                moz-do-not-send="true"
href="http://www.ncl.ucar.edu/Document/Graphics/Resources/pm.shtml#pmLabelBarOrthogonalPosF"
style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px;line-height:16px;background-color:rgb(255,255,255)"
                                target="_blank">pmLabelBarParallelPosF</a>.</em></div>
                          <div><span
style="font-family:verdana,sans-serif;font-size:13.3333px;line-height:16px;background-color:rgb(255,255,255)"><br>
                            </span></div>
                          <div><span
style="font-family:verdana,sans-serif;font-size:13.3333px;line-height:16px;background-color:rgb(255,255,255)">best</span></div>
                          <div><span
style="font-family:verdana,sans-serif;font-size:13.3333px;line-height:16px;background-color:rgb(255,255,255)">Kacie </span><br>
                            <div style="font-family:Times New
                              Roman;color:#000000;font-size:16px">
                              <hr>
                              <div style="direction:ltr"><font
                                  color="#000000" face="Tahoma" size="2"><span><b>From:</b>
                                    <a moz-do-not-send="true"
                                      href="mailto:ncl-talk-bounces@ucar.edu"
                                      target="_blank">ncl-talk-bounces@ucar.edu</a>
                                    [<a moz-do-not-send="true"
                                      href="mailto:ncl-talk-bounces@ucar.edu"
                                      target="_blank">ncl-talk-bounces@ucar.edu</a>]
                                    on behalf of Key Tone [<a
                                      moz-do-not-send="true"
                                      href="mailto:keytone25@gmail.com"
                                      target="_blank">keytone25@gmail.com</a>]<br>
                                  </span><b>Sent:</b> Tuesday, June 07,
                                  2016 10:49 PM<br>
                                  <b>To:</b> <a moz-do-not-send="true"
                                    href="mailto:ncl-talk@ucar.edu"
                                    target="_blank">ncl-talk@ucar.edu</a><br>
                                  <b>Subject:</b> [ncl-talk] Fwd: help<br>
                                </font><br>
                              </div>
                              <div>
                                <div>
                                  <div>
                                    <div dir="ltr"><br>
                                      <div class="gmail_quote">----------

                                        Forwarded message ----------<br>
                                        From: <b
                                          class="gmail_sendername">Key
                                          Tone</b> <span dir="ltr">&lt;<a
                                            moz-do-not-send="true"
                                            href="mailto:keytone25@gmail.com"
                                            target="_blank">keytone25@gmail.com</a>&gt;</span><br>
                                        Date: Wed, Jun 8, 2016 at 1:33
                                        AM<br>
                                        Subject: Re: [ncl-talk] help<br>
                                        To: Kacie Shourd &lt;<a
                                          moz-do-not-send="true"
                                          href="mailto:Kacie.Shourd@dri.edu"
                                          target="_blank">Kacie.Shourd@dri.edu</a>&gt;<br>
                                        <br>
                                        <br>
                                        <div dir="ltr">Hmm, even when I
                                          adjusted, it appears the
                                          legend still is cut off. Do
                                          you think this may be
                                          something more than just a
                                          resizing issue?
                                          <div><br>
                                          </div>
                                          <div>Thanks</div>
                                        </div>
                                        <div>
                                          <div>
                                            <div class="gmail_extra"><br>
                                              <div class="gmail_quote">On
                                                Wed, Jun 8, 2016 at 1:22
                                                AM, Kacie Shourd <span
                                                  dir="ltr"> &lt;<a
                                                    moz-do-not-send="true"
href="mailto:Kacie.Shourd@dri.edu" target="_blank">Kacie.Shourd@dri.edu</a>&gt;</span>
                                                wrote:<br>
                                                <blockquote
                                                  class="gmail_quote"
                                                  style="margin:0 0 0
                                                  .8ex;border-left:1px
                                                  #ccc
                                                  solid;padding-left:1ex">
                                                  <div>
                                                    <div
                                                      style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt"><span
style="font-size:13.3333px">Hi! </span>
                                                      <div
                                                        style="font-size:13.3333px"><br>
                                                      </div>
                                                      <div
                                                        style="font-size:13.3333px">It

                                                        should work if
                                                        you make the wks
                                                        bigger.</div>
                                                      <div
                                                        style="font-size:13.3333px"><br>
                                                      </div>
                                                      <div
                                                        style="font-size:13.3333px">try

                                                        adding this bit
                                                        of code:</div>
                                                      <div
                                                        style="font-size:13.3333px"><br>
                                                      </div>
                                                      <div
                                                        style="font-size:13.3333px">
                                                        <div>  wks_type
                                                          = "x11"</div>
                                                        <div> 
                                                          wks_type@wkWidth
                                                          = 2500</div>
                                                        <div> 
                                                          wks_type@wkHeight
                                                          = 2500</div>
                                                        <div>  wks =
                                                          gsn_open_wks(wks_type,
"cyclone_wind")</div>
                                                        <div><br>
                                                        </div>
                                                        <div>And adjust
                                                          the numbers
                                                          for width and
                                                          height as
                                                          necessary
                                                          until the
                                                          legend is no
                                                          longer cut
                                                          off.</div>
                                                        <div><br>
                                                        </div>
                                                        <div>Best,</div>
                                                        <div>Kacie</div>
                                                        <div><br>
                                                        </div>
                                                      </div>
                                                      <div
                                                        style="font-family:Times
                                                        New
                                                        Roman;color:#000000;font-size:16px">
                                                        <hr>
                                                        <div
                                                          style="direction:ltr"><font
color="#000000" face="Tahoma" size="2"><b>From:</b> <a
                                                          moz-do-not-send="true"
href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a>
                                                          [<a
                                                          moz-do-not-send="true"
href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a>]
                                                          on behalf of
                                                          Key Tone [<a
                                                          moz-do-not-send="true"
href="mailto:keytone25@gmail.com" target="_blank">keytone25@gmail.com</a>]<br>
                                                          <b>Sent:</b>
                                                          Tuesday, June
                                                          07, 2016 10:12
                                                          PM<br>
                                                          <b>To:</b> <a
moz-do-not-send="true" href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
                                                          <b>Subject:</b>
                                                          [ncl-talk]
                                                          help<br>
                                                          </font><br>
                                                        </div>
                                                        <div>
                                                          <div>
                                                          <div>
                                                          <div dir="ltr">Hello,

                                                          <div><br>
                                                          </div>
                                                          <div>For the
                                                          vector plot,
                                                          below, what
                                                          should I
                                                          include in my
                                                          code to get
                                                          the legend to
                                                          show? It looks
                                                          cut off: </div>
                                                          <div><img
                                                          src="cid:part19.08040202.01070605@is.pw.edu.pl"
                                                          alt="Inline
                                                          image 1"
                                                          height="454"
                                                          width="432"><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>Here is
                                                          the code I
                                                          used to get
                                                          this plot:</div>
                                                          <div><img
                                                          src="cid:part20.03000605.00070609@is.pw.edu.pl"
                                                          alt="Inline
                                                          image 2"
                                                          height="201"
                                                          width="454"><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                    <br>
                                                    <font face="Arial"
                                                      size="2">PUBLIC
                                                      RECORDS NOTICE: In
                                                      accordance with
                                                      NRS Chapter 239,
                                                      this email and
                                                      responses, unless
                                                      otherwise made
                                                      confidential by
                                                      law, may be
                                                      subject to the
                                                      Nevada Public
                                                      Records laws and
                                                      may be disclosed
                                                      to the public upon
                                                      request.</font> </div>
                                                </blockquote>
                                              </div>
                                              <br>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                      <br>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                      <br>
                      _______________________________________________<br>
                      ncl-talk mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
                      List instructions, subscriber options,
                      unsubscribe:<br>
                      <a moz-do-not-send="true"
                        href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"
                        rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
                <br>
                <fieldset></fieldset>
                <br>
                <pre>_______________________________________________
ncl-talk mailing list
<a moz-do-not-send="true" href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a moz-do-not-send="true" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><span class="HOEnZb"><font color="#888888">
</font></span></pre>
                <span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
              <span class="HOEnZb"><font color="#888888"> <br>
                  <br>
                  <pre cols="72">-- 
-------------------------------------------------------------------------
Lech Łobocki, Ph.D., D.Sc.
Professor,
Department of Environmental Engineering
Warsaw University of Technology
00-653 Warszawa, Nowowiejska 20, Poland
Tel. <a moz-do-not-send="true" href="tel:%2B48%2822%29%20234-7606" value="+48222347606" target="_blank">+48(22) 234-7606</a>
fax: <a moz-do-not-send="true" href="tel:%2B48%2822%29%20625-4305" value="+48226254305" target="_blank">+48(22) 625-4305</a>
e: <a moz-do-not-send="true" href="mailto:lech.lobocki@is.pw.edu.pl" target="_blank">lech.lobocki@is.pw.edu.pl</a>
<a moz-do-not-send="true" href="http://www.meteo.is.pw.edu.pl/" target="_blank">http://www.meteo.is.pw.edu.pl/</a>
-------------------------------------------------------------------------
</pre>
                </font></span></div>
            <br>
            _______________________________________________<br>
            ncl-talk mailing list<br>
            <a moz-do-not-send="true" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
            List instructions, subscriber options, unsubscribe:<br>
            <a moz-do-not-send="true"
              href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"
              rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
-------------------------------------------------------------------------
Lech Łobocki, Ph.D., D.Sc.
Professor,
Department of Environmental Engineering
Warsaw University of Technology
00-653 Warszawa, Nowowiejska 20, Poland
Tel. +48(22) 234-7606
fax: +48(22) 625-4305
e: <a class="moz-txt-link-abbreviated" href="mailto:lech.lobocki@is.pw.edu.pl">lech.lobocki@is.pw.edu.pl</a>
<a class="moz-txt-link-freetext" href="http://www.meteo.is.pw.edu.pl/">http://www.meteo.is.pw.edu.pl/</a>
-------------------------------------------------------------------------
</pre>
  </body>
</html>