Skip to main content

Spaceborne


Documentation Status

Quickstart

For detailed instructions on how to install and use Spaceborne, please refer to the documentation.

To install the code, we recommend using a dedicated Conda environment. Clone the repository, then checkout the latest release (e.g. v2025.05.1) with

git checkout <latest_version_tag>

and run

conda env create -f environment.yaml
conda activate spaceborne
pip install .

As the code is evolving quite quickly at the moment, please make sure to check for new releases periodically

🐍 note: using mamba instead of conda in the first line will significantly speed up the environment creation. To install mamba, run conda install mamba in your base environment.

Spaceborne leverages julia for computationally intensive tasks. We recommend installing julia via juliaup:

curl -fsSL https://install.julialang.org | sh  # Install juliaup
juliaup default 1.10                           # Install Julia version 1.10

Then, install the required Julia packages:

julia -e 'using Pkg; Pkg.add("LoopVectorization"); Pkg.add("YAML"); Pkg.add("NPZ")'

Running the Code

All the available options and configurations can be found, along with their explanation, in the config.yaml file. To run Spaceborne with the configuration specified in the Spaceborne/config.yaml file, simply execute the following command:

python main.py

If you want to use a configuration file with a different name and/or location, you can instead run with

python main.py --config=<path_to_config_file>

for example:

python main.py --config="path/to/my/config/config.yaml"

To display the plots generated by the code, add the --show-plots flag:

python main.py --config="path/to/my/config/config.yaml" --show-plots

Additionally, in the config.yaml file you can set save_figs: True to save the figures in the <output_folder>/figs path.

Using Docker 🐋

If you find issues with the installation, you can happily disregard the above instructions and run the code through Docker. To do this, install Docker Desktop or the Docker engine; then, in the root of the cloned repository (again, remember to checkout the latest release), run:

docker-compose up --build

Note that the --build flag is only needed the first time you run the code (or if you modify the environment.yaml or Dockerfile, which is discouraged). For subsequent runs, simply do:

docker-compose up

Finally, to stop the container, do

docker-compose down

That's it! The container will use your local config.yaml file and output to the directories specified in your configuration, just as if you were running locally.


Metadata

Release files for Spaceborne 2025.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Spaceborne 2025.7.1
File Size Uploaded Provenance Actions
spaceborne-2025.7.1.tar.gz 124.9 kB Without provenance Details for spaceborne-2025.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Spaceborne 2025.7.1
File Interpreter ABI Platform Actions
spaceborne-2025.7.1-py3-none-any.whl Python 3 none any Details for spaceborne-2025.7.1-py3-none-any.whl

Total release size: 256.8 kB

Release files / spaceborne-2025.7.1.tar.gz

Download URL spaceborne-2025.7.1.tar.gz
Size 124.9 kB
Tags Source
SHA-256 checksum
How to use checksums
06cd7109cdc73d82097f328ed69ede33daa46f501930f57f69e3cd04d29faebf
BLAKE2b-256 checksum
How to use checksums
0cdf62538089599f6a8c7e0e3815e8b58b1284b2f2fb063706a5b50cc6f7a9dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release files / spaceborne-2025.7.1-py3-none-any.whl

Download URL spaceborne-2025.7.1-py3-none-any.whl
Size 131.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd570602baa290f5c90d12e4e4eca61bd3de0509e09ac1dec043efe707b2c9a7
BLAKE2b-256 checksum
How to use checksums
cc6d014aa06a7f5b7581be60637f9f43a5efd79fecfbf313a9bdd6865e877969
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Security for Spaceborne 2025.7.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page