https://github.com/mithaystack/madrigalweb
madrigalWeb is a pure python module to access data from any Madrigal database
https://github.com/mithaystack/madrigalweb
Last synced: about 1 month ago
JSON representation
madrigalWeb is a pure python module to access data from any Madrigal database
- Host: GitHub
- URL: https://github.com/mithaystack/madrigalweb
- Owner: MITHaystack
- License: mit
- Created: 2024-09-19T20:37:31.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-21T20:02:00.000Z (2 months ago)
- Last Synced: 2025-02-21T21:22:33.510Z (2 months ago)
- Language: Python
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
- Citation: CITATION.cff
Awesome Lists containing this project
README
# 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.orgThe 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 [email protected] or Katherine Cariglia at [email protected]