Skip to main content

PyPI Python CI codecov Docs License Black

solshade is a Python toolkit for simulating solar radiation across landscapes, accounting for terrain shadows, solar angles, and orbital geometry. It’s designed for interdisciplinary research at the intersection of astronomy, glaciology, botany, and geology. Capturing the dance of sol (Sun) and shade (Shadow) over landscapes.


What does solshade do?

  • Computes per-pixel solar exposure over time from a DEM
  • Generates terrain-aware horizon maps to determine shadowing
  • Uses precise solar ephemerides (via Skyfield)
  • Calculates:
    • Total annual insolation
    • Date of maximum sunlight
    • Mean solar incidence angle
    • Terrain shading based on real orbital paths

solshade is designed to install cleanly with a single invocation of the standard Python package tool:

pip install solshade

Here are some essential project links:

Example Applications

  • Studying microhabitats in extreme environments
  • Predicting snowmelt timing in complex terrain
  • Understanding glacial melt and shadowed regions
  • Modeling plant growing seasons across topography

License

MIT License — see LICENSE file.


Acknowledgments

Inspired by many interesting conversations with Anna O'Flynn, Anthony Zerafa & Chris Omelon at the McGill Arctic Research Station (MARS) on Axel Heiberg Island, 2025.

Metadata

Release files for solshade 1.0.0

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

Source distribution (sdist)

Source distribution for solshade 1.0.0
File Size Uploaded Provenance Actions
solshade-1.0.0.tar.gz 33.0 kB Without provenance Details for solshade-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 67.8 kB

Release files / solshade-1.0.0.tar.gz

Download URL solshade-1.0.0.tar.gz
Size 33.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2a725f724ef5896884b4067e98530b5ec3d7cec71d8206601a3f84bfac936004
BLAKE2b-256 checksum
How to use checksums
1ccfbc0c75c73e77921b5996195cad4947c4131d1fcff0a9bb9e93043f742f80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release files / solshade-1.0.0-py3-none-any.whl

Download URL solshade-1.0.0-py3-none-any.whl
Size 34.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f09ac49b3b3632cac06a7342aefcd9b0727ca1ab14dc2ae4efac382c82ec6622
BLAKE2b-256 checksum
How to use checksums
96f9a7c7318f7b3dc2f7559ec8651f475cbf67c5e2ce606f952e9e2e6ad0bb4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Security for solshade 1.0.0

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