Re: how to plot a subregion with wrf_contour

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri Feb 18 2011 - 11:48:21 MST

This has been forwarded to wrfhelp@ucar.edu

Good luck

On 02/18/2011 11:40 AM, WuLongtao wrote:
> 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 Fri Feb 18 11:48:25 2011

This archive was generated by hypermail 2.1.8 : Wed Feb 23 2011 - 16:47:57 MST