- 积分
- 22
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2021-3-2
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
为什么等值线全是黑线
f=addfile("ersst.v4.200611.nc","r") ; r means open the file to read
fSST = short2flt(f->sst)
wks = gsn_open_wks("png","SST_sample") ; 指定輸出成 pdf 格式
res = True ; plot mods desired
res@cnLevelSelectionMode = "ManualLevels" ; set manual contour levels
res@cnMinLevelValF = -10. ; set min contour level
res@cnMaxLevelValF = 34. ; set max contour level
res@cnLevelSpacingF = 4. ; set contour spacing
res@tiMainString = "ERSST" ; plot title
res@cnFillOn = True ; turn on color fill
res@cnLinesOn = True ; turn of contour lines
res@cnLevelSpacingF = 0.5 ; contour spacing
res@cnFillPalette = "BlAqGrYeOrRe"
res@gsnAddCyclic = False ; data already has cyclic point
; this must also be set for any zoom
res@mpMinLatF = -60 ; range to zoom in on
res@mpMaxLatF = 30.
res@mpMinLonF = 30.
res@mpMaxLonF = 120.
plot = gsn_csm_contour_map(wks,fSST(0,0,:,:),res)
|
|