<div dir="ltr"><div><div>Hi,<br></div>Thanks. I fixed this issue by editing /etc/ssh/ssh_config <br>ForwardX11 no to yes<br><br></div>Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 14, 2017 at 10:22 PM, Guido Cioni <span dir="ltr"><<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@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 style="word-wrap:break-word">So the problem is your machine.<div>Try with the -Y option. If you have mac make sure you installed xquartz, otherwise ask your system administrator. </div><div>Cheers</div><div><div class="h5"><div><br><div><blockquote type="cite"><div>Il giorno 14 mar 2017, alle ore 22:01, dale zuri <<a href="mailto:dalezuri@gmail.com" target="_blank">dalezuri@gmail.com</a>> ha scritto:</div><br class="m_7187748708156221925Apple-interchange-newline"><div><div dir="ltr"><div><div><div>Hi ,<br></div>No. I connect using ssh -X , though I get this error. Whenever I ssh connect and work from home I get this error otherwise not.<br><br></div>I would appreciate any suggestions.<br></div>Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 13, 2017 at 12:38 AM, Guido Cioni <span dir="ltr"><<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@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 style="word-wrap:break-word">Is it on your local machine? What kind of system are you using?<div>For these kind of problems you should write to ncl-install. <span class="m_7187748708156221925HOEnZb"><font color="#888888"><br><div>
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br class="m_7187748708156221925m_-6311118067821948669Apple-interchange-newline">Guido Cioni</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://guidocioni.altervista/" target="_blank">http://guidocioni.altervista</a>.o<wbr>rg</div>
</div></font></span><div><div class="m_7187748708156221925h5">
<br><div><blockquote type="cite"><div>On 13 Mar 2017, at 04:03, dale zuri <<a href="mailto:dalezuri@gmail.com" target="_blank">dalezuri@gmail.com</a>> wrote:</div><br class="m_7187748708156221925m_-6311118067821948669Apple-interchange-newline"><div><div dir="ltr"><div><div>Hi,<br></div>Very often I get this error. Please help me to fix this. <br><br></div>Thank you<br>Copyright (C) 1995-2015 - All Rights Reserved<br> University Corporation for Atmospheric Research<br> NCAR Command Language Version 6.3.0<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> 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:PID #-4 can't be found in NhlSetValues<br>fatal:NhlGetValues:PID #-4 is invalid<br>fatal:["Execute.c":8575]:Execu<wbr>te: Error occurred at or near line 3575 in file $NCARG_ROOT/lib/ncarg/nclscrip<wbr>ts/csm/gsn_csm.ncl<br><br>fatal:["Execute.c":8575]:Execu<wbr>te: Error occurred at or near line 5930 in file $NCARG_ROOT/lib/ncarg/nclscrip<wbr>ts/csm/gsn_csm.ncl<br><br>fatal:["Execute.c":8575]:Execu<wbr>te: Error occurred at or near line 17 in file maponly.ncl<br><br><div><div>==============================<wbr>==================;<br>; maponly_1.ncl<br>;=============================<wbr>===================;<br>;<br>; Concepts illustrated:<br>; - Drawing a default cylindrical equidistant map<br>;<br>;=============================<wbr>===================;<br>;<br>; These files are loaded by default in NCL V6.2.0 and newer<br> load "$NCARG_ROOT/lib/ncarg/nclscri<wbr>pts/csm/gsn_code.ncl"<br> load "$NCARG_ROOT/lib/ncarg/nclscri<wbr>pts/csm/gsn_csm.ncl"<br>; ==============================<wbr>==================;<br>begin<br><br> wks = gsn_open_wks("x11","maponly") <wbr> ; send graphics to PNG file<br> plot = gsn_csm_map_ce(wks,False) <wbr> ; draw global map<br><br> end<br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 11, 2017 at 11:04 PM, Guido Cioni <span dir="ltr"><<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
you have many errors so it would be useful if you actually send the script along.<br>
However, from your errors I can speculate many things.<br>
First, NCL is not able to open the x11 workstation. What kind of machine are you using? Did you set the correct environment?<br>
Second, you are trying to plot a contour field which is 1-Dimensional. I don’t know whether it is an error or not but you need to set to 1-D coordinate variables as well.<br>
The other errors are just follow up of the previous ones.<br>
<div><div class="m_7187748708156221925m_-6311118067821948669h5"><br>
> Il giorno 12 mar 2017, alle ore 04:21, dale zuri <<a href="mailto:dalezuri@gmail.com" target="_blank">dalezuri@gmail.com</a>> ha scritto:<br>
><br>
> Hi,<br>
> When I run ncl code I get this error. I don't understand this error.<br>
> Please drop your suggestion.<br>
> Thank you,<br>
> DZ<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:PID #-4 can't be found in NhlSetValues<br>
> (0) Error: scalar_field: If the input data is 1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of the same length.<br>
> warning:create: Bad HLU id passed to create, ignoring it<br>
> fatal:_NhlCreate:Invalid Parent id #-4<br>
> fatal:PID #-4 can't be found in NhlSetValues<br>
> fatal:_NhlCreate:Invalid Parent id #-4<br>
> fatal:PID #-4 can't be found in NhlSetValues<br>
> fatal:NhlGetValues:PID #-4 is invalid<br>
> fatal:["Execute.c":8575]:Execu<wbr>te: Error occurred at or near line 3575 in file /Users/ncl/lib/ncarg/nclscript<wbr>s/csm/gsn_csm.ncl<br>
><br>
> fatal:["Execute.c":8575]:Execu<wbr>te: Error occurred at or near line 5930 in file /Users/ncl/lib/ncarg/nclscript<wbr>s/csm/gsn_csm.ncl<br>
><br>
> fatal:["Execute.c":8575]:Execu<wbr>te: Error occurred at or near line 7107 in file /Users/ncl/lib/ncarg/nclscript<wbr>s/csm/gsn_csm.ncl<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> ncl-talk mailing list<br>
> <a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br>
</blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>