<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Sadame,<br>
    <br>
    it seems that you have not set the NCARG_ROOT environment variable.<br>
    <br>
    What does your system return when you enter 'echo $NCARG_ROOT' in a
    terminal? <br>
    If its empty than you should have a look at <br>
<a class="moz-txt-link-freetext" href="http://ncl.ucar.edu/Download/install_from_binary.shtml#SetUpEnvironment">http://ncl.ucar.edu/Download/install_from_binary.shtml#SetUpEnvironment</a><br>
    <br>
    By the way you don't have to load the gsn_code.ncl and gsn_csm.ncl
    files anymore, they are automatically included.<br>
    <br>
    -Karin<br>
    <br>
    <div class="moz-cite-prefix">Am 15.01.20 um 08:07 schrieb S. Y. via
      ncl-talk:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALC5VUrtYXDD=fEzfZTAQeJz+dME07At5gOY7ZDVY=Y1PCpO-g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello everyone
        <div>I am new NCL user and i was trying to plot shapefiles using
          NCL following the procedures given in one of the webinar.</div>
        <div>However when i run the script i got an error as i copied
          below</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>(base)
          sdm@sdm-ThinkPad-P50:~/Desktop/NCL_folders/NCL_and_shapefiles$
          ncl senegal.ncl <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/"
            moz-do-not-send="true">http://www.ncl.ucar.edu/</a> for more
          details.<br>
          fatal:Could not open
          ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)<br>
          fatal:error at line 1 in file senegal.ncl<br>
          <br>
          fatal:syntax error: line -1 before or near  <br>
          <br>
          ^<br>
          <br>
          fatal:error in statement<br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>I also attached the script that i used to run. </div>
        <div><br>
        </div>
        <div>Thank you for your help in advance.</div>
        <div><br>
        </div>
        <div>kind regards,</div>
        <div>Sadame</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></pre>
    </blockquote>
    <br>
  </body>
</html>