Skip to content

Releases: CIROH-UA/NGIAB_data_preprocess

Fix gauge delineation

09 Aug 17:12
2d7c67f
Compare
Choose a tag to compare

The previous release removed the extra downstream catchment selection, but removed all catchments but the first to flow into a nexus. This corrects the delineation to fetch ALL the water bodies that flow into a nexus, not just the first.

Full Changelog: v1.4.3...v1.4.4

Fix select by gauge fetching extra downstream

08 Aug 19:23
b000a10
Compare
Choose a tag to compare

Speed up forcing generation and QoL changes

08 Aug 16:03
8f79335
Compare
Choose a tag to compare

What's Changed

  • Faster forcings by @JoshCu in #35
  • Qol bugfixes by @JoshCu in #36
  • hydrolocation CRS corrected in gpkg
  • automatic subsetting when needed
  • improved error messages when a catchment is not found
  • realization.json now pretty formatted to make it easier to read

Full Changelog: v1.4.1...v1.4.2

fix lat lon cli input

06 Aug 21:40
d99c382
Compare
Choose a tag to compare

fixes using lat lon via the cli

e.g

python -m ngiab_data_cli -i 45.3397222,-69.9619444 -l -s

Adds select by gage id

23 Jul 18:22
0ad141c
Compare
Choose a tag to compare

Added

  • New CLI option -g or --gage to support input of gage IDs instead of waterbody IDs.
  • New function read_gage_ids() to parse gage IDs from input files or single inputs.
  • New function get_wb_ids_from_gage_ids() to convert gage IDs to corresponding waterbody IDs.
  • Support for CSV input files with a 'gage' or 'gage_id' column when using the -g option.
  • Support for TXT input files with one gage ID per line when using the -g option.
  • Support for single gage ID input directly via command line when using the -g option.

Changed

  • Updated parse_arguments() function to include the new gage option.
  • Modified validate_input() function to handle the new gage option and prevent simultaneous use of latlon and gage options.
  • Updated main() function to process gage IDs when the -g option is specified.
  • Expanded CLI documentation in the README to include information and examples for the new gage ID functionality.

Fix port 5000 already in use

23 Jul 17:07
ec0818b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.3.1

v1.3.0

18 Jul 17:33
5360a8a
Compare
Choose a tag to compare

What's Changed

  • Select by wbid lat long by @JoshCu in #32
    • adds lat lon cli input
    • adds lat lon map selection
    • adds wbid map selection
    • adds clear selection button to map
    • suppresses "random" dask communication errors on shutdown after cli command successfully completes
    • updates cli documentation to add examples

Full Changelog: v1.2.2...v1.3.0

v1.2.2

18 Jul 17:11
0d70d38
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.1...v1.2.2

CLI documentation and logging

12 Jul 16:24
e065847
Compare
Choose a tag to compare
  • Added cli documentation to the main README
  • Improved the logging for the CLI and web app

What's Changed

Full Changelog: v1.2.0...v1.2.1

Adds new cli

10 Jul 22:22
5c97d58
Compare
Choose a tag to compare

It's now possible to use python -m ngiab_data_cli for subsetting, forcing generation and realization creation

What's Changed

  • refactor and fix the cli by @JoshCu in #26
  • moved data_source validation and added it to the cli by @JoshCu in #27

Full Changelog: v1.1.1...v1.2.0