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

Use CMR "Search After" for collection and granule queries #92

Open
chuckwondo opened this issue Apr 10, 2024 · 1 comment
Open

Use CMR "Search After" for collection and granule queries #92

chuckwondo opened this issue Apr 10, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@chuckwondo
Copy link
Contributor

Use Search After for collection and granule queries, which is the recommended approach for paging, especially for deep paging, as it is much more efficient than using page_num, and also does not have the limitations that come with using page_num, which are as follows (see Paging Details):

Note: In the event which an ingest or delete occurs between paging requests, the order of your results may change, causing inconsistent results across pages.

You can not page past the 1 millionth item. Please contact the CMR Team at [email protected] if you need to retrieve items in excess of 1 million from the CMR. Additionally granule queries which do not target a set of collections are limited to paging up to the 10000th item.

@chuckwondo chuckwondo added the enhancement New feature or request label Apr 10, 2024
@frankinspace
Copy link
Collaborator

Does this library issue cmr queries? Perhaps it should use https://github.com/nasa/python_cmr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants