Skip to main content
pysatSpaceWeather

pysatSpaceWeather: pysat support for Space Weather Indices

Pytest with Flake8 Coverage Status DOI Documentation PyPI version

This module handles solar and geomagnetic indices needed for scientific and operational projects.

Installation

The following instructions provide a guide for installing pysatSpaceWeather and give some examples on how to use the routines.

Prerequisites

pysatSpaceWeather uses common Python modules, as well as modules developed by and for the Space Physics community. This module officially supports Python 3.7+.

Common modules Community modules
netCDF4 pysat >= 3.0.4
numpy
pandas
requests
xarray

PyPi Installation

pip install pysatSpaceWeather

GitHub Installation

git clone https://github.com/pysat/pysatSpaceWeather.git

Change directories into the repository folder and run the setup.py file. For a local install use the "--user" flag after "install".

cd pysatSpaceWeather/
python setup.py install

Note: pre-0.1.0 version

pysatSpaceWeather is currently in an alpha development phase. Feedback and contributions are appreciated.

Examples

The instrument modules are portable and designed to be run like any pysat instrument.

import pysat
import pysatSpaceWeather
dst = pysat.Instrument(inst_module=pysatSpaceWeather.instruments.sw_dist)

Another way to use the instruments in an external repository is to register the instruments. This only needs to be done the first time you load an instrument. Afterward, pysat will identify them using the platform and name keywords.

pysat.utils.registry.register('pysatSpaceWeather.instruments.sw_dst')
dst = pysat.Instrument('sw', 'dst')

Release files for pysatSpaceWeather 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysatSpaceWeather 0.0.8
File Size Uploaded
pysatSpaceWeather-0.0.8.tar.gz 47.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysatSpaceWeather 0.0.8
File Interpreter ABI Platform
pysatSpaceWeather-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 108.9 kB

Release files / pysatSpaceWeather-0.0.8.tar.gz

Download URL pysatSpaceWeather-0.0.8.tar.gz
Size 47.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a33c771bcd532b4f2d61c49930c34556fd2194b9c3eed542573ecc2a4490db80
BLAKE2b-256 checksum
How to use checksums
564cd37b4d889bbd920d2d686738484cdaafe00ee33c1da658b0cc13f73956d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / pysatSpaceWeather-0.0.8-py3-none-any.whl

Download URL pysatSpaceWeather-0.0.8-py3-none-any.whl
Size 61.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8be85444bbb867cb95883354505528f5c72a5c2d366b31646e6f74e2758a25dd
BLAKE2b-256 checksum
How to use checksums
d60f524b3fca8bc3908e795790a1f1d27471d8d5ffa4bb1732d6a6de11c7795b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release history Release notifications | RSS feed

0.2.2

1 release file

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.10

1 release file

0.0.9

1 release file

This release

0.0.8 This release

2 release files

0.0.7

1 release file

0.0.6

1 release file

0.0.5

2 release files

0.0.4

1 release file

0.0.3

1 release file

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page