- 积分
- 1308
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-3-8
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
begin
f=addfile("/date/rday/pday.nc","r")
n=f->pday
time=n&time
time@units="days since 1961-1-1 00:00:0.0"
xMonthAvg=new((/18628,72,128/),"byte")
xMonthAvg = calculate_monthly_values(n, "avg", 0, False)
xMonthSum = calculate_monthly_values(n, "sum", 0, False)
xMonthMin = calculate_monthly_values(n, "min", 0, False)
xMonthMax = calculate_monthly_values(n, "max", 0, False)
print(xMonthAvg)
end
报错
fatal:Assignment type mismatch, right hand side can't be coerced to type of left hand side
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 12762 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 19 in file test.ncl
|
|