/nasa-cmr-inventory

Retrieve and systematically process metadata from NASA CMR and translate to spatial/text formats.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

nasa-cmr-inventory

Process CMR metadata (by project) into tabular and spatial formats for spatial db index.

  • contents: list of files included for each project and dataset
  • usage: example invocation of python module cmr as script
  • updates: details about update tracking

contents

Each project has the following files (e.g. projects/podaac/ghrsst/):

And each dataset in a project has the following files (e.g. projects/podaac/ghrsst/GOES13-OSISAF-L3C-v1.0/):

usage

Optional: update path and query settings in config.json.

Run as a module by passing a valid project name to cmr/__main__.py:

python -m cmr ghrsst

update all projects

This wrapper script calls CMR collections endpoint to retrieve all of the unique project names for the input CMR provider (set __PROVIDER__ in update.py).

./update.py

updates

Update history is tracked by project in projects/podaac/projects.json.

The PROVIDER.md (PODAAC.md) is regenerated with every successful run.