sunweather
Generate a 6-band grid animation of solar activity from NOAA SUVI data.
This CLI tool fetches the latest extreme ultraviolet (EUV) imagery from NOAA SWPC’s SUVI archive and creates an animated MP4, AVI, or GIF showing the solar corona across 6 wavelengths.
Installation
pip install sunweather
Requires: Python 3.8+,
ffmpegin PATH
Usage
python -m sunweather [options]
Basic Examples
Simple invocation
By default, sunweather creates a 6-band grid animation as an MP4 using the most recent frames available from NOAA. Uses a fast AVI intermediate to ensure compatibility and re-encodes with libx264 for better visual quality.
python -m sunweather
Specifying an output filename
python -m sunweather -o sun.mp4
Custom framerate
python -m sunweather --fps 12
Options
| Option | Description | Default |
|---|---|---|
--output |
Output filename (.mp4, .avi, or .gif) (Alias: -o) |
suvi_grid.mp4 |
--fps |
Frames per second | 20 |
--frames |
Max frames to use (per band) | auto-detected |
--retries |
Retry attempts per image | 3 |
--strict |
Fail hard if any image is missing | (soft fallback) |
--keep |
Keep downloaded frames instead of using a temp folder | (disabled) |
--keep-avi |
Preserve the intermediate .avi before MP4 encoding |
(disabled) |
--debug |
Enable verbose logging | (disabled) |
Output
- Produces a 2×3 grid of concurrent SUVI images across these bands:
- 94 Å, 131 Å, 171 Å, 195 Å, 284 Å, 304 Å
- All frames are temporally aligned, with automatic gap-filling for any missing wavelengths.
- MP4 output uses high-quality H.264 encoding via FFmpeg with
-crf 18 -preset slow. - AVI output (via
-o output.avi) uses fast Xvid encoding with wide compatibility. - GIF output is supported but not recommended due to large file size (>100MB).
Requirements
- Python: 3.8 or higher
- Dependencies: Automatically handled by
pip:httpx[http2],tqdm,Pillow,numpy
- ffmpeg: Must be installed and available in your system
PATH.
To install ffmpeg:
Ubuntu/Debian:
sudo apt install ffmpeg
Termux (Android):
pkg install ffmpeg
Windows:
winget install ffmpeg
# OR
choco install ffmpeg
Example Output
License
MIT © 2025 DJ Stomp
Source & Issues
Metadata
Release files for sunweather 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sunweather-1.2.2.tar.gz | 5.1 kB | Without provenance | Details for sunweather-1.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sunweather-1.2.2-py3-none-any.whl | Python 3 | none | any | Details for sunweather-1.2.2-py3-none-any.whl |
Total release size: 11.0 kB
Release files / sunweather-1.2.2.tar.gz
| Download URL | sunweather-1.2.2.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e87a4aeff9deb2709bbaef91c87f1ad2b8836544b849e6ccbadebf8891bffaa4
|
|
BLAKE2b-256 checksum How to use checksums |
f4f66d0b8c4ac58afef1e26782d93a950ac2bf77a489448d566edebc0707f0f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.2 Windows/11
|
Release files / sunweather-1.2.2-py3-none-any.whl
| Download URL | sunweather-1.2.2-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b588e4f3ac83b6a479a383f20366a34a71dd6fa563280138e76b3afe4987e99
|
|
BLAKE2b-256 checksum How to use checksums |
554322053f1afc1f6332f4cff15411097b113ce3cee6603d109d1d674e85cc9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.2 Windows/11
|
Security for sunweather 1.2.2
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.