Skip to content

Releases: CIROH-UA/NGIAB_data_preprocess

Fix for python 3.10 + better configuration for pantarhei

18 Nov 22:02
a8ac5db
Compare
Choose a tag to compare

What's Changed

  • replace /ngen/ngen/data with relative ./ for pantarhei by @JoshCu in #58

Full Changelog: v3.0.1...v3.0.2

cli argument bugfix

14 Nov 19:07
55ceb83
Compare
Choose a tag to compare
v3.0.1

fix non-dev cli

Hydrofabric Version 2.2

13 Nov 23:36
7defb9f
Compare
Choose a tag to compare
  • Works for hydrofabric v2.2
  • Overhauled the interactive map

What's Changed

Full Changelog: v2.2.0...v3.0.0

v2.2.1

01 Nov 22:06
744d991
Compare
Choose a tag to compare

pin eval version number

v2.2.0

31 Oct 19:48
206debb
Compare
Choose a tag to compare

What's Changed

  • The cli can now run ngiab for you with --run
  • Troute template has been updated to run a lot faster on multi core machines
  • cfe's gw_storage inital value is now fetched from nwm_retro v3 output rather than a default 5%
  • troute's config file has been renamed to troute.yaml
  • the cli has been simplified and additional options for debug, evaluation, visualization, and --all have been added
  • The generated t-route config file now contains explanatory comments from the template
  • APCP_surface is now converted to mm/h correctly
  • Forcing generation has been overhauled to be faster, use less memory overall, and perform the operations in chunks so theoretically any amount of forcings data can be processed. If you ask for 40 years of data it should give it to you as long as you have the disk space and patience.

Merges

Full Changelog: v2.1.1...v2.2.0

fix forcing validation

05 Sep 23:06
4f355f7
Compare
Choose a tag to compare
Pre-release
v2.2.4-beta

fix forcing validation

Fix geopackage reading without fiona

05 Sep 18:36
910cfb3
Compare
Choose a tag to compare

using the pyogrio driver instead of the fiona driver means that the automatic crs conversions no longer happen automatically, this addresses that issue and:

  • Fixes selection by lat lon

  • Fixes the map selection when fiona isn't installed

  • Additionally fixes the catchment you clicked on not being highlighted

ARM install fix + gage crosswalk fix

04 Sep 19:44
3028001
Compare
Choose a tag to compare

require geopandas >= 1.0.0 to fix issues installing on arm
crossreference flowpath_attributes and hydrolocations tables to resolve gages being associated with more than one waterbody and nexus

Fix time range selection

30 Aug 18:16
ad63070
Compare
Choose a tag to compare

Selecting a time range after the end of the zarr forcing data would cause the caching to fail and redownload all of the forcing data. This is now fixed.

As of writing, this range is 1979-02-01T00:00:00 - 2023-01-31T23:00:00 inclusive

Change to Catchment based ouflow delineation

26 Aug 16:18
35ad58c
Compare
Choose a tag to compare

What's Changed

wb id has been replaced with cat id.

Previously, waterbody id was used as the unique identifier for processing the data. The waterbody and everything that flows into it would be added to the selection. The nexus that the selected waterbody flows into would also be added to the selection. This caused incomplete delineation in cases where multiple waterbodies flowed into this final nexus.
In other words, delineation only included waterbodies that merged before entering the catchment area, and exluded those that merged inside the catchment.

This wasn't clear or intuitive when clicking on a catchment on the map.

Now catchment ids are used in place of waterbody ids, and when you click on a catchment or use the cli, everything that contributes to the outflow of that catchment will be included in the selection.

Step by step delineation process comparison

Old (pseudo inflow and incorrect)

  1. Click on a catchment
  2. Get the waterbody id for that catchment
  3. Get everything upstream of that waterbody
  4. Add just the nexus the waterbody flows into

New Catchment id

  1. Click on a catchment
  2. Get the waterbody id for that catchment
  3. Get the nexus that waterbody flows into (the outlet of that catchment)
  4. Get everything upstream of that nexus

Full Changelog: v1.4.4...v2.0.0