weatherbench2.derived_variables.DerivedVariable

class weatherbench2.derived_variables.DerivedVariable

Derived variable base class.

__init__()
Return type:

None

Methods

__init__()

compute(dataset)

Compute derived variable, returning it in a new DataArray.

Attributes

all_input_core_dims

The set of all input core dimensions.

base_variables

Return a list of base variables.

core_dims

Return core dimensions needed for computing this variable.