DOI-USGS/sciencebasepy

Problem with offset parameter

Closed this issue · 1 comments

While browsing the USGS Lidar point cloud catalog, I get an "Invalid paging params" error for the offset parameter >150000, although the catalog has many more items. Is there a way to go beyond 150000 somehow?

The issue can be reproduced with

from sciencebasepy import SbSession
sb = SbSession()
catalog_id = "4f70ab64e4b058caae3f8def" # USGS Lidar Point Cloud

sb.find_items({'parentId': catalog_id, 'fields': 'title,spatial', 'max': 10, 'offset': 151000}) # works until offset of 150000