Pipeline tools for building and publishing analysis ready datasets.
Project description
pangeo-forge-cmr
Small library that integrates NASA's Common Metadata Repository (CMR) with pangeo-forge-recipes. The goal is to help make pangeo-forge recipes that use CMR for getting raw data.
Installation
You can install this from PyPI with pip install pangeo-forge-cmr
.
Example
from pangeo_forge_recipes.patterns import pattern_from_file_sequence
from pangeo_forge_recipes.recipes import XarrayZarrRecipe
from pangeo_forge_cmr import get_cmr_granules_links
# Get the GPM IMERG Late Precipitation Daily data
shortname = 'GPM_3IMERGDL'
recipe = XarrayZarrRecipe( # We are making Zarr, could be something else too
pattern_from_file_sequence(
get_cmr_granules_links(shortname), # Provide a list of files by querying CMR
nitems_per_file=1,
concat_dim='time', # Describe how the dataset is chunked
),
inputs_per_chunk=12,
)
Credit
Most of the CMR code was developed by Brianna Pagán in this PR
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
pangeo-forge-cmr-0.1.tar.gz
(7.9 kB
view details)
Built Distribution
File details
Details for the file pangeo-forge-cmr-0.1.tar.gz
.
File metadata
- Download URL: pangeo-forge-cmr-0.1.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06e6c7698384b6c4075dc4a4a7b15000bcc3e1bbe7262f777efdca2d1971c878 |
|
MD5 | 3049545f94fc25d3f9d796bf51370112 |
|
BLAKE2b-256 | f183bd7601046ed9ecb6cbe051001c9bc896525ebc73c3ef3f80ce592b265fec |
File details
Details for the file pangeo_forge_cmr-0.1-py3-none-any.whl
.
File metadata
- Download URL: pangeo_forge_cmr-0.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 740bbeb49a2e0d70da94db1b559913c4948bf91ffa4ebacf9ac1d179994e8f33 |
|
MD5 | 1ba2c6cb7355219ba2687604e94ba7ef |
|
BLAKE2b-256 | eafd7e81ceca1c42542aff1cfda30e89e4c67b3df88d00e2a21049785f752d36 |