easyclimate.physics.energy.angmom_atm

Atmospheric Relative Angular Momentum

Functions

calc_relative_angular_momentum(zonal_wind_speed_data, ...)

Calculate atmospheric relative angular momentum.

Module Contents

easyclimate.physics.energy.angmom_atm.calc_relative_angular_momentum(zonal_wind_speed_data: xarray.DataArray, vertical_dim: str, vertical_dim_units: Literal['hPa', 'Pa', 'mbar'], lon_dim: str = 'lon', lat_dim: str = 'lat', weights=None)

Calculate atmospheric relative angular momentum.

Parameters

zonal_wind_speed_dataxarray.DataArray ( \(\mathrm{m/s}\) )

Zonal wind component with the least similar dimensions (vertical_dim, lon_dim, lat_dim)

vertical_dim: str.

Vertical coordinate dimension name.

vertical_dim_units: str.

The unit corresponding to the vertical p-coordinate value. Optional values are hPa, Pa, mbar.

lon_dim: str, default: lon.

Longitude coordinate dimension name. By default extracting is applied over the lon dimension.

lat_dim: str, default: lat.

Latitude coordinate dimension name. By default extracting is applied over the lat dimension.

weightsxarray.DataArray, optional

Weights for each latitude, same dimension as lat. If None, computed as \(\cos(lat)*\mathrm{d}lat\) with the values of latitude spacing.

Returns

aamxarray.DataArray ( \(\mathrm{kg} \cdot \mathrm{m^2/s}\) )

Atmospheric angular momentum.