Skip to main content

Download datasets from the RE-MAT Clowder

Project description

RE-MAT Data Downloader

Actions Status Documentation Status

PyPI version Conda-Forge PyPI platforms

GitHub Discussion

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

remat_download_data-1.0.0.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

remat_download_data-1.0.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file remat_download_data-1.0.0.tar.gz.

File metadata

  • Download URL: remat_download_data-1.0.0.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

Hashes for remat_download_data-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b73e07e9e70f0f895c6ddf89757026d0c5a766599df60e0db3916d19450adf36
MD5 9be4f13196ae6453373cf6f0f29addab
BLAKE2b-256 355edf9b0f965b83d4928a6962b406d27fc7147f0ec5090ebcb94b4b9678d410

See more details on using hashes here.

File details

Details for the file remat_download_data-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for remat_download_data-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79adaf5aed4a4093386b7b89ba9122a7f39eeedc499e3df2b6dbd7d6d0f38890
MD5 e2a1747132f6f86f0bb8d24a61fe1603
BLAKE2b-256 313f34147dfde4fe230157fd2c138a381db0db7b643f9c3b7f120d6a8f07ff4b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page