File tree Expand file tree Collapse file tree 5 files changed +27
-16
lines changed Expand file tree Collapse file tree 5 files changed +27
-16
lines changed Original file line number Diff line number Diff line change 8
8
9
9
Data repository for Project Pythia examples/notebooks
10
10
11
+ ## Sample data sets
12
+
13
+ These files are used as sample data in Pythia Project examples/notebooks and are downloaded by ` pythia_datasets ` package:
14
+
15
+ - ` NARR_19930313_0000.nc `
16
+ - ` enso_data.csv `
17
+ - ` jan-17-co-asos.txt.xz `
18
+
19
+ ### Adding new datasets
20
+
21
+ To add a new dataset file, please follow these steps:
22
+
23
+ 1 . Add the dataset file to the ` data/ ` directory
24
+ 2 . From the command line, run ` python make_registry.py ` script to update the registry file residing in ` pythia_datasets/registry.txt `
25
+ 3 . Commit and push your changes to GitHub
26
+
11
27
[ github-ci-badge ] : https://img.shields.io/github/workflow/status/ProjectPythia/pythia-datasets/CI?label=CI&logo=github&style=for-the-badge
12
28
[ github-lint-badge ] : https://img.shields.io/github/workflow/status/ProjectPythia/pythia-datasets/linting?label=linting&logo=github&style=for-the-badge
13
29
[ github-ci-link ] : https://github.com/ProjectPythia/pythia-datasets/actions?query=workflow%3ACI
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import os
2
+ import pathlib
3
+
4
+ import pooch
5
+
6
+ if __name__ == '__main__' :
7
+ here = pathlib .Path (os .path .dirname (__file__ ))
8
+ data_dir = here / 'data'
9
+
10
+ pooch .make_registry (data_dir , here / 'pythia_datasets/registry.txt' )
Original file line number Diff line number Diff line change 1
- jan-17-co-asos.txt.xz c3b55b9ed67b3a3fa92636b139778e36240a09f8b6fc4d72526381b7673cc710
2
1
NARR_19930313_0000.nc 65a23aba0e32dc3dfa56e58fab68ad9028646e57547b246a42a8c16ed9152df4
3
2
enso_data.csv d81cafe5ad5cf3ee4b69c94f3401230badeb6429b85f916d62df6d74b553c371
3
+ jan-17-co-asos.txt.xz c3b55b9ed67b3a3fa92636b139778e36240a09f8b6fc4d72526381b7673cc710
You can’t perform that action at this time.
0 commit comments