WRF使用WPS/until下的工具画图遇到问题详解

WPS目录下运行ncl util/plotgrids_new.ncl画出模拟区域报错如下:

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
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 util/plotgrids_new.ncl

在Xshell软件中,点击文件-属性-SSH-隧道,将转发x11连接到xmanager勾选,点击确定即可(如下图),如果再次运行出现xmanager未安装,安装xmanager后运行即可。

WRF使用WPS/until下的工具画图遇到问题详解_第1张图片

 

你可能感兴趣的:(WRF)