[ncl-talk] sub: Plot error
dale zuri
dalezuri at gmail.com
Wed Mar 15 21:24:14 MDT 2017
Hi,
Thanks. I fixed this issue by editing /etc/ssh/ssh_config
ForwardX11 no to yes
Thanks
On Tue, Mar 14, 2017 at 10:22 PM, Guido Cioni <guidocioni at gmail.com> wrote:
> So the problem is your machine.
> Try with the -Y option. If you have mac make sure you installed xquartz,
> otherwise ask your system administrator.
> Cheers
>
> Il giorno 14 mar 2017, alle ore 22:01, dale zuri <dalezuri at gmail.com> ha
> scritto:
>
> Hi ,
> 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.
>
> I would appreciate any suggestions.
> Thanks
>
> On Mon, Mar 13, 2017 at 12:38 AM, Guido Cioni <guidocioni at gmail.com>
> wrote:
>
>> Is it on your local machine? What kind of system are you using?
>> For these kind of problems you should write to ncl-install.
>>
>> Guido Cioni
>> http://guidocioni.altervista.org
>>
>> On 13 Mar 2017, at 04:03, dale zuri <dalezuri at gmail.com> wrote:
>>
>> Hi,
>> Very often I get this error. Please help me to fix this.
>>
>> Thank you
>> Copyright (C) 1995-2015 - All Rights Reserved
>> University Corporation for Atmospheric Research
>> NCAR Command Language Version 6.3.0
>> The use of this software is governed by a License Agreement.
>> See http://www.ncl.ucar.edu/ for more details.
>> GKS ERROR NUMBER -208 ISSUED FROM SUBROUTINE GOPWK :
>> --X driver error: DISPLAY environment variable not set
>> GKS ERROR NUMBER 25 ISSUED FROM SUBROUTINE GESC :
>> --SPECIFIED WORKSTATION IS NOT OPEN
>> fatal:Workstation with PID#8 is not open
>> fatal:Unable to open Workstation-Can't Create
>> fatal:Unable to access object with id:-4
>> fatal:_NhlCreate:Invalid Parent id #-4
>> fatal:PID #-4 can't be found in NhlSetValues
>> fatal:NhlGetValues:PID #-4 is invalid
>> fatal:["Execute.c":8575]:Execute: Error occurred at or near line 3575 in
>> file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl
>>
>> fatal:["Execute.c":8575]:Execute: Error occurred at or near line 5930 in
>> file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl
>>
>> fatal:["Execute.c":8575]:Execute: Error occurred at or near line 17 in
>> file maponly.ncl
>>
>> ================================================;
>> ; maponly_1.ncl
>> ;================================================;
>> ;
>> ; Concepts illustrated:
>> ; - Drawing a default cylindrical equidistant map
>> ;
>> ;================================================;
>> ;
>> ; These files are loaded by default in NCL V6.2.0 and newer
>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
>> ; ================================================;
>> begin
>>
>> wks = gsn_open_wks("x11","maponly") ; send graphics to PNG file
>> plot = gsn_csm_map_ce(wks,False) ; draw global map
>>
>> end
>>
>>
>> On Sat, Mar 11, 2017 at 11:04 PM, Guido Cioni <guidocioni at gmail.com>
>> wrote:
>>
>>> Hey,
>>> you have many errors so it would be useful if you actually send the
>>> script along.
>>> However, from your errors I can speculate many things.
>>> First, NCL is not able to open the x11 workstation. What kind of machine
>>> are you using? Did you set the correct environment?
>>> 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.
>>> The other errors are just follow up of the previous ones.
>>>
>>> > Il giorno 12 mar 2017, alle ore 04:21, dale zuri <dalezuri at gmail.com>
>>> ha scritto:
>>> >
>>> > Hi,
>>> > When I run ncl code I get this error. I don't understand this error.
>>> > Please drop your suggestion.
>>> > Thank you,
>>> > DZ
>>> >
>>> > GKS ERROR NUMBER -208 ISSUED FROM SUBROUTINE GOPWK :
>>> > --X driver error: DISPLAY environment variable not set
>>> > GKS ERROR NUMBER 25 ISSUED FROM SUBROUTINE GESC :
>>> > --SPECIFIED WORKSTATION IS NOT OPEN
>>> > fatal:Workstation with PID#8 is not open
>>> > fatal:Unable to open Workstation-Can't Create
>>> > fatal:Unable to access object with id:-4
>>> > fatal:PID #-4 can't be found in NhlSetValues
>>> > (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.
>>> > warning:create: Bad HLU id passed to create, ignoring it
>>> > fatal:_NhlCreate:Invalid Parent id #-4
>>> > fatal:PID #-4 can't be found in NhlSetValues
>>> > fatal:_NhlCreate:Invalid Parent id #-4
>>> > fatal:PID #-4 can't be found in NhlSetValues
>>> > fatal:NhlGetValues:PID #-4 is invalid
>>> > fatal:["Execute.c":8575]:Execute: Error occurred at or near line 3575
>>> in file /Users/ncl/lib/ncarg/nclscripts/csm/gsn_csm.ncl
>>> >
>>> > fatal:["Execute.c":8575]:Execute: Error occurred at or near line 5930
>>> in file /Users/ncl/lib/ncarg/nclscripts/csm/gsn_csm.ncl
>>> >
>>> > fatal:["Execute.c":8575]:Execute: Error occurred at or near line 7107
>>> in file /Users/ncl/lib/ncarg/nclscripts/csm/gsn_csm.ncl
>>> >
>>> > _______________________________________________
>>> > ncl-talk mailing list
>>> > ncl-talk at ucar.edu
>>> > List instructions, subscriber options, unsubscribe:
>>> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170315/1d4af241/attachment.html
More information about the ncl-talk
mailing list