- 积分
- 3379
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-5-21
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
NCL 不显示图形在Linux下装上NCL后设置环境变量为:
export NCARG_ROOT=/home/liuxy/ncl
export PATH=$NCARG_ROOT/bin:$PATH
ncl 调试时出现错误
敲入命令: ng4ex gsun01n
显示如下:
NCAR Graphics NCL Example <gsun01n>
This example was set up to display the output to an
X11 window.
Copying gsun01n.ncl
Running NCL...
Copyright (C) 1995-2013 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.1.2
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
warning:GKS:GOPWK: --X driver error: DISPLAY environment variable not set
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:NhlGetValues:PID #-4 is invalid
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 10679 in file $NCARG_ROOT/lib/ncarg/nclex/gsun/gsn_code.ncl
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 11
Finished running 'ncl < gsun01n'...
刚刚接触NCL,啥也不懂,请问这是什么问题,请各位帮忙解决一下,谢谢啦~~
|
|