weatherbench2.derived_variables.EddyKineticEnergy

class weatherbench2.derived_variables.EddyKineticEnergy(u_name='u_component_of_wind', v_name='v_component_of_wind')

Compute eddy kinetic energy.

Eddies are defined as the deviation from the instantaneous zonal mean.

Parameters:
  • u_name (str) –

  • v_name (str) –

__init__(u_name='u_component_of_wind', v_name='v_component_of_wind')
Parameters:
  • u_name (str) –

  • v_name (str) –

Return type:

None

Methods

__init__([u_name, v_name])

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.

u_name

v_name