nasa / eo-metadata-tools

eo-metadata-tools is a set of repositories for working with Earth Observation metadata. At its core are common libraries and demonstration scripts for accessing the Common Metadata Repository, to be accompanied by more specific modules and scripts to do dataset-specific queries, metadata validation, etc...
Apache License 2.0
25 stars 11 forks source link

Feature request #36

Open Marston opened 3 years ago

Marston commented 3 years ago

I would like to request the CMR Python API be able to query a dataset and return its comprehensive CMR attributes. What I’m envisioning is that when I make a call to my describe method I get back the full CMR status/overview of that dataset and version. Therefore, if something is missing, I can know right away. I’m not looking to add every single detail, just a comprehensive overview. I have a code that I can submit for review but I'm missing the different UMMs, particularly UMM-Var.

A script to describe a CMR dataset given the product shortName and version. I’ve extracted and printed to stdout a json that includes the following:

  1. Collection ID
  2. Granule count
  3. A sample (file url) of the granule data, if there count is > 0
  4. Instrument/model description (some info on provenance)
  5. user input parameters .... request features .....
  6. UMM-Var status
  7. UMM-Var variable list
  8. Other UMMs
  9. I would like to add UMM-VAR meta info if I could, i.e., is there UMM-VAR info for this product. This would be kind of like a Harmony compatibility check.

jceaser commented 3 years ago

sounds like at the most basic, we just need to add support for all the end points.