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.recipes import XarrayZarrRecipe
from pangeo_forge_cmr import files_from_cmr
# Get the GPM IMERG Late Precipitation Daily data
shortname = 'GPM_3IMERGDL'
recipe = XarrayZarrRecipe( # We are making Zarr, could be something else too
files_from_cmr( # Provide a list of files by querying CMR
shortname,
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.2.tar.gz
(8.0 kB
view details)
Built Distribution
File details
Details for the file pangeo-forge-cmr-0.2.tar.gz
.
File metadata
- Download URL: pangeo-forge-cmr-0.2.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52178c04fbe1e5cc7a8dda4b7209c988728fbea49d0822050de22ef51eaa6896 |
|
MD5 | 761f10808a2d69d049bee86942b9f2ea |
|
BLAKE2b-256 | 4c9aeb9f6f91ec01f699688e4738a88b68541c670e9394e89bf89a213d4db8ec |
File details
Details for the file pangeo_forge_cmr-0.2-py3-none-any.whl
.
File metadata
- Download URL: pangeo_forge_cmr-0.2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f240c3a8e2bffc687db3bbb58c7644c10bb7b134f3411c479c520ba0d2074e7f |
|
MD5 | 7e220d7b9d131f1a7edd9bb98fc534ec |
|
BLAKE2b-256 | d90f093a679a4eb3a0094902a816ecb3481d8aec4822219463823e8394d84f19 |