Skip to main content

'Madrigal instrument support for the pysat ecosystem'

Project description

pysatMadrigal

pysatMadrigal

Documentation Status Build Status Coverage Status DOI PyPI version

pysatMadrigal allows users to import data from the Madrigal database into pysat (pysat documentation).

Installation

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

Prerequisites

pysatMadrigal 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
h5py madrigalWeb>=2.6
numpy pysat >= 3.0.3
pandas
xarray

PyPi Installation

pip install pysatMadrigal

GitHub Installation

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

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

cd pysatMadrigal/
python setup.py install

Examples

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

import pysat
from pysatMadrigal.instruments import dmsp_ivm
ivm = pysat.Instrument(inst_module=dmsp_ivm, tag='utd', inst_id='f15')

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('pysatMadrigal.instruments.dmsp_ivm')
dst = pysat.Instrument('dmsp', 'ivm', tag='utd', inst_id='f15')

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

pysatMadrigal-0.1.0.tar.gz (46.8 kB view details)

Uploaded Source

Built Distribution

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

pysatMadrigal-0.1.0-py3-none-any.whl (44.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysatMadrigal-0.1.0.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.9

File hashes

Hashes for pysatMadrigal-0.1.0.tar.gz
Algorithm Hash digest
SHA256 98926fc8c73bbd5ac9da2cb6b3abcf21ccb535b02af2f3d5686f82cf5eead91e
MD5 55e7a338ca7598ed87de2012312d27b4
BLAKE2b-256 9031e8ce8283c7759e0e73086b936066ffc74b565b9d5715a242b1529cfdf5ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pysatMadrigal-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 44.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for pysatMadrigal-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd5a9314c6711c8318563cd8e61d8be23f8ccee512bc2acd0229e86c48cf8554
MD5 809dc448b5a55394fa74bf04aef2219b
BLAKE2b-256 0bc79d97a9b16a1d6a6b9d4c16bd63a5b118ff39debe9e0ee014d14434170460

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