CATData#
- class rojak.core.data.CATData(dataset, pressure_level_prefix, *, persist=True)[source]#
CATPrognosticDataextended with the derived quantities required by CAT diagnosticsThis is the concrete interface that
MetData.to_clear_air_turbulence_data()must return: everyMetDatasource is required to be able to produce one of these, which is what letsrojak.turbulencediagnostics work against any data source uniformly.Each derived quantity is computed lazily on first access and cached thereafter (and persisted, unless constructed with
persist=False).Methods
__init__(dataset, pressure_level_prefix, *)altitude()Altitude
divergence()Horizontal divergence of wind in m/s
geopotential()Geopotential in m^2/s^2
ice_supersaturated_regions([rhi_threshold])Boolean mask of ice-supersaturated regions (ISSR), see
rojak.atmosphere.contrails.issr()issr_along_path(lon_points, lat_points[, ...])Boolean mask of ice-supersaturated regions (ISSR), interpolated onto a path of longitude/latitude points
jacobian_horizontal_velocity()Determinant of the Jacobian of the horizontal velocity field, i.e. du/dx * dv/dy - du/dy * dv/dx.
potential_temperature()Potential temperature, see
rojak.turbulence.calculations.potential_temperature()potential_vorticity()Potential vorticity
pressure_level([convert_to_pascals])Pressure level coordinate
shear_deformation()Shear deformation, see
rojak.turbulence.calculations.shearing_deformation()specific_humidity()Specific humidity
specific_velocity_derivative(target_derivative)A single component of
velocity_derivatives()stretching_deformation()Stretch deformation, see
rojak.turbulence.calculations.stretching_deformation()temperature()Air temperature in Kelvin
time_window()Minimum and maximum values of the time coordinate
total_deformation()Total deformation, see
rojak.turbulence.calculations.total_deformation()u_wind()Zonal (eastward) wind speed in m/s
v_wind()Meridional (northward) wind speed in m/s
velocity_derivatives()All four horizontal velocity derivatives, see
rojak.core.derivatives.vector_derivatives()vorticity()Vertical component of vorticity in m/s
Attributes
required_coordsrequired_variables