Configuration¶
Before we get started we need to correctly configure the library.
This library will save quite a few large files to disk (downloaded flights, processed graphs) and it needs a folder to do so. By default this folder will be python’s current directory, but it can be set to a specific folder by modifying the config file (located by default at ~/.config/flight_processing/flight_processing.conf
):
[global]
data_location = /path/to/data/dir
We must also configure the traffic library so it uses correct credentials for the OpenSky Impala interface. More detailed documentation can be found here, but the gist is as follows:
Edit the following lines in your traffic configuration file:
[opensky]
username =
password =
This library uses the logging module to handle its logs - configure your logger’s level to get more (or less) verbose logging: