All Projects → xoolive → Traffic

xoolive / Traffic

Licence: mit
A toolbox for processing and analysing air traffic data

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Traffic

Gspread Pandas
A package to easily open an instance of a Google spreadsheet and interact with worksheets through Pandas DataFrames.
Stars: ✭ 226 (+63.77%)
Mutual labels:  data-science, data-analytics
Data Science With Ruby
Practical Data Science with Ruby based tools.
Stars: ✭ 549 (+297.83%)
Mutual labels:  data-science, data-analytics
datapackage-m
Power Query M functions for working with Tabular Data Packages (Frictionless Data) in Power BI and Excel
Stars: ✭ 26 (-81.16%)
Mutual labels:  data-visualisation, data-analytics
Facet
Human-explainable AI.
Stars: ✭ 269 (+94.93%)
Mutual labels:  data-science, data-analytics
Covid19 Dashboard
A site that displays up to date COVID-19 stats, powered by fastpages.
Stars: ✭ 1,212 (+778.26%)
Mutual labels:  data-science, data-visualisation
Data Science Resources
👨🏽‍🏫You can learn about what data science is and why it's important in today's modern world. Are you interested in data science?🔋
Stars: ✭ 171 (+23.91%)
Mutual labels:  data-science, data-analytics
Girder
A data management platform for the web, developed by Kitware
Stars: ✭ 350 (+153.62%)
Mutual labels:  data-science, data-analytics
Machine learning for good
Machine learning fundamentals lesson in interactive notebooks
Stars: ✭ 142 (+2.9%)
Mutual labels:  data-science, data-visualisation
Blenderdatavis
Data visualisation addon for Blender
Stars: ✭ 72 (-47.83%)
Mutual labels:  data-science, data-visualisation
Art Data Science
The Art of Data Science
Stars: ✭ 32 (-76.81%)
Mutual labels:  data-science, data-visualisation
Datasheets
Read data from, write data to, and modify the formatting of Google Sheets
Stars: ✭ 593 (+329.71%)
Mutual labels:  data-science, data-analytics
Awesome Bigdata
A curated list of awesome big data frameworks, ressources and other awesomeness.
Stars: ✭ 10,478 (+7492.75%)
Mutual labels:  data-science, data-analytics
Danfojs
danfo.js is an open source, JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.
Stars: ✭ 1,304 (+844.93%)
Mutual labels:  data-science, data-analytics
Superset
Apache Superset is a Data Visualization and Data Exploration Platform
Stars: ✭ 42,634 (+30794.2%)
Mutual labels:  data-science, data-analytics
Automl alex
State-of-the art Automated Machine Learning python library for Tabular Data
Stars: ✭ 132 (-4.35%)
Mutual labels:  data-science
Pandasschema
A validation library for Pandas data frames using user-friendly schemas
Stars: ✭ 135 (-2.17%)
Mutual labels:  data-science
Pecan
The Predictive Ecosystem Analyzer (PEcAn) is an integrated ecological bioinformatics toolbox.
Stars: ✭ 132 (-4.35%)
Mutual labels:  data-science
Twitter Sentiment Visualisation
🌍 The R&D of a sentiment analysis module, and the implementation of it on real-time social media data, to generate a series of live visual representations of sentiment towards a specific topic or by location in order to find trends.
Stars: ✭ 132 (-4.35%)
Mutual labels:  data-visualisation
Youtube Like Predictor
YouTube Like Count Predictions using Machine Learning
Stars: ✭ 137 (-0.72%)
Mutual labels:  data-science
Qlik Py Tools
Data Science algorithms for Qlik implemented as a Python Server Side Extension (SSE).
Stars: ✭ 135 (-2.17%)
Mutual labels:  data-science

A toolbox for processing and analysing air traffic data

Documentation Status Build Status Code Coverage Codacy Badge Checked with mypy Code style: black License
JOSS paper PyPI downloads Colab

The traffic library helps working with common sources of air traffic data.

Its main purpose is to offer basic cumbersome data analysis methods commonly applied to trajectories and ATC sectors. 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.

Static visualisation (images) exports are accessible via Matplotlib/Cartopy. More dynamic visualisation frameworks are easily accessible in Jupyter environments with ipyleaflet and altair; or through exports to other formats, including CesiumJS or Google Earth.

Installation

Latest release:

pip install --upgrade traffic

Development version:

pip install git+https://github.com/xoolive/traffic

Warning: cartotools and shapely have strong dependencies to dynamic libraries which may not be available on your system by default.

Before reporting an issue, please try to use an Anaconda environment. Other installations (You may check them in the .travis.yml configuration file.) should work but the Anaconda way proved to work smoothly.

conda install cartopy shapely

For troubleshootings, refer to the appropriate documentation section.

Credits

JOSS badge

If you find this project useful for your research and use it in an academic work, you may cite it as:

@article{olive2019traffic,
    author={Xavier {Olive}},
    journal={Journal of Open Source Software},
    title={traffic, a toolbox for processing and analysing air traffic data},
    year={2019},
    volume={4},
    pages={1518},
    doi={10.21105/joss.01518},
    issn={2475-9066},
}

Additionally, you may consider adding a star to the repository. This token of appreciation is often interpreted as a positive feedback and improves the visibility of the library.

Documentation

Documentation Status

Documentation available at https://traffic-viz.github.io/

Tests and code quality

Build Status Code Coverage Codacy Badge Checked with mypy

Unit and non-regression tests are written in the tests/ directory. You may run pytest or tox from the root directory. Tests are currently performed with Python 3.6 and 3.7.

Tests are checked on travis continuous integration platform upon each commit. Latest status and coverage are displayed with standard badges hereabove.

In addition, code is checked against static typing with mypy (pre-commit hooks are available in the repository) and extra quality checks performed by Codacy.

Command line tool

The traffic tool scripts around the library for common usecases.

The most basic use case revolves around exploring the embedded data. You may check the help with traffic data -h.

traffic data -p Tokyo
     altitude country iata  icao   latitude   longitude                                name
3820       21   Japan  HND  RJTT  35.552250  139.779602  Tokyo Haneda International Airport
3821      135   Japan  NRT  RJAA  35.764721  140.386307  Tokyo Narita International Airport

More details in the documentation.

Graphical user interface

A Qt application is provided for exploring and recording data.
More details in the GUI section of the documentation.

GUI screenshot

Feedback and contribution

Any input, feedback, bug report or contribution is welcome.

Should you encounter any issue, you may want to file it in the issue section of this repository. Please first activate the DEBUG messages recorded using Python logging mechanism with the following snippet:

from traffic.core import loglevel
loglevel('DEBUG')

Bug fixes and improvements in the library are also helpful.

If you share a fix together with the issue, I can include it in the code for you. But since you did the job, pull requests (PR) let you keep the authorship on your additions. For details on creating a PR see GitHub documentation Creating a pull request. You can add more details about your example in the PR such as motivation for the example or why you thought it would be a good addition. You will get feed back in the PR discussion if anything needs to be changed. To make changes continue to push commits made in your local example branch to origin and they will be automatically shown in the PR.

You may find the process troublesome but please keep in mind it is actually easier that way to keep track of corrections and to remember why things are the way they are.

Frequently asked questions

  • I want to know more about Eurocontrol NM files

We download these files from Eurocontrol Network Manager Demand Data Repository (DDR) under Dataset Files > Airspace Environment Datasets. Access conditions are managed by EUROCONTROL.

Should you have no such access, basic FIRs are provided in eurofirs from traffic.data.

  • I want to know more about Eurocontrol AIXM files

When you import aixm_airspaces from traffic.data, you need to set a path to a directory containing AIRAC files. These are XML files following the AIXM standard and produced by Eurocontrol. We download these files from Eurocontrol Network Manager B2B web services. You have to own a B2B certificate granted by EUROCONTROL to get access to this data.

  • What does AIRAC mean?

Aeronautical Information Publications are updated every 28 days according to fixed calendar. This cycle is known as AIRAC (Aeronautical Information Regulation And Control) cycle.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].