- 积分
- 248
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-7-2
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2018-9-10 15:59:33
|
显示全部楼层
已经解决。
plot(i) = gsn_csm_contour_map_overlay(wks,pvo(20,:,:),hgt(:,:),opts_latlon,opts_latlon2)
是因为我第一个变量pvo用了WRF_map_c来确定地图区域,第二个变量hgt的res直接等于第一个,第二个变量也应该设置WRF_map_c.
WRF_map_c(a,opts_latlon,0) ; reads info from file
opts_latlon@tfDoNDCOverlay = True
if (.not.opts_latlon@tfDoNDCOverlay) then
lat2d = a->XLAT(0,:,:)
lon2d = a->XLONG(0,:,:)
pvo@lat2d = lon2d
pvo@lon2d = lat2d
end if
WRF_map_c(a,opts_latlon2,0) ; reads info from file
opts_latlon2@tfDoNDCOverlay = True
if (.not.opts_latlon2@tfDoNDCOverlay) then
lat2d = a->XLAT(0,:,:)
lon2d = a->XLONG(0,:,:)
hgt@lat2d = lon2d
hgt@lon2d = lat2d
end if |
|