MIT License

项目介绍

xoolive/traffic 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 524 个 Star、96 次 Fork。

仓库全名
xoolive/traffic
开源许可证
MIT License
Star 数
524
Fork 数
96
未关闭 Issue
10

README 摘要

The traffic library helps to work with common sources of air traffic data. 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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

traffic 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 524 个 Star。

traffic 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 traffic 的源码?

可以直接克隆仓库:git clone https://github.com/xoolive/traffic.git,默认分支为 master;安装与运行步骤见仓库 README。

traffic 最近还在维护吗?

仓库最近一次更新为 3 周前,当前有 10 个未关闭 Issue;Star 数为 524,可作为社区活跃度的参考。

关于

A toolbox for processing and analysing air traffic data

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
728
价值分
343
活跃状态
活跃

语言占比

Dockerfile
Just
Python
TeX
TypeScript
Vue

Release

README

A toolbox for processing and analysing air traffic data

Documentation Status tests Code Coverage Checked with mypy License
Join the chat at https://gitter.im/xoolive/traffic PyPI version PyPI downloads Conda version Conda Downloads
JOSS paper

The traffic library helps to work with common sources of air traffic data.

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.

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

Installation

Full installation instructions are to be found in the documentation.

  • If you are not familiar/comfortable with your Python environment, please install the latest traffic release in a new, fresh conda environment.

    conda create -n traffic -c conda-forge python=3.12 traffic
    
  • Adjust the Python version you need (>=3.10) and append packages you need for working efficiently, such as Jupyter Lab, xarray, PyTorch or more.

  • Then activate the environment every time you need to use the traffic library:

    conda activate traffic
    

Warning! Dependency resolution may be tricky, esp. if you use an old conda environment where you overwrote conda libraries with pip installs. Please only report installation issues in new, fresh conda environments.

If conda fails to resolve an environment in a reasonable time, consider using a Docker image with a working installation.

For troubleshooting, refer to the appropriate documentation section.

Credits

JOSS
badge

  • Like other researchers before, 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 positive feedback and improves the visibility of the library.

Documentation

Documentation Status Join the chat at https://gitter.im/xoolive/traffic

Documentation available at https://traffic-viz.github.io/
Join the Gitter chat for assistance: https://gitter.im/xoolive/traffic

Tests and code quality

tests Code Coverage Codacy Badge Checked with mypy

Unit and non-regression tests are written in the tests/ directory. You may run pytest from the root directory.

Tests are checked on Github Actions platform upon each commit. Latest status and coverage are displayed with standard badges hereabove.

In addition to unit tests, code is checked against:

  • linting and formatting with ruff;
  • static typing with mypy

pre-commit hooks are available in the repository.

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.

  • If you intend to contribute to traffic or file a pull request, the best way to ensure continuous integration does not break is to reproduce an environment with the same exact versions of all dependency libraries. Please follow the appropriate section in the documentation.

    Let us know what you want to do just in case we’re already working on an implementation of something similar. This way we can avoid any needless duplication of effort. Also, please don’t forget to add tests for any new functions.

评论

暂无评论