[ncl-talk] limit map region for Lambert Conformal projection
Dennis Shea
shea at ucar.edu
Mon Jan 27 16:05:59 MST 2020
NARR are Lambert Conformat:
*http://www.ncl.ucar.edu/Applications/narr.shtml*
<http://www.ncl.ucar.edu/Applications/narr.shtml>
ncl_3.ncl
See plot section
===
WRF projection information is contained within the file attributes
fwrf = addfile("wrf...nc","r")
...
Something like:
res at mpLambertParallel1F = fwrf->Latin1
res at mpLambertParallel2F = fwrf->Latin2
res at mpLambertMeridianF = fwrf->LoV
========================================
res at gsnAddCyclic = False ; regional data
res at mpLimitMode = "Corners" ; choose range of map
res at mpLeftCornerLatF = lat2d(0,0)
res at mpLeftCornerLonF = lon2d(0,0)
res at mpRightCornerLatF = lat2d(nlat-1,mlon-1)
res at mpRightCornerLonF = lon2d(nlat-1,mlon-1)
res at tfDoNDCOverlay = True
res at mpProjection = "LambertConformal"
res at mpLambertParallel1F = lat2d at mpLambertParallel1F
res at mpLambertParallel2F = lat2d at mpLambertParallel2F
res at mpLambertMeridianF = lat2d at mpLambertMeridianF
On Mon, Jan 27, 2020 at 2:02 PM Zhifeng Yang via ncl-talk <ncl-talk at ucar.edu>
wrote:
> Hi all,
> I have WRF output files with Lambert Conformal projection. When I plot
> images with contour on maps, I tried to limit the plot over a specific
> region, not the whole domain. I tried the following
> res at mpLimitMode = "latlon"
> res at mpMinLatF = minlat
> res at mpMaxLatF = maxlat
> res at mpMinLonF = minlon
> res at mpMaxLonF = maxlon
>
> However, it seems it does not work. Do you have any ideas on it? Thank you!
>
> Best,
> Zhifeng
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200127/2e38c29b/attachment.html>
More information about the ncl-talk
mailing list