Skip to main content

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


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.3.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

pangeo_forge_cmr-0.3-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file pangeo-forge-cmr-0.3.tar.gz.

File metadata

  • Download URL: pangeo-forge-cmr-0.3.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.10

File hashes

Hashes for pangeo-forge-cmr-0.3.tar.gz
Algorithm Hash digest
SHA256 04a74e6a258b08f3bd722dac23f734e3ca3c570df02870c0931b395f33a64a9e
MD5 325752dc56063be8d05894b2e30eecf5
BLAKE2b-256 dfd02574b3b54a7bfa22c4e886af9f0161f4b58999987d685e557c900385235c

See more details on using hashes here.

File details

Details for the file pangeo_forge_cmr-0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pangeo_forge_cmr-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3c7e0bb89ab87c4be0540aaf80fefc381f53b8826a4c78ecc8fc24b66381ea52
MD5 a2d6c06d4a189fcacab04001dfaddb67
BLAKE2b-256 9f0f4e6c12b28a4e87824b15cef9bde38d624ad99173b0f639461cee9e2ae8f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page