Skip to main content

Common Metadata Repository (CMR) Search for ECOSTRESS Collection 2

Project description

Common Metadata Repository (CMR) Search for ECOSTRESS Collection 2

CI

The ECOv002-CMR Python package is a utility for searching and downloading ECOSTRESS Collection 2 tiled data product granules using the Common Metadata Repository (CMR) API.

Gregory H. Halverson (they/them)
gregory.h.halverson@jpl.nasa.gov
NASA Jet Propulsion Laboratory 329G

Pre-Requisites

This package uses wget for file transfers.

On macOS, install wget with Homebrew:

brew install wget

Installation

Install the ECOv002-CMR package, with a dash in the name, from PyPi using pip:

pip install ECOv002-CMR

Usage

Import the ECOv002_CMR package, with an underscore in the name:

import ECOv002_CMR

Download an ECOSTRESS Granule

Use the download_ECOSTRESS_granule function to download a granule by specifying the product, tile, and acquisition date (optionally orbit and scene):

from ECOv002_CMR import download_ECOSTRESS_granule
from datetime import date

# Example: Download an ECOSTRESS granule
granule = download_ECOSTRESS_granule(
    product="ECO2LSTE.002",
    tile="10UEV",
    aquisition_date=date(2023, 8, 1)
)

# The returned object is an ECOSTRESSGranule instance
print(granule)

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

ecov002_cmr-1.1.0.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ecov002_cmr-1.1.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file ecov002_cmr-1.1.0.tar.gz.

File metadata

  • Download URL: ecov002_cmr-1.1.0.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for ecov002_cmr-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4a2835121f9608d199eb813f4eaad5af2bd51d1e4cd639c9f23192e98e24e778
MD5 608c78bf1ecd982a40adc8d69ebc4cc2
BLAKE2b-256 029cab913904f5d62dd2a1db8d56afd8c7486e424af7e7c914075b6cd1bd1239

See more details on using hashes here.

File details

Details for the file ecov002_cmr-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: ecov002_cmr-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for ecov002_cmr-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0041c2c349a8f1bbe8802fcc5cbee48e10548ce1fd70113ba83163e76db7ff24
MD5 e4926dd00ba056b0df12f116f407562e
BLAKE2b-256 6823a01691061d87f21701e874a345bb5fd58857c554a97b8cc81b360fa79f7e

See more details on using hashes here.

Supported by

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