Releases: CIROH-UA/NGIAB_data_preprocess
Releases · CIROH-UA/NGIAB_data_preprocess
Fix gauge delineation
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
Full Changelog: v1.4.2...v1.4.3
Speed up forcing generation and QoL changes
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
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
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
v1.3.0
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
CLI documentation and logging
- 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
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