Sample trajectories

A bundle of sample trajectories covering various situations has been included in the library for reference, testing and for providing a baseline to compare the performance of various algorithms.

All sample trajectories are available in the traffic.data.samples module. The import automatically dispatch to Flight or Traffic according to the nature of the data.

Warning

The dynamic import of trajectories from the traffic.data.samples module is only available in Python versions above 3.7.

# Python >= 3.7
from traffic.data.samples.featured import belevingsvlucht
from traffic.data.samples import belevingsvlucht  # no ambiguity

# Python >= 3.6
from traffic.data.samples import featured, get_sample
belevingsvlucht = get_sample(featured, 'belevingsvlucht')

Note

A subset of the sample trajectories are presented on this page. Other parts of the documentation (e.g. calibration flights or trajectory clustering) may refer to other available sample trajectories.

Select a different sample trajectory:

Belevingsvlucht

https://www.belevingsvlucht.nl/

On May 30th 2018, test flights were conducted along future routes arriving and departing from Lelystad Airport in the Netherlands. The purpose of this flight operated by a Boeing 737 owned by Transavia was to assess noise exposure in neighbouring cities.

from traffic.data.samples import belevingsvlucht
belevingsvlucht
Flight TRA051
  • aircraft: 484506 / PH-HZO (B738)
  • from: 2018-05-30 15:21:38+00:00
  • to: 2018-05-30 20:22:56+00:00

Dreamliner Air France

After getting their first Boeing 787 Dreamliner, Air France equipped a Socata TBM 900 and shot the following video in 8k. Both trajectories are (partly) available as sample flights.

from traffic.data.samples import dreamliner_airfrance
dreamliner_airfrance.between("2017-12-01 14:40", "2017-12-01 15:20")
Traffic with 2 identifiers
count
flight_id
dreamliner_airfrance 13143
dreamliner_tbm 4767
Flight AFR787V (dreamliner_airfrance)
  • aircraft: 39c424 / F-HRBE (B789)
  • from: 2017-12-01 14:40:01+00:00
  • to: 2017-12-01 15:19:59+00:00
Flight FWKDL (dreamliner_tbm)
  • aircraft: 3900fb / F-WKDL (TBM9)
  • from: 2017-12-01 14:40:33+00:00
  • to: 2017-12-01 15:19:59+00:00
import altair as alt

alt_chart = []
for flight in dreamliner_airfrance.between("2017-12-01 14:40", "2017-12-01 15:20"):
    alt_chart.append(flight.encode("altitude"))

alt.layer(*alt_chart)
Dreamliner altitude profile

Airbus tree

Before Christmas 2017, an Airbus pilot in Germany has delivered an early festive present by tracing the outline of an enormous Christmas tree during a test flight.

from traffic.data.samples import airbus_tree
airbus_tree
Flight AIB232E
  • aircraft: 3807fa / F-WWAE (A388)
  • from: 2017-12-13 11:47:15+00:00
  • to: 2017-12-13 17:08:40+00:00

Aerial surveys

National Geographic Institutes sometimes conduct aerial surveys including photography and LIDAR measurements from aircraft.

Note that each submodule gives access to the traffic instance, but you can access each flight individually directly from the traffic.data.samples level.

from traffic.data.samples import aerialsurvey
aerialsurvey.traffic
Traffic with 6 identifiers
count
flight_id
fontainebleau 1930
pixair 1819
gascogne 814
indiana 755
texas 703
mercantour 630
from traffic.data.samples import fontainebleau
fontainebleau
Flight FGALN
  • aircraft: 39016d / F-GALN (BE20)
  • from: 2019-02-27 08:51:13+00:00
  • to: 2019-02-27 16:04:21+00:00