- 积分
- 166
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-10-10
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 weiguangjian 于 2013-3-25 11:23 编辑
首先感谢各位看帖人!
我用GrADS画wrfout逐时降水,出现如下问题。贴出*.ctl, *.gs关键语句以及错误信息,请各位大虾指正!
********************************************
.ctl
********
dset ^case24_d03_lv19.dat
options byteswapped
undef 1.e30
title OUTPUT FROM WRF V3.3.1 MODEL
pdef 300 300 lcc 35.541 119.712 150.500 150.500 60.00000 30.00000 120.00000 1000.000 1000.000
xdef 784 linear 117.93935 0.00450450
ydef 633 linear 34.10793 0.00450450
zdef 19 levels
1000.00000
950.00000
900.00000
850.00000
800.00000
750.00000
700.00000
650.00000
600.00000
550.00000
500.00000
450.00000
400.00000
350.00000
300.00000
250.00000
200.00000
150.00000
100.00000
tdef 25 linear 00Z21SEP2012 60MN
VARS 35
RAINC 1 0 ACCUMULATED TOTAL CUMULUS PRECIPITATION (mm)
RAINNC 1 0 ACCUMULATED TOTAL GRID SCALE PRECIPITATION (mm)
********************************************************************
*.gs
*****
'open ./case24_d03_lv19.ctl'
'set lon 119.98'
'set lat 35.88'
'set z 1'
'set t 1 25'
'define p=rainc+rainnc'
'define p2=p(t+0)-p(t-1)'
'd p2'
**********************************************************************
错误信息
**********
No hardcopy metafile open
All files closed; all defined objects released
All GrADS attributes have been reinitialized
Notice: Implied interpolation for file ./case24_d03_lv19.ctl
Interpolation will be performed on any data displayed from this file
Data Request Error: Invalid grid coordinates
World coordinates convert to non-integer grid coordinates
Variable = rainc Dimension = 0
Error ocurred at column 1
DEFINE error: Invalid expression.
Data Request Error: Invalid grid coordinates
World coordinates convert to non-integer grid coordinates
Variable = p Dimension = 0
Error ocurred at column 1
DEFINE error: Invalid expression.
Syntax Error: Invalid Operand
'p2' not a variable or function name
Error ocurred at column 1
DISPLAY error: Invalid expression
Expression = p2
No hardcopy metafile open
All files closed; all defined objects released
All GrADS attributes have been reinitialized
*****
错误提示好像是坐标问题和定义变量出错,以前也这么做过,都能出图。整糊涂了!
******************************************************
|
|