- 积分
- 6156
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-9-11
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
怎么把边界shp文件添加到ncl脚本中那?
将脚本直接添加在wrf_Precip.ncl后面:
filename="/home/syrus/data/WRFDomain/shp/Qinghai-Tibet_Plateau.shp"
pres = True
pres@gsLineColor = "blue"
pres@gsLineThicknessF =2
poly=gsn_add_shapefile_polylines(wks,plot,filename,pres)
draw(plot)
frame(wks)
end
出现错误:
(0) Working on time: 2007-02-01_00:00:00
(0) Working on time: 2007-02-01_06:02:29
(0) Working on time: 2007-02-01_12:00:59
(0) Error: gsn_add_shapefile_polylines: geometry_type attribute must be 'polygon' or 'polyline'
(0) No shapefile information will be added.
如下图所示:
问题1:history_interval = 180,为什么跑出来的数据时间是混乱的
问题2:Error: gsn_add_shapefile_polylines: geometry_type attribute must be 'polygon' or 'polyline'
(0) No shapefile information will be added.
其中Qinghai-Tibet_Plateau.shp是从气象家园上下载的shp文件
谢谢大家
|
|