<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Bai Li,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Your message didn't get posted to the ncl-install email list because you need to subscribe first via:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">----</div><div class="gmail_default" style="font-size:small"></div><div class="gmail_default" style="font-size:small">It looks like you are doing everything correctly with regarding to setting up your NCL environment, but I need to you type some more commands from the UNIX command line to better understand what's going on. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">First, how did you install NCL?  Given that it was installed to /usr, this makes me wonder if this is a Linux system and that NCL was installed with something like "yum install ncl" or "apt-get install ncl". </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you could type the following and send me all of the output, including the commands, it would help. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">uname -a</div><div class="gmail_default" style="font-size:small">which ncl</div><div class="gmail_default" style="font-size:small">ncl -V</div><div class="gmail_default" style="font-size:small">env | grep NCARG</div><div class="gmail_default" style="font-size:small">ls $NCARG_ROOT/lib/ncarg</div><div class="gmail_default" style="font-size:small">ls -l $NCARG_ROOT/lib/ncarg/nclscripts/csm</div><div class="gmail_default" style="font-size:small"><br></div><div dir="ltr"><div class="gmail_default" style="font-size:small">Then, to see if a simple NCL script can try, type:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">ng4ex -W x11 xy04n -clean</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This should copy a sample NCL script called "xy04.ncl" to your current directory. It will run NCL on it, and an X11 window with an XY plot should pop up.  Click on this window with your left mouse button and it should go away. If you get an error, please include that in the output.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Send all the output to <a href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>, but subscribe first so that it gets posted.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thank you,</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><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 20, 2019 at 2:31 AM li bai <<a href="mailto:lbdhr@outlook.com">lbdhr@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="ZH-CN">
<div class="gmail-m_-3546822611750241597WordSection1">
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">Hi,</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm"> </span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">I am a beginner of WRF. I just installed the WRFV3 and tried to run it. However, when I run the command ‘ncl plotgrids.ncl’. It always
 showed an error: ‘fatal: Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)’. I have set the environment variable </span><span style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)">‘</span><span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">export
 NCARG_ROOT=/usr/</span><span style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)">’</span><span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">. Could you please help me? Thanks
 very much!        The running results and self-check process is showing below:</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm"> </span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">uav@uav-UN65U:~/Build_WRF/WPS$ ncl plotgrids.ncl</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm"> Copyright (C) 1995-2015 - All Rights Reserved</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">University Corporation for Atmospheric Research</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">NCAR Command Language Version 6.3.0</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">The use of this software is governed by a License Agreement.</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">fatal:error at line 7 in file plotgrids.ncl</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm"> </span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">uav@uav-UN65U:~/Build_WRF/WPS$ ls $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">/usr/lib/ncarg/nclscripts/csm/gsn_code.ncl</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">uav@uav-UN65U:~/Build_WRF/WPS$</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="color:rgb(33,33,33);border:1pt none windowtext;padding:0cm"> </span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="color:rgb(33,33,33);border:1pt none windowtext;padding:0cm"> </span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">Best,</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="gmail-m_-3546822611750241597xmsonormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;background:white;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px">
<span lang="EN-US" style="color:rgb(33,33,33);border:1pt none windowtext;padding:0cm">Bai Li</span><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:rgb(33,33,33)"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal">发送自<span lang="EN-US"> Windows 10 </span>版<span lang="EN-US"><a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank"><span lang="EN-US"><span lang="EN-US">邮件</span></span></a></span>应用</p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:SimSun"><u></u> <u></u></span></p>
</div>
</div>

</blockquote></div></div></div>