Skip to main content

Python Madrigal Remote API

Project description

madrigalWeb - a python API to access the Madrigal database

madrigalWeb is a pure python module to access data from any Madrigal database. For documentation and examples go to any Madrigal site such as http://cedar.openmadrigal.org

The easiest way to use the Madrigal python remote data access API is to simply let the web interface write the script you need for you. Just choose the Access data pull-down menu and choose Create a command to download multiple exps. Then follow the instructions, and you will have the command you need to download whatever you want from Madrigal. Be sure to select python as the language you want to create the command with. You can choose to download files as they are in Madrigal in either column-delimited ascii, Hdf5, or netCDF4 formats, or you can choose the parameters yourself (including derived parameters), and optionally include filters on the data you get back.

This web interface will generate python commands using one of the following two Python scripts: globalDownload.py and globalIsprint.py. Use globalDownload.py if you want data as it is in Madrigal. Use globalIsprint.py to choose parameters and/or filters. These two scripts are documented below, for those who do not want to use the web interface to generate the needed arguments:

See the online documentation for the script globalCitation.py. This script is used to create a permanent citation to a group of Madrigal files.

For questions or comments, contact Bill Rideout at brideout@mit.edu or Katherine Cariglia at cariglia@mit.edu

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

madrigalweb-3.3.7.tar.gz (35.8 kB view details)

Uploaded Source

Built Distribution

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

madrigalweb-3.3.7-py3-none-any.whl (59.9 kB view details)

Uploaded Python 3

File details

Details for the file madrigalweb-3.3.7.tar.gz.

File metadata

  • Download URL: madrigalweb-3.3.7.tar.gz
  • Upload date:
  • Size: 35.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for madrigalweb-3.3.7.tar.gz
Algorithm Hash digest
SHA256 e52c13401d5ceefc62cf4c55890d8ef4c3310009562e06e39293e50ee28ba55c
MD5 41c51def2a99c3a449640f6c4c3cda2b
BLAKE2b-256 48f6bd22eec2ff32af719f912db8ed7f3614eecaaed70f7c4ab25a6dd6bab34f

See more details on using hashes here.

Provenance

The following attestation bundles were made for madrigalweb-3.3.7.tar.gz:

Publisher: python-publish.yml on MITHaystack/madrigalWeb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madrigalweb-3.3.7-py3-none-any.whl.

File metadata

  • Download URL: madrigalweb-3.3.7-py3-none-any.whl
  • Upload date:
  • Size: 59.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for madrigalweb-3.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4d9a2f426e7867dd0be521bc9be109dce7668de1eeb06af22c45421f1227f9f1
MD5 d75d2ee6bde2908d74f26ae53caf4e20
BLAKE2b-256 61a12110521b51e586ce1f3cab05b8364723f6461018c5ddac2d2abc7adeb45d

See more details on using hashes here.

Provenance

The following attestation bundles were made for madrigalweb-3.3.7-py3-none-any.whl:

Publisher: python-publish.yml on MITHaystack/madrigalWeb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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