There is a wrf_map_zoom routine within ncl (or may be the name is not exact it
but close to) that you can use.
________________________________
From: WuLongtao <aos_rain@hotmail.com>
To: ncl-talk@ucar.edu
Sent: Fri, February 18, 2011 8:40:22 PM
Subject: how to plot a subregion with wrf_contour
Hello,
I would like to plot a subregion of my wrf output. I tried to set
res@mpMinLatF = -50
res@mpMaxLatF = 0
res@mpMinLonF =-100
res@mpMaxLonF =-70
But it didn't work. The followings are my setting. Do you have any suggestion?
Thanks!
-Longtao
********************************************************
a = addfile("wrfout_d01_2006-09-22_12:00:00.nc","r")
pblh = wrf_user_getvar(a,"PBLH",0)
wks=gsn_open_wks("ps","pbl_wrf")
res=True
res@cnFillOn = True
pltres = True
mpres = True
mpres@mpGeophysicalLineColor = "Black"
mpres@mpNationalLineColor = "Black"
mpres@mpUSStateLineColor = "Black"
mpres@mpGridLineColor &nbs p; = "Black"
gsn_define_colormap(wks,"rainbow")
res@FieldTitle = "PBLH_WRF"
contour=wrf_contour(a,wks,pblh,res)
plot=wrf_map_overlays(a,wks,(/contour/),pltres,mpres)
***************************************************************
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Feb 19 00:23:19 2011
This archive was generated by hypermail 2.1.8 : Wed Feb 23 2011 - 16:47:57 MST