Skip to main content

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

Metadata

Release files for pangeo-forge-cmr 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pangeo-forge-cmr 0.3
File Size Uploaded
pangeo-forge-cmr-0.3.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pangeo-forge-cmr 0.3
File Interpreter ABI Platform
pangeo_forge_cmr-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 15.4 kB

Release files / pangeo-forge-cmr-0.3.tar.gz

Download URL pangeo-forge-cmr-0.3.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
04a74e6a258b08f3bd722dac23f734e3ca3c570df02870c0931b395f33a64a9e
BLAKE2b-256 checksum
How to use checksums
dfd02574b3b54a7bfa22c4e886af9f0161f4b58999987d685e557c900385235c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.10

Release files / pangeo_forge_cmr-0.3-py3-none-any.whl

Download URL pangeo_forge_cmr-0.3-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c7e0bb89ab87c4be0540aaf80fefc381f53b8826a4c78ecc8fc24b66381ea52
BLAKE2b-256 checksum
How to use checksums
9f0f4e6c12b28a4e87824b15cef9bde38d624ad99173b0f639461cee9e2ae8f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.10

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page