- 积分
- 323
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-4-24
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load"$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
f1=addfile("C:/Users/Administrator/Desktop/data/uwnd.1987.nc","r")
g1=addfile("C:/Users/Administrator/Desktop/data/vwnd.1987.nc","r")
U=f1->uwnd(181:211,13,30:35,80:100)
V=g1->vwnd(181:211,13,30:35,80:100)
Lat=U&lat
Lon=U&lon
div=uv2dv_cfd(U,V,Lat,Lon,0)
Div=dim_avg_n_Wrap(div,0)
index=wgt_areaave(Div,1.0,1.0,0)
index@_FillValue= -9.96921e+36
b=floattoshort(index)
print(b)
Variable: b
Type: short
Total Size: 2 bytes
1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
Number Of Attributes: 1
_FillValue : -32767
(0) 0
|
|