Skip to main content

MadrigalWeb - a python API to access the Madrigal database

MadrigalWeb is a pure python module to access data from any Madrigal database. See documentation here. For more data examples go to any Madrigal site such as https://cedar.openmadrigal.org

The easiest way to use the Madrigal python remote data access API is to simply let the web interface generate the command you need.

Installing MadrigalWeb

You need to install the madrigalWeb python package first. You can do that with pip install madrigalweb or you can download the source here.

MadrigalWeb command generator

When using the command generator, 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. You can also create a permanent citation to a group of Madrigal files with globalCitation.py.

Rules-of-the-Road

Use of Madrigal data is generally subject to the CEDAR Rules-of-the-Road . Prior permission to access the data is not required. However, the user is required to establish early contact with any organization whose data are involved in the project to discuss the intended usage. Data are often subject to limitations which are not immediately evident to new users. Before they are formally submitted, draft copies of all reports and publications must be sent to the contact scientist at all data-supplying organizations along with an offer of co-authorship to scientists who have provided data. This offer may be declined. The Database and the organizations that contributed data must be acknowledged in all reports and publications, and whenever this data is made available through another database.

For questions or comments, contact the Madrigal admin.

Contributing

madrigalWeb Github

We encourage all contributions. If you have a problem with the code or would like to see a new feature, please open an issue or send us an email. Or you can submit a pull request.

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.8.tar.gz (43.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.8-py3-none-any.whl (66.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for madrigalweb-3.3.8.tar.gz
Algorithm Hash digest
SHA256 3eb5c621d0914980a5dc3e0885966f95bd8ae6ac82e694ff1c89afd004aa9b5d
MD5 f18213c3ad10833172f226f617855eff
BLAKE2b-256 c06055094a3484110511bec64cab51fbd9a88a037855f0fbad71181557e41067

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for madrigalweb-3.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 421d2d45a186bc8233cebbdb57a25d2040545be7af14f76c8b3774aefe00b1f5
MD5 16e50142645063a922446bec17e629f9
BLAKE2b-256 513a3fbb386bb4b5b52985463e7abe9bce7c7e2f186e947e12883d085f310ad7

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

This release

3.3.8 This release

2 files

3.3.7

2 files

3.3.6

2 files

3.3.5

2 files

3.3.3

2 files

3.3.2

2 files

3.3.1

1 file

3.3

2 files

3.2.4

2 files

3.2.3

1 file

3.2.2

1 file

3.2.1

1 file

3.2

1 file

3.1.12

1 file

3.1.11

1 file

3.1.10

1 file

3.1.9

1 file

3.1.8

1 file

3.1.7

1 file

3.1.6

1 file

3.1.5

1 file

3.1.4

1 file

3.1.3

1 file

3.1.2

1 file

3.1.1

1 file

3.1

1 file

3.0.1

1 file

3.0

1 file

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