爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 6519|回复: 5

ncl如何加入区县底图求助

[复制链接]

新浪微博达人勋

发表于 2016-3-25 15:08:57 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
各位大神,我是ncl初学者,想加入北京地区区县shp,但遇到困难,ncl最后脚本如下:
    ; MAKE PLOTS
;      plot = wrf_map_overlays(a,wks,(/contour_tc,contour_psl,vector/),pltres,mpres)
       plot1 = wrf_map_overlays(a,wks,(/contour_o3,vector/),pltres,mpres)
  end do        ; END OF TIME LOOP
  filename = "beijing.shp"
  pres             = True
  pres@gsLineColor = "black"
  pres@gsLineThicknessF =2
      plot2 = gsn_add_shapefile_polylines(wks,plot1,filename,pres)
;  overlay(plot2,plot1)
   draw(plot1) ; This will draw map and attached outlines or markers
   frame(wks)
出图和原图如下,为什么区县图加入不到原图中啊,脚本哪里有问题啊?

原图

原图

出图

出图
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-3-25 15:48:01 | 显示全部楼层
问题已解决,加一句: pltres@PanelPlot  = True   ; Tells wrf_map_overlays not to remove contours
就可以了
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-3-20 16:30:20 | 显示全部楼层
请问楼主,你的每个省的具体shp在哪里下的?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-3-21 09:05:45 | 显示全部楼层
Soaring 发表于 2017-3-20 16:30
请问楼主,你的每个省的具体shp在哪里下的?

用arcgis出,具体搜一下就好
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-3-21 09:13:17 | 显示全部楼层
haha778878 发表于 2017-3-21 09:05
用arcgis出,具体搜一下就好

谢谢,我找到办法了
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-5-2 20:30:51 | 显示全部楼层
谢谢楼主!
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表