I have my NCL libraries installed in my home directory (having <b>bin</b>,<b> include</b> and <b>lib</b> within <b>NCL</b> directory inside home directory)<div>I have copied plotgrids.ncl script and namelist.wps file within the bin directory inside NCL.</div>
<div>I have also set the environment to NCARG_ROOT=~/NCL</div><div><br></div><div>on using the command:</div><div>$&gt; ncl plotgrids.ncl</div><div><br></div><div>I am getting the following error:</div><div><br></div><div>
<br clear="all"><div><div><font color="#3366ff">ce12s023@c1hn1:~/NCL/bin&gt; ./ncl plotgrids.ncl </font></div><div><font color="#3366ff"> Copyright (C) 1995-2012 - All Rights Reserved</font></div><div><font color="#3366ff"> University Corporation for Atmospheric Research</font></div>
<div><font color="#3366ff"> NCAR Command Language Version 6.1.0</font></div><div><font color="#3366ff"> The use of this software is governed by a License Agreement.</font></div><div><font color="#3366ff"> See <a href="http://www.ncl.ucar.edu/">http://www.ncl.ucar.edu/</a> for more details.</font></div>
<div><font color="#3366ff">warning:GKS:GOPWK: --X driver error: DISPLAY environment variable not set</font></div><div><font color="#3366ff">fatal:Workstation with PID#8 is not open</font></div><div><font color="#3366ff">fatal:Unable to open Workstation-Can&#39;t Create</font></div>
<div><font color="#3366ff">fatal:Unable to access object with id:-4</font></div><div><font color="#3366ff">fatal:PID #-4 can&#39;t be found in NhlSetValues</font></div><div><font color="#3366ff">fatal:_NhlCreate:Invalid Parent id #-4</font></div>
<div><font color="#3366ff">fatal:PID #-4 can&#39;t be found in NhlSetValues</font></div><div><font color="#3366ff">fatal:Invalid plot ID=-4 passed to NhlGetBB</font></div><div><font color="#3366ff">fatal:NhlGetValues:PID #-4 is invalid</font></div>
<div><font color="#3366ff">fatal:[&quot;Execute.c&quot;:7743]:Execute: Error occurred at or near line 1948 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl</font></div><div><font color="#3366ff"><br></font></div>
<div><font color="#3366ff">fatal:[&quot;Execute.c&quot;:7743]:Execute: Error occurred at or near line 3091 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl</font></div><div><font color="#3366ff"><br></font></div>
<div><font color="#3366ff">fatal:[&quot;Execute.c&quot;:7743]:Execute: Error occurred at or near line 9849 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl</font></div><div><font color="#3366ff"><br></font></div>
<div><font color="#3366ff">fatal:[&quot;Execute.c&quot;:7743]:Execute: Error occurred at or near line 3620 in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl</font></div><div><font color="#3366ff"><br></font></div>
<div><font color="#3366ff">fatal:[&quot;Execute.c&quot;:7743]:Execute: Error occurred at or near line 3739 in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl</font></div><div><font color="#3366ff"><br></font></div>
<div><font color="#3366ff">fatal:[&quot;Execute.c&quot;:7743]:Execute: Error occurred at or near line 120 in file plotgrids.ncl</font></div><div><br></div></div>-- <br>Thanks &amp; Regards<br>TABISH U. ANSARI<div>Research Scholar<br>
Department of Civil Engineering<br></div><div>IIT-Madras</div>
</div>