Skip to content

Python library for BADA, the Aircraft Performance Model developed and maintained by EUROCONTROL

License

Notifications You must be signed in to change notification settings

eurocontrol/pybada

Repository files navigation

pyBADA

License: EUPL Released on PyPi Python 3.12 Code style: black Run unit tests

The BADA aircraft performance toolbox for Python

To get started

pip install pyBADA

Examples

  • file_parser: BADA file parser and retrieval of some basic BADA parameters for all BADA3/4/H
  • BADAData: loading complete BADA3 dataset and retrieval of a specific parameters for a specific aircraft
  • optimum_speed_altitude: calculation of optimum speeds and altitude for BADA4 and BADAH aircraft
  • ac_trajectory: simple, but complete, aircraft trajectory for BADA3 and BADA4 aircraft
  • ac_trajectory_GPS: simple, but complete, aircraft trajectory for BADA3 and BADA4 aircraft including geodesic calculations
  • heli_trajectory: simple, but complete, helicopter trajectory for BADAH aircraft

Development

# Optionally, set up a virtual env and activate it
python3 -m venv env
source env/bin/activate
# Install package in editable mode
pip install -e .
# Install a couple of packages for formatting, linting and building the docs
pip install -e .[dev]
# Run tests
python3 -m pytest tests/
# To build the docs
cd docs
make html

Running on unsupported environements

You won't receive support for it, but you can pass the flag --ignore-requires-python to install pyBADA on an unsupported Python version.

License

BADA and pyBADA are developed and maintained by EUROCONTROL.

This project is licensed under the European Union Public License v1.2 - see the LICENSE file for details.

About

Python library for BADA, the Aircraft Performance Model developed and maintained by EUROCONTROL

Topics

Resources

License

Stars

Watchers

Forks

Languages