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

Add support for CMR-Search-After to avoid lost / duplicated results #145

Closed
MattF-NSIDC opened this issue Sep 28, 2022 · 2 comments
Closed

Comments

@MattF-NSIDC
Copy link

MattF-NSIDC commented Sep 28, 2022

It's possible with a paging query to receive duplicate or lost results if changes to CMR are occurring between page queries. The recommended way to avoid this is currently the CMR-Search-After header ("scrolling" is deprecated): https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html#search-after

@betolink
Copy link
Member

This is definitely something worth adding! right now we are using explicit pagination but is not optimal. Maybe we can couple this pagination with some lazy query evaluation see #120

@betolink
Copy link
Member

This as implemented in v0.4.7!! thanks for the report @MattF-NSIDC !!

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

No branches or pull requests

2 participants