climepi.epimod.SuitabilityModel.run#
- SuitabilityModel.run(ds_clim, return_yearly_portion_suitable=False, suitability_threshold=0)[source]#
Run the epidemiological model on a given climate dataset.
Extends the parent method to include the option to return the number of days/months suitable each year (depending on the resolution of the climate data), rather than the full suitability dataset.
- Parameters:
ds_clim (
xarray.Dataset) – The input climate dataset.return_yearly_portion_suitable (
bool, optional) – Whether to return the number of days/months suitable each year (depending on the resolution of the climate data), rather than the full suitability dataset. Default isFalse.suitability_threshold (
float, optional) – The minimum suitability threshold for a day/month to be considered suitable. Only used ifreturn_yearly_portion_suitableisTrue. Default is 0.
- Returns:
xarray.Dataset– The output epidemiological dataset.