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

README.md: document new argument of setup_orekit_curdir to load from library

parent c079b25c
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,14 @@ 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:
Then to pass the data folder to Orekit in Python, a new argument `from_pip_library` was added to the `setup_orekit_curdir` method:
```python
from orekit.pyhelpers import setup_orekit_curdir
setup_orekit_curdir(from_pip_library=True)
```
Or optionally, pass the path to the `orekitdata` library to the `filename` argument:
```python
import orekitdata
......
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