Skip to content

DLR-SL/CPACS_Seminar

Repository files navigation

CPACS Seminar

This project aims to introduce you to working with CPACS. You can download/clone it and run the Jupyter Notebooks on your local PC or you can run it directly in your browser via Binder:

Binder

If this does not work:

  • go to mybinder.org
  • copy https://github.com/DLR-SL/CPACS_Seminar into the GitHub repository name or URL field
  • click launch and get a coffee (it may take a while)...

Setting up Conda environments and run the examples

It is recommended to use Conda as a Python package and environment manager. Create a new environment from the environment.yml file:

conda env create -f environment.yml

Activate our new python-environment via:

conda activate cpacsSeminar

Call JupyterLab:

jupyter lab

You can update your conda environment via:

conda env update --file environment.yml --prune

A browser should open automatically (if not, copy and paste the URL shown in the conda terminal into your browser). Navigate to the Notebook exercises (*.ipynb) and open it.

Reset local changes

You have practiced a lot and now you want to reset the initial state? The local changes can be overwritten with the current state from GitHub as follows:

git fetch
git reset --hard origin/master

Helpful material

CPACS links

Open source XSD viewer

TiXI and TiGL links