climepi.ClimEpiDatasetAccessor#
- class climepi.ClimEpiDatasetAccessor(xarray_obj)#
Accessor class for xarray datasets accessed through the
.climepiattribute.Provides core methods, including for computing temporal and ensemble statistics, and for plotting.
- __init__(xarray_obj)#
Methods
__init__(xarray_obj)ensemble_stats([data_var, ...])Compute a range of ensemble statistics for a data variable.
monthly_average([data_var])Compute the monthly mean of a data variable.
plot_map([data_var, include_ocean])Generate a map plot of a data variable.
plot_time_series([data_var])Generate a time series plot of a data variable.
Plot contributions of climate uncertainty sources to uncertainty intervals.
plot_variance_decomposition([data_var, ...])Plot decomposition of variance from different climate uncertainty sources.
run_epi_model(epi_model, **kwargs)Run the epidemiological model on a climate dataset.
sel_geo(location[, lon, lat])Get data for the nearest grid point(s) to a specified location(s).
temporal_group_average([data_var, frequency])Compute the group average of a data variable.
Decompose uncertainty interval contributions.
variance_decomposition([data_var, fraction, ...])Decompose variance contributions from different climate uncertainty sources.
yearly_average([data_var])Compute the yearly mean of a data variable.
yearly_portion_suitable([...])Calculate the portion of each year that is suitable given suitability data.