weatherbench2.derived_variables.LapseRate

class weatherbench2.derived_variables.LapseRate(temperature_name='temperature', geopotential_name='geopotential')

Compute lapse rate in temperature.

Parameters:
  • temperature_name (str) –

  • geopotential_name (str) –

__init__(temperature_name='temperature', geopotential_name='geopotential')
Parameters:
  • temperature_name (str) –

  • geopotential_name (str) –

Return type:

None

Methods

__init__([temperature_name, geopotential_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.

geopotential_name

temperature_name