- 积分
- 95
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-3-9
- 最后登录
- 1970-1-1
|
发表于 2012-3-10 07:40:49
|
显示全部楼层
wxxxren 发表于 2012-3-9 14:49
深深太仗义了!
Guassian grid means that equally spaced in longitude, but unequally spaced in latitude. If you use NCL, then the conversion from Guassian to Fixed grid is very easy. It is like this:
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
begin
in = addfile ("$?.nc", "r")
pr = short2flt(in->prate)
dsizes_pr = dimsizes(in->prate)
ntim = dsizes_pr(0)
nlat = dsizes_pr(1)
nlon = dsizes_pr(2)
orig = new( (/ntim,nlat,nlon/),"float")
newgrid = g2fsh_Wrap(orig, (/97,192/))
|
|