Re: gsnMaskLambertConformal

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Dec 18 2009 - 14:19:13 MST

Hi Gary,

I wish it were this simple! The masking of the lambert conformal
projection is done the kludgy way by
drawing a filled polygon over the part of the plot you don't want to
see.

I'll see if I can pythonize the function that does the masking in the
NCL version.

--Mary

On Dec 18, 2009, at 1:09 PM, Gary Bates wrote:

> hi,
> What is the corresponding resource in PyNGL to
> gsnMaskLambertConformal?
>
> I've made a Lambert Conformal plot which *almost* looks as I'd like,
> except that continental outlines spill outside my chosen map area
> slightly. How do I mask out the map outside the lat/lon area i've
> specified?
>
> I have:
>
> resources.mpProjection = "LambertConformal"
> resources.mpLambertMeridianF = -110.
> resources.mpLambertParallel1F = 50.
> resources.mpLambertParallel1F = 50.
> resources.mpEllipticalBoundary = True
> resources.mpAreaMaskingOn = True
> resources.mpGridMaskMode = "MaskMaskArea"
> resources.mpLimitMode = "LatLon" # Specify area of map
> resources.mpMinLatF = 25.
> resources.mpMaxLatF = 75.
> resources.mpMinLonF = -170.
> resources.mpMaxLonF = -50.
> resources.mpGridLonSpacingF = 180
> resources.mpGridLatSpacingF = 90
>
> Thanks,
> Gary
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Fri Dec 18 14:19:24 2009

This archive was generated by hypermail 2.1.8 : Mon Feb 01 2010 - 08:33:45 MST