NCL Home> Application examples> Maps and map projections || Data files for some examples

Example pages containing: tidbits | resources | functions/procedures

Masked Lambert Conformal Projections

A masked Lambert Conformal map is a regular Lambert Conformal map that has a particular area masked out so you can focus on an area of interest.
lcmask_1.ncl: Unmasked and masked lambert conformal projection.

mpProjection = "LambertConformal" turns on the correct projection.

gsnMaskLambertConformal = True will turn on the projection masking.

To mask the projection, you must set the boundaries with the following resources:
mpMinLonF
mpMaxLonF
mpMinLatF
mpMaxLatF

It is also required to set gsnAddCyclic to False whenever you plot a non-global domain.

lcmask_2.ncl: Maximized example with outline turned on.

gsnMaximize enlarges the plot to the point where the fonts are legible. For this type of plot, you will probably want to always have this resource turned on.

gsnMaskLambertConformalOutlineOn turns off a border around the plot

lcmask_3.ncl: Vectors on masked grid