weatherbench2.metrics.EnsembleMetric

class weatherbench2.metrics.EnsembleMetric(ensemble_dim='realization')

Ensemble metric base class.

Parameters:

ensemble_dim (str) –

__init__(ensemble_dim='realization')
Parameters:

ensemble_dim (str) –

Return type:

None

Methods

__init__([ensemble_dim])

compute(forecast, truth[, region])

Evaluate this metric on datasets with full temporal coverages.

compute_chunk(forecast, truth[, region])

Evaluate this metric on a temporal chunk of data.

Attributes

ensemble_dim