Skip to content

cemc-oper/cedarkit-test-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cedarkit-test-data

A test data downloader that prepares test datasets for the cedarkit toolkits.

Installation

pip install -e .

Usage

Command line

Download GFS data from WIS:

cedarkit-test-data download gfs --source wis --output ./data

Copy data from a locally mounted directory:

cedarkit-test-data download gfs --source music-dir --storage-base M: --output ./data

Python API

from cedarkit_test_data import download_gfs_data
from pathlib import Path

# Download to a target directory
download_gfs_data(
    output_dir=Path("./data"),
    source="wis",
)

Supported data sources

  • wis: download from the CMA WIS data service
  • music-dir: copy from a locally mounted music-dir directory

Supported data types

  • gfs: CMA GRAPES-GFS global model data

License

Licensed under the Apache License, Version 2.0.

About

Test data downloader for cedarkit toolkits

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages