Skip to content
Snippets Groups Projects
Commit 259af626 authored by Clément Jonglez's avatar Clément Jonglez
Browse files

add section in README.md explaining how to download this repo via pip

parent 57e60468
No related branches found
No related tags found
1 merge request!4Support for pip installing this Orekit data repository
This commit is part of merge request !4. Comments created here will be created in the context of that merge request.
...@@ -41,3 +41,15 @@ team uses to update the repository. ...@@ -41,3 +41,15 @@ team uses to update the repository.
There is *NO* guarantee that this convenience archive will be updated There is *NO* guarantee that this convenience archive will be updated
or even provided in the future. or even provided in the future.
## Notes for Orekit Python users
You can download this orekit data repository via pip (don't forget to activate your conda environment containing orekit beforehand):
```bash
pip install git+https://gitlab.orekit.org/orekit/orekit-data.git
```
This will install a Python library named `orekitdata`. The Python library receives a new version tag at every commit in this repository so that your Python project can pull the newest version of the orekit data every time this repository is updated. The 7 last characters of the version tag correspond to the 7 first characters of the git hash of the commit: for instance the Python version `orekitdata-0+untagged.70.g91b2c79` correspond to the commit of the `master` branch of this repository with a githash starting with `91b2c79`.
Then to pass the data folder to Orekit in Python, follow the instructions in the [Python wrapper Wiki](https://gitlab.orekit.org/orekit-labs/python-wrapper/-/wikis/installation#physical-data).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment