<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="">Hi Jean,<div class=""><br class=""></div><div class="">This is a common issue experienced when installing NCL using “apt-get” on Ubuntu. The package maintainers for Ubuntu chose to split certain files that we normally put in “$NCARG_ROOT/lib/ncarg” (“/usr/<b class="">lib</b>/ncarg” in your case) into their own directory “/usr/<b class="">share</b>/ncarg”. You can configure NCL to use this directory with “export NCARG_NCARG=/usr/share/ncarg”, although it looks like the script you are running explicitly references “$NCARG_ROOT/lib/ncarg” which would need to be changed. You can read about the various NCARG_* environment variables here:&nbsp;<a href="https://www.ncl.ucar.edu/Document/Language/env.shtml" class="">https://www.ncl.ucar.edu/Document/Language/env.shtml</a></div><div class=""><br class=""></div><div class="">To avoid some of these complications, you may want to consider installing a binary release of NCL from our website:&nbsp;<a href="http://ncl.ucar.edu/Download/" class="">http://ncl.ucar.edu/Download/</a></div><div class=""><br class=""></div><div class="">Alternatively, if you’re familiar with Anaconda/“conda”, you could install NCL using the “conda” package manager:&nbsp;<a href="http://ncl.ucar.edu/Download/conda.shtml" class="">http://ncl.ucar.edu/Download/conda.shtml</a></div><div class=""><br class=""></div><div class="">Also, the version of NCL provided by the Ubuntu package manager is 6.3.0, while NCL 6.4.0 was released 4 months ago (and is available via either of the installation methods listed above). This might not matter to you if you’re just experimenting with NCL, but I thought I’d let you know in case you would prefer to use the newest version.</div><div class=""><br class=""></div><div class="">I hope this helps,</div><div class="">Kevin</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 5, 2017, at 4:19 PM, Jean P Valle Rodriguez &lt;<a href="mailto:jean.valle@upr.edu" class="">jean.valle@upr.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">I am currently working the tutorial of WRF and the first step is the plotgrids part. Wen I run it the following error appears:</div><div class=""><br class=""></div><div class="">fatal:Could not open($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)</div><div class="">fatal:error at line 7 in file util/plotgrids.ncl</div><div class=""><br class=""></div><div class="">I have seen some possible solutions and edited the environment (in bashrc) to:</div><div class="">export NCARG_ROOT=/usr</div><div class="">export PATH=$NCARG_ROOT/bin:$PATH</div><div class=""><br class=""></div><div class="">I am using Ubuntu 16.04 and NCL 6.3, using the command "which ncl" shows :</div><div class="">/usr/bin/ncl</div><div class=""><br class=""></div><div class="">Any help that can be provided will be appreciated.&nbsp;</div><div class="">Thanks for your help!</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>