- 积分
- 110
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-3-31
- 最后登录
- 1970-1-1
![未绑定新浪微博用户 新浪微博达人勋](source/plugin/sina_login/img/gray.png)
|
1金钱
本帖最后由 dreamFly1993 于 2020-9-13 17:30 编辑
读取nc数据叠加地图绘制,叠加完地图后达不到理想效果。帮忙看下如何配置地图属性:
代码:
- load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
- load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
- ; ================================================;
- begin
- ;=================================================;
- ; open file and read in data
- ;=================================================;
- f =addfile("/test.nc","r")
- u = f->tem
- ;=================================================;
- ; PLOT 2
- ;=================================================;
- wks = gsn_open_wks("png","conwomap") ; send graphics to PNG file
- res = True ; plot mods desired
- res@cnLinesOn = False
- res@cnFillOn = True ; turn on color
- res@cnFillPalette = "gui_default" ; set color map
- res@mpFillOn = True
- res@mpMinLatF = 0.03125
- res@mpMaxLatF = 64.96875
- res@mpMinLonF = 60.09375
- res@mpMaxLonF = 159.9688
- plot = gsn_csm_contour_map(wks,u,res) ; contour the variable
- end
复制代码
|
最佳答案
查看完整内容
试试
res@gsnAddCyclic = False
|