Skip to main content

WSA+: generate solar wind speed maps from synoptic magnetograms

Project description

wsaplus

Generate WSA+ solar wind speed maps at 0.1 AU from synoptic magnetograms.

  • Input: FITS magnetogram (GONG or HMI)
  • Output: 2D speed map (km/s) on a 360x180 grid (phi x theta)

Install

From PyPI (recommended):

pip install wsaplus

Model Checkpoint (Zenodo)

The WSA+ model checkpoint (wsaplus.pt) is hosted on Zenodo: DOI: https://doi.org/10.5281/zenodo.16883042

Download wsaplus.pt and pass it via --checkpoint, or set the WSAPLUS_CHECKPOINT environment variable.


Usage

Python:

from wsaplus import generate_wsaplus_map
res = generate_wsaplus_map("/path/to/GONG_2065.fits", mag_type="GONG", checkpoint_path="/path/to/wsaplus.pt")
print(res.speed_kms.shape)  # (360, 180)

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

wsaplus-0.1.2.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

wsaplus-0.1.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file wsaplus-0.1.2.tar.gz.

File metadata

  • Download URL: wsaplus-0.1.2.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for wsaplus-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1986300c5bd44d5cd751fd5e9de84508010055c39dc0eeefe29318cd0ff80ac5
MD5 6f8e956e8cf24ae9f5b89866605d0561
BLAKE2b-256 9f8ed04e15b1a433d4b88cde7d84633831ea36e295fa5b6beab77d41b9a6af92

See more details on using hashes here.

File details

Details for the file wsaplus-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: wsaplus-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for wsaplus-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5694d581cb77bfb56c0678cc7f8561e4f192b84f62dfb1c633949ba642eb5bc9
MD5 a51cb329e857bc54171252570d158e11
BLAKE2b-256 201e05131ad826095ef7be12e14fc6f203d572059b1f7936230037682f62460d

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