slv.basemap#

Basemap figure builder for the Salt Lake Valley.

The SaltLake class constructs a cartopy-backed matplotlib figure and exposes add_* methods for layering features (tiler, inventory, borders, TRAX, sites, etc.) onto it.

Classes

SaltLake([bounds, ax, crs, figsize, tiler, ...])

Salt Lake Valley map class.

class slv.basemap.SaltLake(bounds=(-112.25, 40.4, -111.62, 40.95), ax=None, crs=None, figsize=(6, 6), tiler=None, tiler_zoom=9, Inventory=False, Inventory_cmap=None, census=False, background_alpha=0.3, state_borders=False, county_borders=False, interstates=False, TRAX=False, UUCON=False, MesoWest=False, Meso_status='active', Meso_networks=['UUNET'], radiosonde=False, helicopter=False, DAQ=False, scale_bar=False, north_arrow=False, legend=True, legend_kws=None, legend_mapper=None, extent_map=False, latlon_ticks=True, more_lon_ticks=1, more_lat_ticks=0)[source]#

Salt Lake Valley map class.

add_tiler(tiler, tiler_zoom)[source]#

Add a tiler background to the map.

add_Inventory(Inventory, alpha)[source]#

Add an inventory to the map.

add_census(census, alpha)[source]#

Add census data to the map.

add_border(lvl)[source]#

Add state or county borders to the map.

add_interstates()[source]#

Add interstate highways to the map.

add_TRAX(lines)[source]#

Add TRAX lines to the map.

add_UUCON(sites)[source]#

Add UUCON sites to the map.

add_MesoWest(status, networks)[source]#

Add MesoWest stations to the map.

add_north_arrow()[source]#

Add a north arrow to the map.

add_legend(legend_kws, legend_mapper)[source]#

Add a legend to the map.

add_extent_map()[source]#

Add an extent map to the map.

__init__(bounds=(-112.25, 40.4, -111.62, 40.95), ax=None, crs=None, figsize=(6, 6), tiler=None, tiler_zoom=9, Inventory=False, Inventory_cmap=None, census=False, background_alpha=0.3, state_borders=False, county_borders=False, interstates=False, TRAX=False, UUCON=False, MesoWest=False, Meso_status='active', Meso_networks=['UUNET'], radiosonde=False, helicopter=False, DAQ=False, scale_bar=False, north_arrow=False, legend=True, legend_kws=None, legend_mapper=None, extent_map=False, latlon_ticks=True, more_lon_ticks=1, more_lat_ticks=0)[source]#
collect_feature()[source]#
add_tiler(*args, **kwargs)[source]#
add_Inventory(*args, **kwargs)[source]#
add_census(*args, **kwargs)[source]#
add_border(*args, **kwargs)[source]#
add_interstates(*args, **kwargs)[source]#
add_TRAX(*args, **kwargs)[source]#
add_UUCON(*args, **kwargs)[source]#
add_MesoWest(*args, **kwargs)[source]#
add_radiosonde(*args, **kwargs)[source]#
add_helicopter(*args, **kwargs)[source]#
add_DAQ(*args, **kwargs)[source]#
add_scale_bar(*args, **kwargs)[source]#
add_north_arrow(*args, **kwargs)[source]#
add_legend(*args, **kwargs)[source]#
add_extent_map(*args, **kwargs)[source]#