Skip to content

Releases: Geosyntec/nereid

v0.7.1

28 Apr 16:06
Compare
Choose a tag to compare

Bugfix for CodeCov packaging shenanigans

v0.7.0

21 Dec 22:20
Compare
Choose a tag to compare

changes

  • bump to python 3.11 for speed
  • speed up tests with pytest-xdist and pytest-cov

v0.6.0

18 Oct 23:12
ef036aa
Compare
Choose a tag to compare

New Features

  • bump dependencies, patch networkx semver instability.
  • enables simple land surface solves to support tools that already know the land surface loading.
  • add simple facility type for tools that already know the overall capture % and retention % for their facilities so they don't need dimensions or nomographs.

Breaking Changes

  • simplifies wet pond inputs to just permanent pool vol and tmnt vol. All other inputs will be ignored. This will not change anything on the client side in terms of API/query changes, but will alter returned results for these facilities.

v0.5.3

07 Apr 22:41
c4166af
Compare
Choose a tag to compare

Minor patch release

Enhancements

This release enables support for simpler config files by removing over-constrained land surface data files.

previously all of the following were required:

imp_ro_depth_inches: float
perv_ro_depth_inches: float
imp_ro_coeff: float
perv_ro_coeff: float

New behavior will calculate the imp_ro_depth_inches and perv_ro_depth_inches if they are not provided. This fallback requires the precip_depth_inches to be provided.

This release also adds try/except handlers to the endpoint tasks so that useful error messages can be returned even if something goes wrong.

v0.5.2

19 Mar 00:14
4d00d67
Compare
Choose a tag to compare

patch https issue in url_for

v0.5.1

16 Mar 21:46
0305d92
Compare
Choose a tag to compare
  • patch image paths

v0.5.0

16 Mar 21:23
f7a96bc
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • Optional sync and async endpoints with environment variable NEREID_ASYNC_MODE

    • NEREID_ASYNC_MODE=none (default) allows the app to be run as a single container api
    • NEREID_ASYNC_MODE=replace will use the async endpoints instead of sync endpoints for the same routes
    • NEREID_ASYNC_MODE=add will add the async routes to api with the prefix set by NEREID_ASYNC_ROUTE_PREFIX which defaults to"/async"
    • for backward compatibility use NEREID_ASYNC_MODE=replace
  • config.yml format changed for nomographs. old way was like so:

      met_table:
      file: met_data_20201218_1653.json
      volume_nomo:
          x_col: size_fraction
          t_col: ddt_hr
          y_col: capture_fraction
      flow_nomo:
          x_col: intensity_inhr
          t_col: tc_minutes
          y_col: capture_fraction
    

    new way is like so:

      met_table:
      file: met_data_20201218_1653.json
      nomographs:
        - file_key: volume_nomograph
          type: volume_capture
          constructor: VolumeNomograph
          x_col: size_fraction
          t_col: ddt_hr
          y_col: capture_fraction
    
        - file_key: flow_nomograph
          type: volume_capture
          constructor: FlowNomograph
          x_col: intensity_inhr
          t_col: tc_minutes
          y_col: capture_fraction
    

    This allows for situations with more or fewer nomograph types that are needed for a project

  • redis was is updated, now we need to use these connection vars:

    CELERY_BROKER_URL=redis://redis:6379/0
    CELERY_RESULT_BACKEND=redis://redis:6379/0
    

Features

  • nereid is now installable and importable as a standalone library.
  • nereid.factory.create_app can be used to create an instance and mount the nereid api into another asgi application.

Bugfixes and Refactoring

  • removed the redis cache. redis is still used as a broker for async endpoints, but the redis cache is gone. too complex, too little benefit.
  • patched an issue in the nested land surface case that was causing design volume not to be accumulated. This affected volume based regional facilities only, and only if the depth of the upstream delineations was greater than 1.

Full Changelog: v0.4.3...v0.5.0

v0.5.0-rc2

25 Feb 21:51
34eaebe
Compare
Choose a tag to compare
v0.5.0-rc2 Pre-release
Pre-release

What's Changed

Full Changelog: v0.4.3...v0.5.0rc2

v0.4.4.1

04 Jan 02:08
Compare
Choose a tag to compare

patch redis username.

v0.4.4

04 Jan 01:19
Compare
Choose a tag to compare

patch graphviz docker build