Skip to main content

No project description provided

Project description

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 AVI or GIF showing the solar corona across 6 wavelengths.


Installation

pip install sunweather

Requires: Python 3.8+, ffmpeg in PATH


Usage

sunweather [options]

Basic Example

sunweather -o sun.avi

Creates a 6-band grid animation as an AVI (sun.avi) using the most recent frames available.


Options

Option Description
-o, --output Output filename (.avi or .gif). Default: suvi_grid.avi
--fps Frames per second. Default: 15
--frames Max frames to use (per band). Defaults to what all bands share
--retries Retry attempts per image. Default: 3
--strict Fail hard if any image is missing. Default: soft fallback
--keep Keep downloaded frames instead of using a temp folder
--debug Enable verbose logging

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.
  • Default output is a high-efficiency Xvid AVI (under 1MB), compatible with most platforms.

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

Example Output

Example Video


License

MIT © DJ Stomp


Source & Issues

GitHub: https://github.com/DJStompZone/sunweather

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sunweather-1.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sunweather-1.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file sunweather-1.1.0.tar.gz.

File metadata

  • Download URL: sunweather-1.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.2.1-PRoot-Distro

File hashes

Hashes for sunweather-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a9ad5da12f91a0ff8349b2248242b8b9140b6c716f35f8a10d3d69ffa675a472
MD5 e0192a28406b278c44800cb1736439f6
BLAKE2b-256 622e86687342e7b5c955254c0dc2934dd242dc04191947e7e0f697075de3fc7c

See more details on using hashes here.

File details

Details for the file sunweather-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: sunweather-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.2.1-PRoot-Distro

File hashes

Hashes for sunweather-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9a17b4aa02e76c4edf6fbd0062ebe6cc7f204e6854a0060399fedfad654fa3e
MD5 5289acd2e5cf821bd55ed95edd5a90e9
BLAKE2b-256 cd62e405d6daaab146b338cb226f98632c71a9c9951b36b66ad63cd422b78056

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page