Era5Data#

class rojak.datalib.ecmwf.era5.Era5Data(on_pressure_level, *, persist=True)[source]#

Adapts a loaded ERA5 dataset on pressure levels into the CATData required by rojak.turbulence

The class-level DataVarSchema attributes map each ERA5 variable’s short name (as stored in the raw dataset) to its CF standard name (as required by CATPrognosticData).

Parameters:
  • on_pressure_level (xr.Dataset)

  • persist (bool)

__init__(on_pressure_level, *, persist=True)[source]#
Parameters:
  • on_pressure_level (xr.Dataset) – Raw ERA5 dataset on pressure levels, as downloaded by Era5Retriever

  • persist (bool) – See __init__(). Defaults to True.

Return type:

None

Methods

__init__(on_pressure_level, *[, persist])

select_domain(domain, data[, ...])

Subset a Dataset to the given spatial (and, if specified, vertical) domain

shift_ds_longitude(data[, domain_bound, ...])

See shift_longitude(), using this instance's configured longitude coordinate name

to_clear_air_turbulence_data(domain)

Adapt the raw ERA5 dataset into a CATData, restricted to domain

Attributes

divergence

eastward_wind

geopotential

northward_wind

persist

Whether the CATData produced by to_clear_air_turbulence_data() persists its fields

potential_vorticity

specific_humidity

temperature

vertical_velocity

vorticity