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

Paging Issue #116

Open
msweier opened this issue Dec 5, 2024 · 0 comments
Open

Paging Issue #116

msweier opened this issue Dec 5, 2024 · 0 comments

Comments

@msweier
Copy link
Collaborator

msweier commented Dec 5, 2024

When requesting a large timeseries (e.g. 15 years of 15 minute data....try Baldhill_Dam-Tailwater.Elev.Inst.~15Minutes.0.Raw-USGS-NGVD29), the following error occurs:

File c:\\anaconda3\envs\env-cwms\lib\site-packages\cwms\api.py:269, in get_with_paging(selector, endpoint, params, api_version)
    267 first_pass = True
    268 while (params["page"] is not None) or first_pass:
--> 269     temp = get(endpoint, params, api_version=api_version)
    270     if first_pass:
    271         response = temp
...
--> 233     raise ApiError(response)
    235 try:
    236     return cast(JSON, response.json())
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

1 participant