scripts.plotting.global_mean_timeseries
Use time series files to produce global mean time series plots for ADF web site.
Includes a minimal Class for bringing CESM2 LENS data from I. Simpson’s directory (to be generalized).
Classes
Access Isla's LENS2 data to get annual means. |
Functions
|
custom warning |
|
load time series file, calculate global mean, annual mean |
|
Determines whether to save figure |
|
Return the path for plot files. |
|
plot yearly values of ref_ts_da |
Module Contents
- scripts.plotting.global_mean_timeseries.my_formatwarning(msg, *args, **kwargs)[source]
custom warning
- scripts.plotting.global_mean_timeseries.global_mean_timeseries(adfobj)[source]
load time series file, calculate global mean, annual mean for each case Make a combined plot, save it, add it to website. Include the CESM2 LENS result if it can be found.
- scripts.plotting.global_mean_timeseries.conditional_save(adfobj, plot_name, fig, verbose=None)[source]
Determines whether to save figure
- scripts.plotting.global_mean_timeseries.get_plot_loc(adfobj, verbose=None)[source]
Return the path for plot files. Contains side-effect: will make the directory and parents if needed.