Read/Export Functions

Read (from file)/Export (from DB/API) trajectories.

read_cpr()

Read Network Manager's archived CPR file

read_flights_fr24()

Read FR24's archived flights information for a day.

read_positions_fr24()

Read FR24's archived positions information for a flight.

read_so6()

Read SO6 file

export_allft_so6()

Export "ALL_FT+"-based trajectories to SO6 format

export_apds()

Export APDS (airport) data

export_event_so6()

Export "Event"-based trajectories to SO6 format

export_event_trajectory()

Export event-based NM trajectories

export_flights_at_airport_fr24()

Export FlightRadar24 flight movements at an airport in an interval of time

export_flights_fr24()

Export FlightRadar24 flight movements for an interval of time

export_hourly_adsb()

Export list of hourly-binned flights and aircraft info

export_model_trajectory()

Export point profile from NM trajectories

export_positions_at_airport_fr24()

Export FlightRadar24 position reports from flights flying around an airport

export_positions_fr24()

Extract FR24 flights list for a time interval at an airport

import_flights_csvs()

Import various FR24 flights CSV files.

arrivals_impala_osn()

Get arrivals at airport

arrivals_osn()

Get arrival at airport from Opensky Network

connect_osn()

Create an ssh session to OpenSky Network’s Impala shell.

departures_impala_osn()

Get departures from airport

disconnect_osn()

Disconnect from OpenSky Network’s Impala shell.

state_vector_impala_osn()

Get state vectors from OSN

track_osn()

Extract track for flight.

Plot Horizontal/Vertical Trajectories

plot_cpr_horizontal()

Plot CPR trajectories on a map

plot_flight_horizontal()

Plot the recorded positions of a flight on a map.

plot_flight_vertical_distance()

Plot the vertical profile of the recorded positions of a flight from lapsed distance perspective.

plot_flight_vertical_time()

Plot the vertical profile of the recorded positions of a flight from lapsed time perspective.

cumulative_distance()

Calculate the cumulative distance (in km).

cumulative_time()

Calculate the cumulative time (in s).

Geographical Coordinates Conversions

dms2dd()

Convert Degree Minute Seconds (DMS) format to Decimal Degrees (DD)

ddm2dd()

Convert Degree decimal Minute (DdM)) format to Decimal Degrees (DD).

parse_lat_icao()

Parse latitude in ICAO format

parse_lon_icao()

Parse longitude in ICAO format

Analysis of Trajectories

extract_segment()

Extract level segment from a list of position reports.

Helpers

airac()

Return the ICAO IRAC id for a date

airac_epoch()

AIRAC epoch as from ICAO Doc 8126

airac_interval()

The interval od dates for an (ICAO) AIRAC

airac_year_epoch()

Return the effective date of the first AIRAC for year `year`

cfmu_airac()

return the CFMU AIRAC cycle number for a date

cfmu_airac_epoch()

The CFMU epoch date for AIRAC numbering scheme

cfmu_airac_epoch_number()

The CFMU epoch number for AIRAC numbering scheme

cfmu_airac_interval()

The interval of dates for a CFMU AIRAC number

fix_flights_csvs()

Fix a list flights' CSV files where callsigns contains ASCII NUL characters.

fix_nulls_in_callsign()

Fix flights' CSV file where callsigns contains ASCII NUL characters.