pyopensky

Contents

  • Installation
  • Credentials
  • The REST API
  • The Trino database
  • Advanced Trino queries
  • Rebuilding trajectories
pyopensky
  • pyopensky
  • View page source

pyopensky

Source code on github

The pyopensky library provides function to easily download data from The OpenSky Network databases. This minimal library is ideal for quickly downloading and locally saving data that you will use in your future studies. All functions return pandas DataFrame.

Hint

If Python is your language of choice in general, and you are interested in analysing aircraft trajectories, please refer to the following section in the traffic library. traffic wraps the same pyopensky queries and returns Traffic and Flight objects.

Contents

  • Installation
  • Credentials
    • Apply for access
    • Configuration
    • Fallback configuration
  • The REST API
    • REST
  • The Trino database
    • Trino
  • Advanced Trino queries
    • Using schema objects with SQLAlchemy
    • Selecting specific columns
    • Configuring Trino sessions
    • Batching directed routes
    • Filtering flight metadata in history queries
    • Raw messages for directed routes
    • Spatial queries with bounds
    • Spatial functions with SQLAlchemy
    • Ring-shaped area queries
    • Query data from specific ADS-B receivers
    • Extending temporal range for airport queries
    • Filtering with boolean expressions
    • Pattern matching with like()
    • Filtering for non-null values
    • Inspecting database schema
    • Available tables
    • See also
  • Rebuilding trajectories
    • When to use the rebuild functionality
    • Rebuilding without custom decoding
    • Rebuilding with custom decoding
    • Available decoders
    • Performance considerations
Next

© Copyright 2023, Xavier Olive, Junzi Sun.

Built with Sphinx using a theme provided by Read the Docs.