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.6.tar.gz (36.3 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.6-py3-none-any.whl (60.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: madrigalweb-3.3.6.tar.gz
  • Upload date:
  • Size: 36.3 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.6.tar.gz
Algorithm Hash digest
SHA256 15a4e56dc80410032780e19f7a06138e80c72dbc4adfc03843428864730b82e8
MD5 1e7b9bcc745b37de2ba45d9d4bd68852
BLAKE2b-256 3acd4dad63e7662fa0328547db438709e8fad8fb2de34f0d2a39317540d439aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for madrigalweb-3.3.6.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.6-py3-none-any.whl.

File metadata

  • Download URL: madrigalweb-3.3.6-py3-none-any.whl
  • Upload date:
  • Size: 60.4 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 05a29cce1ab0be650b45c878a45a5d9d7d38b4d78b5421e8c4769f87d8a54f68
MD5 1c87582acdbf5760a013e0a95b44dddc
BLAKE2b-256 6eff6cfc046f4971f81adad0f4272cd72d284641623bf97c42aa9d202df63861

See more details on using hashes here.

Provenance

The following attestation bundles were made for madrigalweb-3.3.6-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