爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 6039|回复: 5

[其他] 安装NCL问题请教

[复制链接]
发表于 2017-7-13 13:42:17 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
按照教程装好后,输入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-2017 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.4.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:NhlGetValues:PID #-4 is invalid
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 11772 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl

fatal:["Execute.c":8638]:Execute: Error occurred at or near line 12


Finished running 'ncl < gsun01n.ncl'...


密码修改失败请联系微信:mofangbao
发表于 2017-7-13 14:36:01 | 显示全部楼层
x11 未配置好
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2017-7-18 14:49:59 | 显示全部楼层

论坛里有教程是吗 我看看
谢谢
密码修改失败请联系微信:mofangbao
发表于 2018-3-8 22:27:39 | 显示全部楼层
楼主解决了吗,求方法
密码修改失败请联系微信:mofangbao
发表于 2018-3-17 17:12:42 | 显示全部楼层
同样问题,怎么解决呢楼主
密码修改失败请联系微信:mofangbao
发表于 2018-3-20 21:12:12 | 显示全部楼层
修改完.bashrc后有source吗
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表