Skip to main content

Madrigal

Python wrapper for Madrigal.jl - access the Madrigal upper atmospheric science database from Python.

Installation

pip install madrigal-jl

The Julia package installs automatically on first use.

Usage

import madrigal

# Get all instruments
instruments = madrigal.get_instruments()

# Get experiments for Millstone Hill radar (kinst=30)
experiments = madrigal.get_experiments(30, "2020-01-01", "2020-01-31")

# Get files from an experiment
files = madrigal.get_experiment_files(experiments[0])

# Download a file
path = madrigal.download_file(files[0])

Configuration

madrigal.set_default_server("https://cedar.openmadrigal.org")
madrigal.set_default_user("Your Name", "email@example.com", "Institution")

API

All functions from Madrigal.jl are available:

  • get_instruments(server=None, source=:cache)
  • get_experiments(code, t0, t1, server=None, source=:cache)
  • get_experiment_files(experiment, server=None, source=:cache)
  • get_experiment_file_parameters(file, server=None)
  • download_file(file, destination=None, format=:hdf5, ...)
  • download_files(inst, kindat, t0, t1, ...)
  • get_metadata(id, server=None)

See the Madrigal.jl documentation for full details.

Metadata

Release files for madrigal-jl 0.1.1

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

Source distribution (sdist)

Source distribution for madrigal-jl 0.1.1
File Size Uploaded Provenance
madrigal_jl-0.1.1.tar.gz 2.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for madrigal-jl 0.1.1
File Interpreter ABI Platform
madrigal_jl-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.3 kB

Release files / madrigal_jl-0.1.1.tar.gz

Download URL madrigal_jl-0.1.1.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
abaabc6d6b0781342e382fc024cae67c29c4308e7fe7af23279cd3e4f83d23be
BLAKE2b-256 checksum
How to use checksums
032cb634bf3126ca5cd5ac94aa4e857cffe66bfa8eeffcae1ae79dcdf5499942
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.6 CPython/3.14.2 Darwin/23.0.0

Release files / madrigal_jl-0.1.1-py3-none-any.whl

Download URL madrigal_jl-0.1.1-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a778bd08e58f844a5944300e26c8073d6f71c3c14452f34317b7c57d28a2c1b
BLAKE2b-256 checksum
How to use checksums
0d9f2b68ee109e146f6153c93dac984c9226355efe4ea1991ea7e40e88619597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.6 CPython/3.14.2 Darwin/23.0.0

Security for madrigal-jl 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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