weatherbench2.metrics.Metric

class weatherbench2.metrics.Metric

Base class for metrics.

__init__()
Return type:

None

Methods

__init__()

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.