Skip to content

Latest commit

 

History

History
72 lines (47 loc) · 2.58 KB

README.md

File metadata and controls

72 lines (47 loc) · 2.58 KB

Pypi version Pytest status Codecov License Black code style

cpacspy

cpacspy is a Python package which could be used to read, write and analyse CPACS aerodynamics data. It simplify the handling of AeroMaps.

CPACS is a Common Parametric Aircraft Configuration Schema. It is a data definition for the air transportation system which is developed by the German Aerospace Center DLR. CPACS enables engineers to exchange information between their tools.

AeroMaps contains aerodynamic coefficients and derivatives for a specific set of aerodynamic and configurative boundary conditions.

Installation

cpacspy depend mainly in DLR libraries TIXI and TIGL, they must be installed on your computer to use cpacspy. The easiest way to do so, is to use a Conda environment, to create one:

  • Install Anaconda or Miniconda if you don't already have one of them installed.

  • Clone this repository and create a Conda environment with the following commands:

git clone https://github.com/cfsengineering/cpacspy.git
cd cpacspy
conda env create -f environment.yml
conda activate cpacspy_env
  • When it is done or if you already have TIXI and TIGL install on your computer:
pip install cpacspy

How to use this package

To see how to use this module, check out:

For developers

To build and install locally

cd cpacspy
python -m build
pip install --user .

To run tests locally

cd cpacspy
./run_ci.sh

It should run:

  • Black
  • Flake8
  • Pytest
  • Codecov

License

License: Apache-2.0