The flex-container-orchestrator manages the event driven workflow Flexpart IFS workflow, based on events from Aviso. The repo coordinates both flexprep (pre-processing of raw IFS data) and flexpart-ifs containers, ensuring all required lead time data is processed before launching Flexpart.
- Enter the project folder:
$ cd flex-container-orchestrator
- Install packages
$ poetry install
- Run the flex-container-orchestrator
$ poetry run python3 flex_container_orchestrator/main.py --date {date} --time {time} --step {step} --location {location}
- Run tests
$ poetry run pytest
- Run pylint
$ poetry run pylint flex_container_orchestrator
- Run mypy
$ poetry run mypy flex_container_orchestrator
Instead of running the steps below manually, you can install mchbuild and then install, test and run the application:
$ pipx install mchbuild
$ cd flex-container-orchestrator
$ mchbuild local.build local.test
$ mchbuild local.run
Try it out at and stop it with Ctrl-C. More information can be found in :file:`.mch-ci.yml`.
$ poetry run sphinx-build doc doc/_build
Then open the index.html file generated in flex-container-orchestrator/build/sphinx/html
Hint
All poetry run prefixes in the commands can be avoided if running them within the poetry shell