- 积分
- 1376
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-8-15
- 最后登录
- 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
fi = addfile("H2A_SM2B20140714_14021.nc","r")
;data =new(dimsizes(fi->wind_speed_selection),float,-9999)
data = (fi->wind_speed_selection)* 0.01
lat2d =new(dimsizes(fi->wvc_lat),float,-9999)
lat2d = fi->wvc_lat
lon2d =new(dimsizes(fi->wvc_lon),float,-9999)
lon2d = fi->wvc_lon
lat2d@long_name = "latitude"
lon2d@long_name = "longitude"
lat2d@units ="degrees_north"
lon2d@units ="degrees_east"
data@lat2d = lat2d
data@lon2d = lon2d
wks = gsn_open_wks("pdf" ,"P_ws_21")
gsn_define_colormap(wks,"WhBlGrYeRe")
res = True
; res@gsnAddCyclic = False ; data not global
; res@mpFillOn = False
res@mpCenterLonF =180
res@mpLimitMode = "Corners"
res@mpLeftCornerLatF = -75
res@mpLeftCornerLonF = 5
res@mpRightCornerLatF = 75
res@mpRightCornerLonF = 355
res@cnFillOn = True
; res@cnFillMode = "RasterFill"
res@cnFillMode = "CellFill"
res@cnMonoFillScale = True
res@cnLinesOn = False
res@gsnSpreadColors = True
res@lbLabelBarOn = True
res@lbLabelAutoStride = True
res@lbBoxLinesOn = False
plot = gsn_csm_contour_map(wks,data,res)
end
|
-
form NCL-V6.0
|