<div dir="ltr">Hi Octavia,<div><br></div><div>In order to draw to an X11 window on a Mac you need to download, install, and run XQuartz. You can get it at <a href="http://xquartz.macosforge.org/landing/">http://xquartz.macosforge.org/landing/</a>.</div><div><br></div><div>You can also try to draw to a PostScript or PDF file instead of to an X11 window by using the -W option to ng4ex. In testing I find that gsun01n is only enabled for X11, but you can try other examples, e.g.:</div><div><br></div><div>ng4ex -W pdf cn01n -clean</div><div><br></div><div> -dave</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 5, 2014 at 12:32 PM, Octavia V. Crompton <span dir="ltr"><<a href="mailto:octavia@berkeley.edu" target="_blank">octavia@berkeley.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I'm trying to install NCL Version 6.2.0 and testing the installation<br>
with the command 'ng4ex gsun01n -clean'. I'm getting the following<br>
errors:<br>
<br>
GKS ERROR NUMBER -208 ISSUED FROM SUBROUTINE GOPWK :<br>
--X driver error: DISPLAY environment variable not set<br>
GKS ERROR NUMBER 25 ISSUED FROM SUBROUTINE GESC :<br>
--SPECIFIED WORKSTATION IS NOT OPEN<br>
fatal:Workstation with PID#8 is not open<br>
fatal:Unable to open Workstation-Can't Create<br>
fatal:Unable to access object with id:-4<br>
fatal:_NhlCreate:Invalid Parent id #-4<br>
fatal:NhlGetValues:PID #-4 is invalid<br>
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 12075<br>
in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl<br>
fatal:["Execute.c":8565]:Execute: Error occurred at or near line 12<br>
Finished running 'ncl < gsun01n'...<br>
<br>
I have a MAC OSX, version 10.9.3. How might I fix this?<br>
<br>
Thanks,<br>
Octavia<br>
_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
</blockquote></div><br></div>