climpred.reference.compute_climatology#
- climpred.reference.compute_climatology(initialized, verif=None, metric='pearson_r', comparison='m2e', alignment='same_inits', dim='init', **metric_kwargs)[source]#
Compute the skill of a climatology forecast.
- Parameters:
initialized – The initialized ensemble.
verif – control data, not needed
metric – Metric name to apply at each lag for the persistence computation. Default: ‘pearson_r’
dim – dimension to apply metric over.
** metric_kwargs – additional keywords to be passed to metric (see the arguments required for a given metric in Metrics).
- Returns:
clim –
- Results of climatology forecast with the input metric
applied.