AmdarTurbulenceData#

class rojak.core.data.AmdarTurbulenceData(data_frame, grid)[source]#

Abstract container for AMDAR turbulence observations, spatially bucketed onto a grid

Quality control (deduplication, minimum altitude, and manoeuvre filtering) is applied to the data on construction, see __apply_quality_control().

Parameters:
  • data_frame (dd.DataFrame)

  • grid (dgpd.GeoDataFrame)

__init__(data_frame, grid)[source]#
Parameters:
  • data_frame (dd.DataFrame) – AMDAR observations, spatially joined onto grid (see AmdarDataRepository.to_amdar_turbulence_data()). Must contain "datetime", "index_right", "level", and "geometry" columns.

  • grid (dgpd.GeoDataFrame) – Grid data_frame was spatially bucketed onto

Raises:

AssertionError – If data_frame is missing any required column

Return type:

None

Methods

__init__(data_frame, grid)

clip_to_time_window(window)

Restrict observations to a time window

turbulence_column_names()

Names of the columns holding turbulence-related quantities

turbulence_frequency_statistics(column_name, ...)

Compute the frequency of observed turbulence exceeding a threshold

Attributes

MINIMUM_ALTITUDE

data_frame

Quality-controlled AMDAR observations

grid

Grid data_frame is spatially bucketed onto