mapset#
- cfplot.mapset(lonmin=None, lonmax=None, latmin=None, latmax=None, proj='cyl', boundinglat=0, lon_0=0, lat_0=40, resolution='110m', user_mapset=1, aspect=None)[source]#
- Sets the mapping parameters.lonmin=lonmin - minimum longitudelonmax=lonmax - maximum longitudelatmin=latmin - minimum latitudelatmax=latmax - maximum latitudeproj=proj - 'cyl' for cylindrical projection. 'npstere' or 'spstere'for northern hemisphere or southern hemisphere polar stereographic.ortho, merc, moll, robin and lcc are abreviations for orthographic,mercator, mollweide, robinson and lambert conformal projections'rotated' for contour plots on the native rotated grid.boundinglat=boundinglat - edge of the viewable latitudes in astereographic plotlon_0=0 - longitude centre of desired map domain in polarstereographic and orthogrphic plotslat_0=40 - latitude centre of desired map domain in orthogrphic plotsresolution='110m' - the map resolution - can be one of '110m','50m' or '10m'. '50m' means 1:50,000,000 and not 50 metre.user_mapset=user_mapset - variable to indicate whether a user callto mapset has been made.The default map plotting projection is the cyclindrical equidistantprojection from -180 to 180 in longitude and -90 to 90 in latitude.To change the map view in this projection to over the United Kingdom,for example, you would usemapset(lonmin=-6, lonmax=3, latmin=50, latmax=60)ormapset(-6, 3, 50, 60)The limits are -360 to 720 in longitude so to look at the equatorialPacific you could usemapset(lonmin=90, lonmax=300, latmin=-30, latmax=30)ormapset(lonmin=-270, lonmax=-60, latmin=-30, latmax=30)The default setting for the cylindrical projection is for 1 degree oflongitude to have the same size as one degree of latitude. When plottinga smaller map setting aspect='auto' turns this off and the map fills theplot area. Setting aspect to a number a circle will be stretched suchthat the height is num times the width. aspect=1 is the same asaspect='equal'.The proj parameter accepts 'npstere' and 'spstere' for northernhemisphere or southern hemisphere polar stereographic projections.In addition to these the boundinglat parameter sets the edge of theviewable latitudes and lon_0 sets the centre of desired map domain.Map settings are persistent until a new call to mapset is made. Toreset to the default map settings use mapset().
- Returns:
None