Terrain-aware solar illumination modeling using DEMs and orbital sun geometry.
Project description
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:
- Home page and documentation
- Installing solshade
- Getting started with solshade
- solshade package on PyPI
- Issue tracker on github
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file solshade-0.1.1.tar.gz.
File metadata
- Download URL: solshade-0.1.1.tar.gz
- Upload date:
- Size: 33.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d03d5d6ec81fe2693353d14d72d1222965b032911ee552ae6aabfdf9fd268fc
|
|
| MD5 |
b61a1b611b1709054525a18f69fc09c5
|
|
| BLAKE2b-256 |
0dc3e860cee453798f724bd52ec0491358b7caac8c1c053c0713841fbb84bd15
|
File details
Details for the file solshade-0.1.1-py3-none-any.whl.
File metadata
- Download URL: solshade-0.1.1-py3-none-any.whl
- Upload date:
- Size: 34.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6517ff827342a5385260f028888cbefc0a29b367eb2046f0c9e8bc02a73cff41
|
|
| MD5 |
9d9573d73cb0ee6a32e9afaeab8cd71e
|
|
| BLAKE2b-256 |
2507d51e1ad4c139c70b149beb0e39efcebde9bf08cc5a33516a894a55fdccfe
|