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.0.tar.gz (10.0 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.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wsaplus-0.1.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wsaplus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3823d05cfd7be8db9f63a44d4aa02697c2dce81dd2b7f1b60c2b494e2fb3976b
MD5 aa69cfa778743e0b2b16d4024a76a2ef
BLAKE2b-256 ca6e3bb1fe786f7f0073e5545464a53a17a750150b022ce6c13cac53c2c98dc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for wsaplus-0.1.0.tar.gz:

Publisher: publish.yml on PrateekMayank/wsaplus_pythonpackage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: wsaplus-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wsaplus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b40e18f1ae11d2878530e01d09dd5f5953e2f2514f94a55c9894f3e5f7e6c57e
MD5 b9849611f01506a8a35a489d37be74df
BLAKE2b-256 49c547ad515c9bc17f818c4246e39d59bbeaa0ca00f45fca5941745dc15a760a

See more details on using hashes here.

Provenance

The following attestation bundles were made for wsaplus-0.1.0-py3-none-any.whl:

Publisher: publish.yml on PrateekMayank/wsaplus_pythonpackage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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