- 积分
- 131
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2019-1-9
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
求问大神,这种报错是什么原因???要怎么该???
fatal:ContourPlotDraw: Workspace reallocation would exceed maximum size 100000000
fatal:ContourPlotDraw: draw error
fatal:ContourPlotDraw: draw error
fatal:PlotManagerDraw: error in plot draw
fatal:_NhlPlotManagerDraw: Draw error
绘图的代码如下:
begin
f=addfile("/data/world_geo.nc", "r")
print(f)
lat=f->y
lon=f->x
height=f->z
printVarSummary(height)
lat@units ="degrees_north"
lon@units ="degrees_east"
height!0="latitude"
height&latitude = lat
height!1="longitude"
height&longitude = lon
printVarSummary(height)
wks=gsn_open_wks("png","/data/cyx_data/plot/height_line")
gsn_define_colormap(wks,"WhiteBlueGreenYellowRed")
;rainbow,ncl_default,BlueRed,testcmap,BlueWhiteOrangeRed;,MPL_BrBG,cmocean_balance,BlRe
res=True
res@gsnAddCyclic = False
res@gsnFrame=False ;翻页
res@gsnDraw=False ;绘图
res@gsnLeftString =""
res@gsnRightString =""
res@pmTickMarkDisplayMode = "Always"
res@tmXTOn=False ;刻度和标注显隐开关
res@tmYROn=False ; 刻度和标注显隐开关
res@cnFillOn = True ; 打开颜色填色
res@cnLinesOn = True
res@mpMaxLatF =60;45
res@mpMinLatF =0;15
res@mpMaxLonF =120
res@mpMinLonF =20
;res@cnLevelSelectionMode = "ExplicitLevels" ;绘制特定等值线
;res@cnlevels = (/2500/)
plot=gsn_csm_contour_map(wks, height, res)
draw(plot)
frame(wks)
;setvalues NhlGetWorkspaceObjectId()
; "wsMaximumSize": 600000000
;nd setvalues
end
|
|