exceptions.CovariateDimsError

Covariate dimension names are inconsistent or malformed.

Usage

Source

exceptions.CovariateDimsError(message=None)

Raised by to_datatree() and add_forecast_groups() when covariate_dims does not name every covariates axis, or when the names passed to (or inherited by) add_forecast_groups() disagree with the dimension names already stored on the tree’s constant_data covariates.