Data Tools provided by the OpenSky Community
On this page, we will collect and briefly introduce some of the OpenSky-related tools provided by our extraordinary community, covering different functionalities in the main data science languages Python, R and Matlab. Principally, these are tools to access and process data either via our Impala shell (acess request required), our live API or our prepared datasets.
Further reading suggestions for better understanding of the air traffic data we use include:
All data tools:
Xavier Olive, Onera
The traffic library helps working with common sources of air traffic data. It provides a Python interface for our Impala shell among many other functions.
Its main purpose is to provide data analysis methods commonly applied to trajectories and airspaces. When a specific function is not provided, the access to the underlying structure is direct, through an attribute pointing to a pandas dataframe.
The library also offers facilities to parse and/or access traffic data from open sources of ADS-B traffic like the OpenSky Network or Eurocontrol DDR files. It is designed to be easily extendable to other sources of data.
Xavier Olive and Luis Basora.
A Python Toolbox for Processing Air Traffic Data: A Use Case with Trajectory Clustering.
In Proceedings of the 7th OpenSky Workshop 2019.
November 2019, 73–84.
Junzi Sun, TU Delft
pyModeS is a Python library designed to decode Mode-S (including ADS-B) message. It can be imported to your python project or used as a standalone tool to view and save live traffic data. pyOpenSky is a compatible interface for our Impala database, providing the options to:
- Query raw and ADS-B messages from OpenSky Impala database.
- Decode OpenSky Comm-B information automatically using pyModeS.
pyopensky connects the pyModeS decoder and OpenSky-network raw Mode-S data. It aims at making the Enhance Mode-S information form OpenSky network more accessible for researchers.
It can automatically retrieve and download data in
rollcall_replies_data4 table from the OpenSky Impala database, and then decodes several common Mode-S Comm-B message types.
Junzi Sun and Jacco Hoekstra.
Integrating pyModeS and OpenSky Historical Database.
In Proceedings of the 7th OpenSky Workshop 2019.
November 2019, 63–72.
MIT Lincoln Labs
The em-download-opensky repository is a collection of shell scripts and MATLAB code to query the OpenSky Network Impala database and download crowdsourced observations of aircraft.
The download data can then processed using the em-processing-opensky repository. Additionally, this software is a MATLAB and shell alternative to the Python-based Xavier Olive's traffic and Junzi Sun's pyModeS repositories. The shell scripts can be used independent of the MATLAB software. The software also enables queries based on AGL altitude, aerodromes, airspace class, and time zone. Although this is not a one-to-one MATLAB alternative to the Python repositories, as each repository queries the Impala database slightly different. For example, Olive's traffic software can query the Impala historical database based on an optional geographic footprint of an airspace or user defined shape with MSL altitude; whereas em-download-opensky generates custom bounding boxes based on AGL altitude. Some of the functionality might be useful for US-focused users.
Rafael Ayala, Okinawa Institute of Science and Technology Graduate University (openSkies)
Enrico Spinelli, Eurocontrol (osn)
Luis Gasco, Universidad Politécnica de Madrid (openSkyR)
There are several R-based wrappers available from different developers, providing access to either our live API or the Impala shell. openSkies is the most currently maintained and released on CRAN. It aims to provide the data structures and functionalities required to analyze and visualize aviation data in R. The package provides a system of classes with associated methods representing the most common entities related to aviation data, such as aircrafts, airports, flights or routes. It also includes a client interface to the OpenSky live API and Impala Shell, and a decoder of ADSB messages Finally, functions to process and plot aircraft and flight data are also provided. A full, detailed list of the available features can be found in the manual and the vignette of the package.
L.L. Schmidt and C. Bloemer-Zurborg, Institute of Flight Guidance, TU Braunschweig
The ADSbDataParser can be used to filter and preprocess ADS-B data and is especially adapted to historic traffic data with format state_vectors_data4 of The OpenSky Network. The data parser is developed using Java technology and m-files are provided to use the parser within MATLAB.
6. Stone Soup
Paul Thomas and Steven Hiscocks, UK Defence Science and Technology Laboratory
Stone Soup is a software project to provide the target tracking and state estimation community with a framework for the development and testing of tracking and state estimation algorithms. It includes an interface to the OpenSky REST API.
David Last, Paul Thomas, Steven Hiscocks, Jordi Barr, David Kirkland, Mamoon Rashid, Sang Bin Li, and Lyudmil Vladimirov. "Stone Soup: announcement of beta release of an open-source framework for tracking and state estimation." In Signal Processing, Sensor/Information Fusion, and Target Recognition XXVIII, vol. 11018, p. 1101807. International Society for Optics and Photonics, 2019.