Download datasets from the RE-MAT Clowder
Project description
RE-MAT Data Downloader
This package provides a simple interface to download datasets used in the ReMat project.
Installation
This is a python package and can be installed using pip:
pip install remat-data-downloader
Authentication
You need to obtain a Clowder API key to use this package. You can obtain this
key by logging into the
RE-MAT Clowder instance and going
to your user settings page (grey silhouette in the upper right corner of the
page). Click on the API Keys tab and create a new key. Save this key in a file
nameed clowder_key.txt
in the directory where you will be running the
remat-download-data
command.
Usage
The remat-download-data command can be run from your command line. It has commands to interact with Clowder spaces and with datasets.
List Spaces
remat-download-data spaces list
Clowder Spaces
┏━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Name ┃ ID ┃ datasets ┃
┡━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Front velocities │ 6674972be4b0a2d1b9ba0228 │ 303 │
│ DSC Post Cures │ 6669d4d0e4b0a2d1b9b9a797 │ 228 │
│ DSC Cure Kinetics │ 64343b6be4b01a23c58bad90 │ 307 │
└───────────────────┴──────────────────────────┴──────────┘
Download Datasets
Now that you know the unique ID for the space you want to download, you can
download the datasets using the download
command. This command will create
subdirectories for each dataset and download the metadata as a json file and the
DSC Curve as a csv file.
You can re-run this command, and it will skip downloads of datasets that already exist in the directory.
remat-download-data spaces download 6669d4d0e4b0a2d1b9b9a797
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file remat_download_data-1.0.0rc3.tar.gz
.
File metadata
- Download URL: remat_download_data-1.0.0rc3.tar.gz
- Upload date:
- Size: 3.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8943b843e560199bb62b3e6f82db337b166cae830f6e5785c2499351a13e752d |
|
MD5 | 7fd4e6d838dc649645598c649524bd03 |
|
BLAKE2b-256 | 5334df79418f0db12c9594d000e8d93093040be598a848581abb818b4a28dc26 |
File details
Details for the file remat_download_data-1.0.0rc3-py3-none-any.whl
.
File metadata
- Download URL: remat_download_data-1.0.0rc3-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbde75e43e9aa7658a14aa24a34a8e217f09b41585d1d2ff70869391f2c62472 |
|
MD5 | 45e2bca0c4374b5d70d571edb1e4a03f |
|
BLAKE2b-256 | d1936e27815b442d940f0ef18275f3d64e79e05a55519a5ba14a201fc145cdba |