We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
👋🏽 both collections and granules allow for sorting results by a sort key (see https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html#sorting-collection-results). It would be great to add this parameter to search_data for sorting granule results by something like start_date or end_date.
search_data
Example:
first_result = earthaccess.search_data( short_name=short_name, cloud_hosted=True, count=1, sort_key='+end_date' ) last_result = earthaccess.search_data( short_name=short_name, cloud_hosted=True, count=1, sort_key='-end_date' )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
👋🏽 both collections and granules allow for sorting results by a sort key (see https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html#sorting-collection-results). It would be great to add this parameter to
search_data
for sorting granule results by something like start_date or end_date.Example:
The text was updated successfully, but these errors were encountered: