Solar PArameterization for the Radiative Transfer of the Atmosphere
Project description
sparta-solar
Solar PArameterization of the Radiative Transfer of the Atmosphere
A Python library for computing clear-sky solar irradiance using the SPARTA radiative transfer model, with integrated access to multiple atmospheric databases (NASA MERRA-2, Copernicus CRS/SODA, Google Earth Engine).
Quick install
pip install sparta-solar
or using uv:
uv add sparta-solar
Quick example
import pandas as pd
from spartasolar.atmosphere import merra2_daily
times = pd.date_range("2020-06-15", periods=24, freq="h")
atm = merra2_daily.at_sites(times=times, latitude=36.72, longitude=-4.42)
result = atm.compute(model="SPARTA")
print(result)
Documentation
Full documentation — installation guide, user guide, quick reference, and API reference — is available at:
https://jararias.github.io/sparta-solar
Citation
@article{ruizarias2023sparta,
author = {Ruiz-Arias, Jose A.},
title = {{SPARTA}: Solar parameterization for the radiative transfer
of the cloudless atmosphere},
journal = {Renewable and Sustainable Energy Reviews},
volume = {188},
pages = {113833},
year = {2023},
doi = {10.1016/j.rser.2023.113833}
}
License
CC BY-NC-SA 4.0 — free for non-commercial use with attribution.
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 sparta_solar-0.1.0.tar.gz.
File metadata
- Download URL: sparta_solar-0.1.0.tar.gz
- Upload date:
- Size: 9.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d5273d14efd66b35730915ceabef6bf6c99311f7927514cc42c717b826d814d
|
|
| MD5 |
d7c1787161283d29bb65e0fc53a42266
|
|
| BLAKE2b-256 |
b7f2694ea08ef741f9c8cb3d82d3d267f263267c202531dcd08409175ed7dbb7
|
File details
Details for the file sparta_solar-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sparta_solar-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5aac80813989c74f5cf545ed66c959ae2fec2878522c9c94dda05818bbd1bec
|
|
| MD5 |
93e2db999ac268004bc986f4a2f7728b
|
|
| BLAKE2b-256 |
43feda9ecff5e99ae4b37ae18878c8c64b45875ce1aa37a69824babb5d5ce1f6
|