Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions dataretrieval/waterdata/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def get_daily(
limit : numeric, optional
The optional limit parameter is used to control the subset of the
selected features that should be returned in each page. The maximum
allowable limit is 10000. It may be beneficial to set this number lower
allowable limit is 50000. It may be beneficial to set this number lower
if your internet connection is spotty. The default (NA) will set the
limit to the maximum allowable limit for the service.
convert_type : boolean, optional
Expand Down Expand Up @@ -467,7 +467,7 @@ def get_monitoring_locations(
limit : numeric, optional
The optional limit parameter is used to control the subset of the
selected features that should be returned in each page. The maximum
allowable limit is 10000. It may be beneficial to set this number lower
allowable limit is 50000. It may be beneficial to set this number lower
if your internet connection is spotty. The default (NA) will set the
limit to the maximum allowable limit for the service.
skip_geometry : boolean, optional
Expand Down Expand Up @@ -662,7 +662,7 @@ def get_time_series_metadata(
limit : numeric, optional
The optional limit parameter is used to control the subset of the
selected features that should be returned in each page. The maximum
allowable limit is 10000. It may be beneficial to set this number lower
allowable limit is 50000. It may be beneficial to set this number lower
if your internet connection is spotty. The default (None) will set the
limit to the maximum allowable limit for the service.
convert_type : boolean, optional
Expand Down Expand Up @@ -838,7 +838,7 @@ def get_latest_continuous(
limit : numeric, optional
The optional limit parameter is used to control the subset of the
selected features that should be returned in each page. The maximum
allowable limit is 10000. It may be beneficial to set this number lower
allowable limit is 50000. It may be beneficial to set this number lower
if your internet connection is spotty. The default (None) will set the
limit to the maximum allowable limit for the service.
convert_type : boolean, optional
Expand Down Expand Up @@ -1013,7 +1013,7 @@ def get_latest_daily(
limit : numeric, optional
The optional limit parameter is used to control the subset of the
selected features that should be returned in each page. The maximum
allowable limit is 10000. It may be beneficial to set this number lower
allowable limit is 50000. It may be beneficial to set this number lower
if your internet connection is spotty. The default (None) will set the
limit to the maximum allowable limit for the service.
convert_type : boolean, optional
Expand Down Expand Up @@ -1179,7 +1179,7 @@ def get_field_measurements(
limit : numeric, optional
The optional limit parameter is used to control the subset of the
selected features that should be returned in each page. The maximum
allowable limit is 10000. It may be beneficial to set this number lower
allowable limit is 50000. It may be beneficial to set this number lower
if your internet connection is spotty. The default (None) will set the
limit to the maximum allowable limit for the service.
convert_type : boolean, optional
Expand Down
4 changes: 2 additions & 2 deletions dataretrieval/waterdata/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,10 +382,10 @@ def _construct_api_requests(
# Set skipGeometry parameter (API expects camelCase)
params["skipGeometry"] = skip_geometry

# If limit is none or greater than 10000, then set limit to max results. Otherwise,
# If limit is none or greater than 50000, then set limit to max results. Otherwise,
# use the limit
params["limit"] = (
10000 if limit is None or limit > 10000 else limit
50000 if limit is None or limit > 50000 else limit
)

# Indicate if function needs to perform POST conversion
Expand Down
Loading