It works now. Thanks all!
-Longtao
Subject: Re: how to plot a subregion with wrf_contour
From: haley@ucar.edu
Date: Tue, 22 Feb 2011 10:58:06 -0700
CC: ncl-talk@ucar.edu
To: drostkier@yahoo.com; aos_rain@hotmail.com
If you have a version of NCL later than V5.1.0. the recommended method is the "ZoomIn" attribute that is recognized by wrf_map:
http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_map.shtml
There are some examples of using "ZoomIn" on the WRF-ARW page:
http://www.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/SPECIAL/olr.htm
--Mary
On Feb 19, 2011, at 12:23 AM, Dorita Rostkier-Edelstein wrote: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 Tue Feb 22 11:46:24 2011
This archive was generated by hypermail 2.1.8 : Wed Feb 23 2011 - 16:47:57 MST