Skip to main content

irradpy2

irradpy2 is a Python package for solar irradiance data acquisition and analysis, covering clear-sky modeling and detection, irradiance separation, GHI forecasting, and evaluation.

Modules

Module Description
getirrad Ground observations from BSRN, MIDC, SOLRAD, SRML, and SURFRAD
getgridded Point and area data from MERRA-2, ERA5, and CAMS
clear_sky 62 clear-sky irradiance models
csd 23 clear-sky detection methods
separation 7 irradiance separation models
forecast Persistence, ARIMA, RNN, LSTM, and Informer forecasting
tool.py Data preparation, solar geometry, evaluation metrics, and plotting

Installation

Python 3.10 or newer is required.

pip install irradpy2

Examples

Three examples in irradpy2/example/ demonstrate end-to-end workflows from data download and preparation to analysis and visualization.

Example Workflow Modules covered
ex_download_basic.py Download observations, preprocess and inspect the data, and plot irradiance getirrad, tool
ex_clearsky_csd.py Download and prepare data, calculate clear-sky irradiance, detect clear-sky periods, and visualize results getirrad, clear_sky, csd, tool
ex_separation_forecast.py Download and prepare data, estimate DNI and DHI, forecast GHI, and evaluate and visualize results getirrad, separation, forecast, tool

Run the examples from the project root:

python irradpy2/example/ex_download_basic.py
python irradpy2/example/ex_clearsky_csd.py
python irradpy2/example/ex_separation_forecast.py

Function documentation

Model descriptions, references, and parameter information are provided in the source files. Function docstrings can also be viewed with Python's help():

from irradpy2.separation import engerer2

help(engerer2)

Metadata

Release files for irradpy2 1.1.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 irradpy2 1.1.0
File Size Uploaded Provenance Actions
irradpy2-1.1.0.tar.gz 134.9 kB Without provenance Details for irradpy2-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 362.5 kB

Release files / irradpy2-1.1.0.tar.gz

Download URL irradpy2-1.1.0.tar.gz
Size 134.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5a32cbce7e580002289da943cd1879f3716625b1cb6da4aa8f55846d95644c7c
BLAKE2b-256 checksum
How to use checksums
6ef5d57f949b1210ee710f3a29a1a92f3311c39e289c104e5bded5f1f843b7c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Release files / irradpy2-1.1.0-py3-none-any.whl

Download URL irradpy2-1.1.0-py3-none-any.whl
Size 227.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec855990b4982ababfc3ac1c3f8a02a4891a3cfb014100ef0f85c3eb181e0899
BLAKE2b-256 checksum
How to use checksums
ef37ce396701a023c47b2b7f88d0b522d879da105c4fa082f2aa259aa407870e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Security for irradpy2 1.1.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