plotting.regional_map_multicase module
Module: regional_map_multicase
Provides a plot with regional maps of specified variables for all cases (up to 10) in a row.
Since this is a specialty plot, it looks for several custom options to be provided in the YAML configuration file. For example, one might include this block in the YAML:
- region_multicase:
region_spec: [slat, nlat, wlon, elon] region_time_option: <calendar | zeroanchor> If calendar, will look for specified years. If zeroanchor will use a nyears starting from year_offset from the beginning of timeseries region_start_year: region_end_year: region_nyear: region_year_offset: region_month: <NULL means look for season> region_season: <NULL means use annual mean> region_variables: <list of variables to try to use; allows for a subset of the total diag variables>
- scripts.plotting.regional_map_multicase.autoscale_title(tiobj, ax, fig)[source]
Utility function that tries to shrink the title to fit on top of the Axes.
- scripts.plotting.regional_map_multicase.regional_map_multicase(adfobj)[source]
input -> ADF object
Sketch of workflow: - check for regional options (see module docstring), - get case names/locations (time series are used), - determine plot location and type - detect per-variable plot options - Loop through variables: make one multi-panel plot per variable