- 积分
- 91
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-5-3
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
变量:
Variable: f
Type: file
filename: 1
path: /cygdrive/e/datesurface/indicatedate/1.grib
file global attributes:
dimensions:
initial_time0_hours = 6938
g0_lat_1 = 361
g0_lon_2 = 720
variables:
float LGWS_GDS0_SFC ( initial_time0_hours, g0_lat_1, g0_lon_2 )
center : European Center for Medium-Range Weather Forecasts (RSMC
)
long_name : East-West surface stress
units : N m**-2 s
_FillValue : 1e+20
level_indicator : 1
gds_grid_type : 0
parameter_table_version : 128
parameter_number : 180
forecast_time : 3
forecast_time_units : hours
脚本:
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/wrf/WRFUserARW.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
; ================================================;
begin
;=================================================;
; open file and read in data
;=================================================;
f = addfile("/cygdrive/e/datesurface/indicatedate/1.grib","r")
u = f->LGWS_GDS0_SFC(6937,360,719)
aveu = dim_avg_n(u,0)
wks = gsn_open_wks("pdf","11111110") ; open a ps file
gsn_define_colormap(wks,"gui_default") ; choose a colormap
res = True ; plot mods desired
res@cnFillOn = True ; turn on color
;---This resource not needed in NCL V6.1.0
res@gsnSpreadColors = True ; use full range of colormap
plot = gsn_csm_contour_map_ce(wks,aveu,res)
end
不知道哪里出错了 求大神指点啊
|
|