爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 9244|回复: 7

[作图] ncl util/plotgribs.ncl 出现问题

[复制链接]
发表于 2019-4-2 14:05:29 | 显示全部楼层 |阅读模式

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

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

x
在运行 ncl util/plotgribs.ncl的时候遇到下列问题,这个X11环境变量怎么设置呢?还有这个错误,我的目录里是有namelist.wps这个文件的。。。

求大神解释!!!
1212.png

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:PID #-4 can't be found in NhlSetValues
At line 64 of file plotgrids_var.f90 (unit = 10, file = '')
Fortran runtime error: File 'namelist.wps' does not exist


密码修改失败请联系微信:mofangbao
 楼主| 发表于 2019-4-2 14:15:24 | 显示全部楼层
把filename的路径改了以后出现了新的问题

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:PID #-4 can't be found in NhlSetValues
fatal:_NhlCreate:Invalid Parent id #-4
fatal:PID #-4 can't be found in NhlSetValues
fatal:Invalid plot ID=-4 passed to NhlGetBB
fatal:NhlGetValues:PID #-4 is invalid
fatal:["Execute.c":8575]:Execute: Error occurred at or near line 2235 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl

fatal:["Execute.c":8575]:Execute: Error occurred at or near line 3388 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl

fatal:["Execute.c":8575]:Execute: Error occurred at or near line 10360 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl

fatal:["Execute.c":8575]:Execute: Error occurred at or near line 4128 in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl

fatal:["Execute.c":8575]:Execute: Error occurred at or near line 4247 in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl

fatal:["Execute.c":8575]:Execute: Error occurred at or near line 200 in file /public/home/czhang/app/WRF/3.8.1/WPS/util/plotgrids_new.ncl

密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-4-2 14:17:43 | 显示全部楼层
我自己设置的X11的环境变量为
export DISPLAY=:0.0
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2019-8-5 10:59:48 | 显示全部楼层
请问下楼主解决了么,我也遇到同样的问题,请教
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2019-8-5 13:38:13 | 显示全部楼层
plotgribs/plotgrids???
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-8-6 10:26:24 | 显示全部楼层
tudouwa 发表于 2019-8-5 10:59
请问下楼主解决了么,我也遇到同样的问题,请教

1. 我用的超算不支持X11所以输出应该为png或者PDF等等就可以
2. 因为用的ncl版本高,所以应该用是plotgrids_new.ncl来画图
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2019-8-6 11:28:35 | 显示全部楼层
ZJJJY 发表于 2019-8-6 10:26
1. 我用的超算不支持X11所以输出应该为png或者PDF等等就可以
2. 因为用的ncl版本高,所以应该用是plotgr ...

恩恩,那估计就是超算问题,谢谢
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2023-11-9 20:39:46 | 显示全部楼层
ZJJJY 发表于 2019-4-2 14:15
把filename的路径改了以后出现了新的问题

The use of this software is governed by a License Agreem ...

我也遇到这个问题了,请问是如何解决的诶。我没连服务器
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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