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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
madrigal_jl-0.1.1.tar.gz
(2.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file madrigal_jl-0.1.1.tar.gz.
File metadata
- Download URL: madrigal_jl-0.1.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
pdm/2.26.6 CPython/3.14.2 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abaabc6d6b0781342e382fc024cae67c29c4308e7fe7af23279cd3e4f83d23be
|
|
| MD5 |
40602844c1a22084afce6c84a68b956b
|
|
| BLAKE2b-256 |
032cb634bf3126ca5cd5ac94aa4e857cffe66bfa8eeffcae1ae79dcdf5499942
|
File details
Details for the file madrigal_jl-0.1.1-py3-none-any.whl.
File metadata
- Download URL: madrigal_jl-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
pdm/2.26.6 CPython/3.14.2 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a778bd08e58f844a5944300e26c8073d6f71c3c14452f34317b7c57d28a2c1b
|
|
| MD5 |
c30d1c73c1999b8921e7863c699cf3d5
|
|
| BLAKE2b-256 |
0d9f2b68ee109e146f6153c93dac984c9226355efe4ea1991ea7e40e88619597
|