- 积分
- 23
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2018-3-25
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 肖琪7 于 2019-4-15 00:22 编辑
本人ncl小白一枚,求各位大神指教数据在图上显示不出来
这是nc数据
脚本如下
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"
f = addfile("d:/CYGWin/tu/BCC-snd.nc","r")
snd = f->snd
lat = f->lat
lon = f->lon
snd@_FillValue=1.0E20
lat@units = "degrees_north"
lon@units = "degrees_east"
snd@lat=lat
snd@lon=lon
snd@_FillValue=-999
wks=gsn_open_wks("png","snd1")
res =True
res@cnFillOn =True
res@cnLinesOn =False
res@mpOutlineOn =True
res@gsnFrame =False
res@cnFillPalette = "NCV_blu_red"
res@cnLevelSelectionMode = "ExplicitLevels"
res@cnSmoothingOn = True
res@cnSmoothingDistanceF =0.005
res@cnSmoothingTensionF=2
res@cnLevels = (/0,5,10,15,20,25,30,35,40/)
res@mpMinLatF = 25
res@mpMaxLatF = 45
res@mpMinLonF = 70
res@mpMaxLonF = 105
res@mpCenterLonF= (res@mpMinLonF + res@mpMaxLonF)/ 2
res@lbOrientation="Vertical"
res@gsnAddCyclic = False
map = gsn_csm_contour_map(wks,snd(0,:,:),res)
filename ="D:/CYGWin/qing/DBATP/DBATP_Polygon.shp"
lnres = True
lnres@gsLineColor = "black"
lnres@gsLineThicknessF = 15
shp_plot= gsn_add_shapefile_polylines(wks,map,filename,lnres)
draw(map)
frame(wks)
读出来的图是这样子的
还有这个图的数值是什么意思,缺测值吗
|
|