Currently, the download_quads notebook and example script interacts with the API incorrectly and silently gives the wrong results. It ignores two very critical things for interacting with any Planet API:
pagination - the results returned by the API are not on a single page
automatic retries of 429/etc responses - the API will respond with 429s that should be retried with exponential backoff
As a result, it gives on the first few quads, not all quads found by the search in the example. It also will very quickly give errors if used, as 429 responses are not correctly retried.
This MR replaces the incorrect content in the notebook with a broader overview of the Basemaps API showing correct pagination usage and automatic retries of 429/etc responses.
Currently, the
download_quads
notebook and example script interacts with the API incorrectly and silently gives the wrong results. It ignores two very critical things for interacting with any Planet API:As a result, it gives on the first few quads, not all quads found by the search in the example. It also will very quickly give errors if used, as 429 responses are not correctly retried.
This MR replaces the incorrect content in the notebook with a broader overview of the Basemaps API showing correct pagination usage and automatic retries of 429/etc responses.