Skip to main content

A Python package that accesses current and historical ACE solar wind data.

Project description

solar-wind-archive

A Python package for accessing ACE solar wind data, both current and historical.

Authors and Contributors

AUTHOR: Amelia R H Urquhart

Installation

Installation through PyPI is recommended. Copy-paste the following line into your terminal:

pip install solar_wind_archive

After that, include the following line in your Python script, and you should be good to go.

import solar_wind_archive.ace_rtsw as ace

How To Use

import solar_wind_archive.ace_rtsw as ace

# Gets solar wind plasma density, speed, and temperature data from the past 24 hours
time, density, speed, temperature = ace.get_solar_wind_plasma()

# Gets interplanetary magnetic field data for the May 10, 2024 G5 geomagnetic storm
start_time = datetime(2024, 5, 10, 0, 0, tzinfo=timezone.utc)
end_time = datetime(2024, 5, 12, 0, 0, tzinfo=timezone.utc)

time, bx, by, bz, bt, lat, lon = ace.get_interplanetary_magnetic_field(start_time, end_time)

# Gets proton and electron flux for the Halloween solar storms of 2003
start_time = datetime(2003, 10, 26, 0, 0, tzinfo=timezone.utc)
end_time = datetime(2003, 11, 7, 0, 0, tzinfo=timezone.utc)

time, protons_over_10_mev, protons_over_30_mev = ace.get_high_energy_proton_flux(start_time, end_time)
time, elec_38_53, elec_175_314, pro_47_68, pro_115_195, pro_310_580, pro_761_1220, pro_1060_1900, aniso_ratio = ace.get_proton_electron_flux(start_time, end_time)

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

solar_wind_archive-1.0.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

solar_wind_archive-1.0.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file solar_wind_archive-1.0.0.tar.gz.

File metadata

  • Download URL: solar_wind_archive-1.0.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.26.0

File hashes

Hashes for solar_wind_archive-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7fde48aab0c1810c47a42060e254aced5922990d23268be989ac3517cf9dc92e
MD5 7f8719498eacc32f744a7adb8e4204c9
BLAKE2b-256 36631690b35b026507b8c6b0e9c57652d3fc24fe1f9991adf59bdf4c3f305b08

See more details on using hashes here.

File details

Details for the file solar_wind_archive-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for solar_wind_archive-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3a64d767aa762044c49d5d76dc6b88c47a19641ea65151fefffcca7a246b376
MD5 dcf25442d7390872b8e265332ac6f94d
BLAKE2b-256 67f3eeeef722c8a7c7a192c5f8d6bad24a407706fc91f0158d3d01bce2d251e9

See more details on using hashes here.

Supported by

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