A package containing common components for the roocs project
Project description
roocs-utils
A package containing common components for the roocs project
Free software: BSD - see LICENSE file in top-level package directory
Documentation: https://roocs-utils.readthedocs.io.
Features
Data Inventories
1. Data Inventories
The module roocs_utils.inventory provides tools for writing inventories of the known data holdings in a YAML format, e.g.:
$ python roocs_utils/inventory/inventory.py -pr c3s-cmip5
[INFO] Reading /group_workspaces/jasmin2/cp4cds1/vol1/data/c3s-cmip5/output1/MOHC/HadGEM2-ES/rcp45/mon/atmos/Amon/r1i1p1/tas/v20111 128/tas_Amon_HadGEM2-ES_rcp45_r1i1p1_212412-214911.nc
[INFO] Reading /group_workspaces/jasmin2/cp4cds1/vol1/data/c3s-cmip5/output1/MOHC/HadGEM2-ES/rcp45/mon/atmos/Amon/r1i1p1/ts/v201111 28/ts_Amon_HadGEM2-ES_rcp45_r1i1p1_209912-212411.nc
[INFO] Wrote: c3s-cmip5_MOHC_HadGEM2-ES.yml
One file is created for each model/institute pairing. These can be merged to one file using roocs_utils/inventory/merge_yaml.py
Writes:
- base_dir: /group_workspaces/jasmin2/cp4cds1/vol1/data/
project: c3s-cmip5
- path: c3s-cmip5/output1/MOHC/HadGEM2-ES/rcp45/mon/atmos/Amon/r1i1p1/tas/v20111128
dsid: c3s-cmip5.output1.MOHC.HadGEM2-ES.rcp45.mon.atmos.Amon.r1i1p1.tas.v20111128
var_id: tas
array_dims: time lat lon
array_shape: 3529 145 192
time: 2005-12-16T00:00:00 2299-12-16T00:00:00
facets:
activity: c3s-cmip5
ensemble_member: r1i1p1
experiment: rcp45
frequency: mon
institute: MOHC
mip_table: Amon
model: HadGEM2-ES
product: output1
realm: atmos
variable: tas
version: v20111128
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Cookiecutter: https://github.com/audreyr/cookiecutter
cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage
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 roocs_utils-0.1.4.tar.gz
.
File metadata
- Download URL: roocs_utils-0.1.4.tar.gz
- Upload date:
- Size: 35.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e44ca4c8c66c283aec96f36a2be810fa9f599438ee00dee0a94e4d6001721709 |
|
MD5 | 6db0b8a8b0b6b3f60b05c4b9d4eb8148 |
|
BLAKE2b-256 | 176b46e8c9460e635f40f320b8882ea7f983d70998366f9053c1c404ff781326 |
Provenance
File details
Details for the file roocs_utils-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: roocs_utils-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3bbaccdc93204a1301bb3114f9d43437197e05b118a26d8f2f1c69bdc679505 |
|
MD5 | 1cf349fc35b067eb0bf61b10d4d71ba5 |
|
BLAKE2b-256 | c5b96e135b18d5ad038c2812c4087bcb0b7ef9c30484e890529b4dd43dca8268 |