<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">Based on the error message you are seeing, I seems like you might be trying to run NCL commands directly in Bash (or whatever your shell environment is):</div><div class=""><font face="Menlo" class="">$ load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br class="">bash: load: command not found</font></div><div class=""><br class=""></div><div class="">The ‘$’ character represents the Bash prompt.</div><div class=""><br class=""></div><div class="">Instead, please try running the “ncl” command in your shell environment:</div><div class=""><font face="Menlo" class="">$ ncl<br class=""> Copyright (C) 1995-2017 - All Rights Reserved<br class=""> University Corporation for Atmospheric Research<br class=""> NCAR Command Language Version 6.4.0<br class=""> The use of this software is governed by a License Agreement.<br class=""> See <a href="http://www.ncl.ucar.edu/" class="">http://www.ncl.ucar.edu/</a> for more details.</font></div><div class=""><font face="Menlo" class="">ncl 0> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br class="">ncl 1> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl”</font></div><div class=""><br class=""></div><div class="">Note that the above example is an interactive NCL session, where the prompt is indicated by “ncl #>”.</div><div class=""><br class=""></div><div class="">Ordinarily, those load commands should be added to an NCL script that you’re writing in order to enable certain NCL functions. You can execute an NCL script from Bash by running the “ncl” command followed by the name of the script, for example:</div><div class=""><font face="Menlo" class="">$ ncl myscript.ncl</font></div><div class=""><br class=""></div><div class="">Please let me know if you have any further questions.</div><div class=""><br class=""></div><div class="">I hope this helps,</div><div class="">Kevin</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On May 31, 2018, at 12:59 AM, Atul Saini via ncl-install <<a href="mailto:ncl-install@ucar.edu" class="">ncl-install@ucar.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class="">Dear Sir/Ma'am, <div dir="auto" class="">                             I am trying to set root path of NCL using -</div><div dir="auto" class=""><br class=""></div><div dir="auto" class=""><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;background-color:rgb(255,255,255)" class="">NCARG_ROOT=/usr/local/ncl-6.4.0
    PATH=$NCARG_ROOT/bin:$PATH
    export NCARG_ROOT
    export PATH</pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;background-color:rgb(255,255,255)" class=""><br class=""></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;background-color:rgb(255,255,255)" class=""><br class=""></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;background-color:rgb(255,255,255)" class="">There after when I try to load it using -</pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;background-color:rgb(255,255,255)" class=""><br class=""></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;background-color:rgb(255,255,255)" class=""><pre style="word-wrap:break-word;white-space:pre-wrap" class="">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"</pre><pre style="word-wrap:break-word;white-space:pre-wrap" class=""><br class=""></pre><pre style="word-wrap:break-word;white-space:pre-wrap" class="">It says No command 'load' found.</pre><pre style="word-wrap:break-word;white-space:pre-wrap" class=""><br class=""></pre><pre style="word-wrap:break-word;white-space:pre-wrap" class="">Please guide how to properly set the root path and load NCL script using 'load'.</pre></pre></div></div>
_______________________________________________<br class="">ncl-install mailing list<br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br class=""></div></blockquote></div><br class=""></div></body></html>