Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable STAC Output for GranuleQuery #82

Merged
merged 3 commits into from
Aug 30, 2024
Merged

Conversation

scottyhq
Copy link
Contributor

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()

Copy link
Collaborator

@chuckwondo chuckwondo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@scottyhq, thanks for your submission! Please see my comments, and please also add an entry to CHANGELOG.md.

tests/test_granule.py Show resolved Hide resolved
cmr/queries.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@chuckwondo chuckwondo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thank you!

@chuckwondo chuckwondo merged commit e702451 into nasa:develop Aug 30, 2024
7 checks passed
@chuckwondo chuckwondo mentioned this pull request Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants