This Python package contains classes to simulate data from Pandora, and provides estimates for level 1 products from the spacecraft.
If you are installing the simulator and expect you will not wish to tweak any of the code internal to the simulator or any other aspects of DPC software, you can install pandora-sim
with pip
pip install pandorasim --upgrade
However, if you are either:
- Expect to tweak/update
pandorasim
or any of the Pandora software dependencies - Need to run
pandorasim
in a different environment to your native environment
You may want to install with poetry
. You can do this with
pip install --upgrade poetry
git clone https://github.com/PandoraMission/pandora-sim
cd pandorasim
poetry install
To run pandorasim
you can then work however you work in Python, be make sure you
- Are working in the
pandorasim
directoy - Use the correct
poetry
environment by prepending all your commands withpoetry run
. E.g.poetry run jupyterlab
,poetry run python
,poetry run pytest
etc.
This package depends on two other packages from the Pandora software ecosystem.
Each of these packages are updated often as we gain new insights into what to expect from Pandora. If you are working with the simulator, you should make sure to keep your versions of all packages updated.