You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rewrite ScienceBase to make it generally usable for working with other ScienceBase items. A new function has been added for staging the Additional NHDPlus attributes items called stage_nhdplus_attrs.
Refactor AGRBase to remove unnecessary functions and make it more general.
Update PyGeoAPI class to conform to the new pygeoapi API. This web service is undergoing some changes at the time of this release and API is not stable, might not work as expected. As soon as the web service is stable, a new version will be released.
New Features
In WaterData.byid show a warning if there are any missing feature IDs that are requested but are not available in the dataset.
For all by* methods of WaterData throw a ZeroMatched exception if no features are found.
Add expire_after and disable_caching arguments to all functions that use async_retriever. Set the default request caching expiration time to never expire. You can use disable_caching if you don't want to use the cached responses. Please refer to documentations of the functions for more details.
Internal Changes
Refactor prepare_nhdplus to reduce code complexity by grouping all the NHDPlus tools as a private class.
Modify AGRBase to reflect the latest API changes in pygeoogc.ArcGISRESTfull class.
Refactor prepare_nhdplus by creating a private class that include all the previously used private functions. This will make the code more readable and easier to maintain.
Add all the missing types so mypy --strict passes.