add page size checks for sync/async request mode #243
Labels
good first issue
Good for newcomers
IS2HW_2022
Potential project contributions for the 2022 ICESat-2 hackweek participants
There's still a reference to using a smaller page size in
examples/examples/ICESat-2_DAAC_DataAccess_Example.ipynb
because it refers to synchronous requests. Note that this notebook indicates that synchronous requests are done by default, but I think this must be outdated. It looks like the request mode isasync
by default (https://github.com/icesat2py/icepyx/blob/development/icepyx/core/APIformatting.py#L446).Given that the page size limit is only 100 when the request mode is synchronous, maybe we need another check somewhere that decreases the page size when a user overrides that default and uses synchronous mode?
Originally posted by @trey-stafford in #239 (comment)
The text was updated successfully, but these errors were encountered: