Skip to content

Releases: NOAA-OWP/hydrotools

OWPHydroTools Release v2.2.3

24 May 21:17
80489a5
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v2.2.2...v2.2.3

OWPHydroTools Release v2.2.2

15 Dec 15:54
8a2b323
Compare
Choose a tag to compare

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

Full Changelog: v2.1.2...v2.2.2

OWPHydroTools Release v2.1.2

06 Aug 20:00
Compare
Choose a tag to compare

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.

OWPHydroTools Release v2.1.1

30 Jul 00:50
2f3c8bb
Compare
Choose a tag to compare

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:

$ python3 -m pip install hydrotools

Minimum versions are set where applicable to guarantee cross-package compatibility.

Hydrotools Release v2.1.0

16 Jun 21:25
Compare
Choose a tag to compare

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).

HydroTools Release v2.0.0-alpha.1

16 Jun 17:40
256bbbf
Compare
Choose a tag to compare

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
gcp_client 3.0.0
metrics 1.0.1
nwis_client 2.0.0-alpha.0

v2.0.0-alpha.0

02 Apr 21:16
Compare
Choose a tag to compare

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.

Evaluation Tools Release v1.3.5

01 Apr 20:42
9470d0e
Compare
Choose a tag to compare
  • Refinements to event detection noise handling
  • Updates to package handling
  • Incorporates additional metrics (MSE and NSE)
  • Last release before namespace change to hydrotools

Evaluation Tools Release v1.3.2

18 Feb 21:57
22d2646
Compare
Choose a tag to compare

Incorporates new event detection functionality from events v0.2.3

Evaluation Tools Release v1.3.0

12 Feb 17:27
Compare
Choose a tag to compare

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

Included Tools

_restlicent v1.0.0
events v0.2.1
gcp_client v0.2.0
metrics v0.1.1
nwis_client v1.1.0