- 积分
- 22543
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-8-18
- 最后登录
- 1970-1-1

成长值: 0
|
发表于 2017-11-8 02:24:20
|
显示全部楼层
还是靠午饭帮我思考了很多昂
自己解决了这个问题
方法如下
首先我发现加入yrev后,图1和图2分布相似,仅仅只是数值上有差异,所以,我!ncdump -h了一下数据,发现了这样的情况:
variables:
float longitude(longitude) ;
longitude:units = "degrees_east" ;
longitude:long_name = "longitude" ;
float latitude(latitude) ;
latitude:units = "degrees_north" ;
latitude:long_name = "latitude" ;
int time(time) ;
time:units = "hours since 1900-01-01 00:00:0.0" ;
time:long_name = "time" ;
time:calendar = "gregorian" ;
short u(time, latitude, longitude) ;
u:scale_factor = 0.00146870193037883 ;
u:add_offset = 2.89491079063637 ;
u:_FillValue = -32767s ;
u:missing_value = -32767s ;
u:units = "m s**-1" ;
u:long_name = "U component of wind" ;
u:standard_name = "eastward_wind" ;
其中我发现了scale factor 和 add offset这两个变量,好奇的查了一下发现
http://www.igorexchange.com/node/6550
这位大哥也遇到了这个问题,并且直接说出了解决办法:
multiply by "scale factor" and then add the "add offset" to every single value
如此这般,我解决了这个问题。。。。
以下是我的ctl,经检查,没啥毛病
dset D:\Precip\TRMM\2002\200201\2002%m2.nc
title U850
options template
options yrev
dtype netcdf
undef -32767
xdef 1440 linear 0 0.25
ydef 721 linear -90 0.25
zdef 1 linear 0 1
tdef 236 linear 00Z01JAN2002 360mn
vars 1
u=>u 0 t,y,x U component of wind
endvars
朱军晚安 |
|