climateset / README.md
climateset's picture
Update README.md
3b3a085 verified
---
tags:
- climate
license: other
---
## Terms of Use
By using the dataset, you agree to comply with the dataset license ([CC-by-4.0-Deed](https://creativecommons.org/licenses/by/4.0/deed.en)).
## Download Instructions
To download one file, please use
```
from huggingface_hub import hf_hub_download
# Path of the directory where the data will be downloaded in your local machine
local_directory = 'LOCAL_DIRECTORY'
# Relative path of the file in the repository
filepath = 'FILE_PATH'
repo_id = "climateset/climateset"
repo_type = "dataset"
hf_hub_download(repo_id=repo_id, filename=filepath, local_dir=local_directory, repo_type=repo_type, local_dir_use_symlinks=False)
```
To download the content of the whole repository, please use
```
from huggingface_hub import snapshot_download
# Path of the directory where the data will be downloaded in your local machine
local_directory = 'LOCAL_DIRECTORY'
repo_id = "climateset/climateset"
repo_type = "dataset"
snapshot_download(repo_id=repo_id, repo_type=repo_type, local_dir=local_directory, local_dir_use_symlinks=False)
```
Please note that the script `extract_climateset.py` can be used to extract the content of each of the .TAR archive files once they are downloaded in your local machine.