<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Cedric,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This is odd, because the error message seems to be indicating that it&#39;s still trying to send the output to an X11 window, even though you included &quot;-W png&quot;.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Can you try this:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">ng4ex xy05n -n</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">and then edit the &quot;xy05n.ncl&quot; file and change:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">







<p class="">wks_type = <span class="">&quot;x11&quot;</span></p><p class=""><span class="">to:</span></p><p class=""><span class="">







</span></p><p class="">wks_type = <span class="">&quot;png&quot;</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">then run NCL on it:</span></p><p class="">ncl xy05n.ncl</p><p class="">If this still gives you the same error, then try changing the &quot;png&quot; to either &quot;ps&quot; or &quot;pdf&quot;.</p><p class="">Thanks,</p><p class="">--Mary</p><p class=""><br></p></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 27, 2016 at 11:02 AM, Cedric Figueres <span dir="ltr">&lt;<a href="mailto:cedric.figueres@stonybrook.edu" target="_blank">cedric.figueres@stonybrook.edu</a>&gt;</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>Good Afternoon Everyone,</div><div><br></div><div>Following the installation of NCL V r16461 with MiniConda, I obtain the following error:</div><div><br></div><div>$ ng4ex xy05n -clean -W png <br>    NCAR Graphics NCL Example <u></u> Copying xy05n.ncl       <br>      Copying xy05.res      Running NCL... <br>      Copyright (C) 1995-2015 - All Rights Reserved       <br>      University Corporation for Atmospheric Research <br>      NCAR Command Language Version r16461 <br>      The use of this software is governed by a License Agreement. <br>      See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.       <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&#39;t Create       <br>      fatal:Unable to access object with id:-4       <br>      fatal:_NhlCreate:Invalid Parent id #-4       <br>      fatal:NhlDraw: Invalid Layer Id: -4       <br>      fatal:Unable to update Workstation with PID#-4       <br>      fatal:Unable to clear Workstation with PID#-4       <br>      fatal:[&quot;Execute.c&quot;:8573]:Execute: Error occurred at or near line      173       <br><br>      Finished running &#39;ncl &lt; xy05n.ncl&#39;...</div><div><br></div><div>Could anyone help me with that?</div><div><br></div><div>Best regards,</div><div><br></div><div>Cedric Figueres<u></u> </div></div>
<br>_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br></blockquote></div><br></div>