nasa / python_cmr

Python library for querying the common metadata repository.
MIT License
24 stars 22 forks source link

Enable STAC Output for GranuleQuery #82

Closed scottyhq closed 2 months ago

scottyhq commented 2 months ago

Address #81

Basic usage:

api = GranuleQuery() 
search = api.parameters(
    point=(-105.78, 35.79),
    temporal=('2021-02-01','2021-03-01'),
    collection_concept_id='C2021957657-LPCLOUD'  # collection_concept_id required for STAC search
)
items = search.format("stac").get()