Recent Releases of hydrotools

hydrotools - OWPHydroTools Release v3.1.0

Content

hydrotools-3.1.0 _restclient-4.1.0 nwis_client-4.1.0 nwm_client-9.1.0 events-2.2.0 metrics-2.2.0 svi_client-1.1.0

What's Changed

  • Correct docs page version by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/274
  • Add baseflow separation algorithm to events by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/275
  • Revert "Add baseflow separation algorithm to events" by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/277
  • Revert "Revert "Add baseflow separation algorithm to events"" by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/278
  • remove 3.8 and 3.9 testing from events by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/279
  • bump docs deployment to 3.10 by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/280
  • Correct pytest fixture by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/282
  • update pytest fixture from loop to eventloop in sviclient by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/283
  • Add event scale metrics to metrics by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/284
  • Add flow duration curve module to metrics. by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/285
  • Add Interception Module by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/286
  • Increase minimum Python version to 3.9 by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/289

Full Changelog: https://github.com/NOAA-OWP/hydrotools/compare/v3.0.0...v3.1.0

- Python
Published by jarq6c 11 months ago

hydrotools - OWPHydroTools Release v3.0.0

Content

hydrotools-3.0.0 _restclient-4.0.0 nwis_client-4.0.0 nwm_client-9.0.0 events-2.0.0 metrics-2.0.0 svi_client-1.0.0

What's Changed

  • Remove caches and and old nwm client from slow unit tests by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/271
  • Apply Apache v2.0 License by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/272

Full Changelog: https://github.com/NOAA-OWP/hydrotools/compare/v2.4.0...v3.0.0

- Python
Published by jarq6c about 1 year ago

hydrotools - OWPHydroTools Release v2.4.0

Content

hydrotools-2.4.0 _restclient-3.1.1 nwis_client-3.4.1 nwm_client-8.0.0 events-1.1.7 metrics-1.3.5 svi_client-0.0.3

What's Changed

  • Add future warning to nwm_client_new about package name change. by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/267
  • Swap nwm-client by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/268
  • update package name for docs workflow by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/269
  • Update nwm docs by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/270

Full Changelog: https://github.com/NOAA-OWP/hydrotools/compare/v2.3.0...v2.4.0

- Python
Published by jarq6c about 1 year ago

hydrotools - OWPHydroTools Release v2.3.0

Content

hydrotools-2.3.0 _restclient-3.1.1 nwis_client-3.4.1 caches-0.1.5 nwm_client-5.1.5 events-1.1.7 nwm_client_new-7.4.4 metrics-1.3.5 svi_client-0.0.3

What's Changed

  • Add Social Vulnerability Index (SVI) subpackage by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/169
  • Add COE, COP, and volumetric efficiency to metrics by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/195
  • Add minimal unit handling to nwm_client by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/196
  • Add SVI to readme by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/199
  • Update contribution.md by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/201
  • Pin importlib-metadata version in nwmclientnew by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/221
  • Optionally include additional metadata with nwis_client get requests by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/214
  • Add pytest-aiohttp development dep to svi_client by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/218
  • Resolve nwis service raising pandas FutureWarning by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/210
  • Echo dependency versions in runners by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/220
  • Add guidance for installing hydrotools.caches on mac silicon by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/222
  • Narrow subpackage workflows in scope by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/225
  • Update NWM Client New interfaces and bring up to feature parity with old client [Updated] by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/227
  • Update nwm client new docs by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/230
  • Add __bool__ to ParquetStore by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/232
  • Add manual trigger options to individual tests. by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/233
  • New Workflow Manual Trigger Incorrectly Indented by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/234
  • Add interface to nwm_client_new for Azure Blob Storage by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/236
  • Bump restclient's aiohttp and `aiohttpclient_cache` version deps by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/237
  • Refactor RestClient to avoid creating circular references by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/239
  • Bring svi_client field name maps into compliance with pydanic>2 by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/241
  • Add ability to run slow tests gh action manually by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/243
  • docs: fix agu presentation link by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/245
  • Update events for pandas v3.0 compatibility by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/247
  • Update nwm_client_new routelink source for NWM v3.0 expanded domain by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/249
  • Patch nwm_client_new for Python 3.12 by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/251
  • Update NWMFileClient.py concat method. by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/252
  • update default units handler to use explicit cache folder by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/254
  • Add nwis_client iv context handler by @JoshCu in https://github.com/NOAA-OWP/hydrotools/pull/257
  • Bump nwis_client version by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/258
  • Update hydrotools.metrics to newer Python versions by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/261
  • Migrate setup.cfg to pyproject.toml by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/263
  • ci: run slow unit tests on 3.11 & 3.12 by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/264
  • Nwm client transition by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/265
  • Update HT super package dependencies by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/266

New Contributors

  • @JoshCu made their first contribution in https://github.com/NOAA-OWP/hydrotools/pull/257

Full Changelog: https://github.com/NOAA-OWP/hydrotools/compare/v2.2.3...v2.3.0

- Python
Published by jarq6c over 1 year ago

hydrotools - OWPHydroTools Release v2.2.3

Content

hydrotools-2.2.3 _restclient-3.0.5 nwis_client-3.2.1 caches-0.1.3 nwm_client-5.0.3 events-1.1.5 metrics-1.2.3

What's Changed

  • Add Kling-Gupta Efficiency by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/172
  • Fix 160. **params arg in IVDataService.get now raises warning when case insensitively matches other parameters by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/174
  • Add cache_filename parameter to the NWIS Client constructor by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/176
  • Add nwm_client documentation and minor subpackage level import changes by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/179
  • Resolve Nwm client IndexError: invalid index to scalar variable. (#180) by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/182
  • Add check for complete categories when constructing contingency tables by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/184
  • Add nwis_client CLI by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/185
  • Patch update to nwm-client HTTP interface by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/186
  • Suppress NWIS Client value_time warning by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/187
  • Improvements to validation checks by @groutr in https://github.com/NOAA-OWP/hydrotools/pull/189
  • bump metrics version to 1.2.2 by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/190
  • Make map conversions more efficient alternative by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/191
  • HydroTools Superpackage Release 2.2.3 by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/194

New Contributors

  • @groutr made their first contribution in https://github.com/NOAA-OWP/hydrotools/pull/189

Full Changelog: https://github.com/NOAA-OWP/hydrotools/compare/v2.2.2...v2.2.3

- Python
Published by jarq6c over 3 years ago

hydrotools - OWPHydroTools Release v2.2.2

Content

hydrotools-2.2.2 _restclient-3.0.5 nwis_client-3.0.6 caches-0.1.3 nwm_client-5.0.1 events-1.1.5 metrics-1.1.3

Notes

gcp_client is still available, but deprecated. nwm_client_new is still in pre-release development. The hydrotools superpackage now pulls in google-cloud-storage dependencies by default.

What's Changed

  • Warn for Null values in series when calling event detection by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/124
  • Update documentation by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/125
  • update name version and front page by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/126
  • Update package level installation makefile by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/128
  • Fix #99: "RuntimeError: This event loop is already running" in colab and notebook. Re-PR of #100 by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/130
  • fix nwis_client bug causing KeyError when station does not return data -- Updated by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/135
  • fix nwis_client bug causing KeyError when station does not return data by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/134
  • nwis_client now requires _restclient >= 3.0.4 by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/140
  • Redesign NWM Client Subpackage by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/138
  • Move package/subpackage version inside package source by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/142
  • Move nwmclientnew version inside package source by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/149
  • fix 153; _restclient pins aiohttp version to <=3.7.4.post0 by @aaraney in https://github.com/NOAA-OWP/hydrotools/pull/154
  • Switch NWM Crosswalk Source from CSV to URL by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/156
  • NWM Client: Limit number of get calls for testing by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/158
  • NWM Client New: Separate Large Modules by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/159
  • Metrics: Default to numpy scalars for computation by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/163
  • Advance Superpackage to 2.2.2 by @jarq6c in https://github.com/NOAA-OWP/hydrotools/pull/165

Full Changelog: https://github.com/NOAA-OWP/hydrotools/compare/v2.1.2...v2.2.2

- Python
Published by jarq6c about 4 years ago

hydrotools - OWPHydroTools Release v2.1.2

Content

hydrotools-2.1.2 _restclient-3.0.3 nwis_client-3.0.4 caches-0.1.3 nwm_client-5.0.1 events-1.1.4 metrics-1.0.3

Details

Mostly minor documentation updates. Switched from gcp_client to nwm_client to move toward providing a unified interface for accessing NWM data. gcp_client is still available, but deprecated. nwm_client includes an http interface for retrieving data from generic web servers.

- Python
Published by jarq6c over 4 years ago

hydrotools - OWPHydroTools Release v2.1.1

Content

hydrotools-2.1.1 _restclient-3.0.2 nwis_client-3.0.3 caches-0.1.2 gcp_client-4.1.1 events-1.1.3 metrics-1.0.2

Details

Includes various bug fixes and improves documentation to reflect slightly new functionality from last release. Package structures have been refactored to adopt a "src" folder structure and use setup.cfg files. This makes for a slightly cleaner package base and unifies installation and development under pip.

This release includes the addition of the hydrotools super package. This allows installation of all packages using: bash $ python3 -m pip install hydrotools Minimum versions are set where applicable to guarantee cross-package compatibility.

- Python
Published by jarq6c over 4 years ago

hydrotools - Hydrotools Release v2.1.0

Additions

  • IVDataService parameters: enable_cache and cache_expire_after allowing control over cache usage.
  • Url keyword arguments quote_treatment, safe, and quote_overide_map added to support flexibility in quoted url representation. Urls are still comparable using the == operator however urls can differ in their quote_url representation.
  • RestClient.mget now accepts a collection of query parameters and/or headers. It is not required to provide urls to mget if base url is set. Thus, a collection of query's can be passed in a collection and the will be built into requests as parameters of the base url.
  • Url: Treat urls like to pathlib.Paths. Supports appending paths with / and appending url query parameters with +.
  • ClientSession: Extension of aiohttp_client_cache that adds exponential backoff.
  • Variadic: Join list or tuple of objects on some delimiter. Useful when query parameters utilize a non-key=value&key=value2 pattern.

Removals

  • IVDataService parameters: process and retry removed.
  • All code using multiprocessing removed
  • IVDataService method following pattern get_raw_ and get_json removed
  • U.S. State constants removed and no longer checked
  • procs property removed

Changes

  • IVDataService now uses aiohttp via _restclient to do asynchronous retrieval of data.
  • documentation updated with examples
  • IVDataService::get
    • now accepts multiple states, hucs, counties, bounding boxes
    • is now an instance method instead of a classmethod
  • The default splitting factor for sites is now 20 instead of the previous 100.
  • Update Url docstring to reflect new kwarg additions
  • RestClient: a class which offers asynchronous performance via a convenient serial wrapper, sqlite database GET request caching, GET request backoff, batch GET requests, and flexible url argument encoding.
  • RestClient parameters changed (breaking).

- Python
Published by aaraney over 4 years ago

hydrotools - HydroTools Release v2.0.0-alpha.1

Last release before transition to asynchronous _restclient and nwis_client.

Subpackages

restclient v2.1.0-alpha.0 caches v0.1.1 events 1.0.2 gcpclient 3.0.0 metrics 1.0.1 nwis_client 2.0.0-alpha.0

- Python
Published by jarq6c over 4 years ago

hydrotools - v2.0.0-alpha.0

Major change. Namespace moved from evaluatoin_tools to hydrotools. This included the repo itself. Please update your remote using git remote set-url origin git@github.com:NOAA-OWP/hydrotools.git.

- Python
Published by aaraney almost 5 years ago

hydrotools - Evaluation Tools Release v1.3.5

  • Refinements to event detection noise handling
  • Updates to package handling
  • Incorporates additional metrics (MSE and NSE)
  • Last release before namespace change to hydrotools

- Python
Published by jarq6c almost 5 years ago

hydrotools - Evaluation Tools Release v1.3.2

Incorporates new event detection functionality from events v0.2.3

- Python
Published by jarq6c about 5 years ago

hydrotools - Evaluation Tools Release v1.3.0

Generic tools for conducting National Water Model evaluations against USGS Observations.

Included Tools

restlicent v1.0.0 events v0.2.1 gcpclient v0.2.0 metrics v0.1.1 nwis_client v1.1.0

- Python
Published by jarq6c about 5 years ago