<div dir="ltr"><div class="gmail_default" style="font-size:small">Bellamy,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The issue looks to be that NCARG_ROOT is not set correctly. It should be set to the *root* directory of wherever NCL is installed.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The error message is complaining about not finding things in:</div><div class="gmail_default" style="font-size:small"><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span>/gpfs1/software/ncarg/lib/</span><wbr style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ncarg/lib/ncarg/sysresfile</span></div></blockquote><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Note that "ncarg/lib" appears twice in this path. I think that you have NCARG_ROOT set to </span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span>/gpfs1/software/ncarg/lib</span></span></div></blockquote><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">when it should be set to:</span></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span>/gpfs1/software/ncarg</span></span></span></div></blockquote><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">You may also need to be sure you have no other NCARG_<i>XXXX </i>environment variables set. To check this, type the following from the UNIX command line:</span></span></span></div><div class="gmail_default" style="font-size:small"><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="font-size:small">env | grep NCARG</div></blockquote><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you see anything else like NCARG_LIB or NCARG_NCARG being set, then make sure these are NOT set. These are usually set in one of your .xxxx files in your home directory, which you can verify with:</div><div class="gmail_default" style="font-size:small"><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="font-size:small">grep NCARG ~/.*</div></blockquote><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">IMPORTANT: You are using a version of NCL that is 9 years old.  You are likely to run into many issues with this version.  I suggest upgrading to NCL V6.4.0 (or wait for NCL V6.5.0 which should be this month).</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default">The download and install instructions are here, I recommend using the "conda" instructions:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Download/">http://www.ncl.ucar.edu/Download/</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">Good luck,</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 4, 2018 at 4:24 AM, Bellamy Baron <span dir="ltr"><<a href="mailto:bellamybaron87@gmail.com" target="_blank">bellamybaron87@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi everyone,</div><div><br></div><div>Your help would be really appreciated here.</div><div><br></div><div>I want to plot wps analysis file using wrf_wps_ter.ncl and I've modified as follows:</div><div>load "/gpfs1/software/ncarg/lib/<wbr>ncarg/nclscripts/csm/gsn_code.<wbr>ncl"</div><div>begin</div><div><br></div><div>a = addfile("./<a href="http://geo_em.d01.nc" target="_blank">geo_em.d01.nc</a>","r")<wbr> </div><div>type = "x11"</div><div>; type = "pdf"</div><div>; type = "ps"</div><div>; type = "ncgm"</div><div>wks = gsn_open_wks(type,"plt_geo_2")<wbr> </div><div>ter = a->HGT_M(0,:,:) </div><div>res = True </div><div>res@cnFillOn = True </div><div>res@gsnSpreadColors = True</div><div>plot = gsn_contour(wks,ter,res) </div><div>end</div><div>here I'm using ncl-5.1.1 on AIX-5.3</div><div><br></div><div>I have run the command as:</div><div>ncl wrf_wps_ter.ncl </div><div><br></div><div>and I got the massage...</div><div><br></div><div>Copyright (C) 1995-2009 - All Rights Reserved</div><div>University Corporation for Atmospheric Research</div><div>NCAR Command Language Version 5.1.1</div><div>The use of this software is governed by a License Agreement.</div><div>See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.</div><div>warning:Unable to load System Resource File /gpfs1/software/ncarg/lib/<wbr>ncarg/lib/ncarg/sysresfile</div><div>warning:<wbr>WorkstationClassInitialize:<wbr>Unable to access rgb color database - named colors unsupported:[errno=2]</div><div>warning:["Palette.c":1533]:<wbr>NhlLoadColormapFiles: Invalid colormap directory: /gpfs1/software/ncarg/lib/<wbr>ncarg/lib/ncarg/colormaps</div><div>Illegal instruction (core dumped)</div><div><br></div><div><br></div><div>Thanks in advance for your assistance.</div><div><br></div><div>Regards</div><div><br></div><br><div class="m_-4327182885373944001gmail_signature"><div dir="ltr"><div>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>--------------</div><div>Bellamy</div><div>Specialist - iWYZE</div><a href="https://www.iwyze.co.za/products/car-insurance" target="_blank">Car Insurance</a></div></div>
</div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>