- 积分
- 6541
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-11-17
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
由于本人要使用wrfout的LU_INDEX的数据
我用fwrite把数据写成二进制的数据
格式文件如下:
'reinit'
'open D:\modeloutput\2004wrfinput.ctl'
'set fwrite D:\modeloutput\2005.grd'
'set gxout fwrite'
'set t 1'
'set z 1'
'set lon 100.4 115.31'
'set lat 25.3 36.1784'
'd LU_INDEX'
'disable fwrite'
;
然后再用gs文件再去把2005.grd的数据画出来就出现错误?
(图请看附件)
画图的ctl文件
dset D:\modeloutput\2005.grd
undef 1.e35
xdef 663 linear 100.4 0.02252252
ydef 484 linear 25.3 0.02252252
zdef 1 linear 1 1
tdef 1 linear jan1974 12mo
vars 1
LU 0 99 LAND USE CATEGORY
endvars
gs文件
'reinit'
'open D:\modeloutput\LU_INDEX.CTL'
'D LU'
'enable print D:\modeloutput\LU.gmf'
'print'
'disable print'
;
不知道错在什么地方? 原数据出的图是对的。fwrite之后的数值跟之前的就不对!
请高手指点迷津?
谢谢
|
|