Ngiab-data-preprocess

Latest version: v3.0.3

Safety actively analyzes 682382 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

1.4.4

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**: https://github.com/CIROH-UA/NGIAB_data_preprocess/compare/v1.4.3...v1.4.4

1.4.3

**Full Changelog**: https://github.com/CIROH-UA/NGIAB_data_preprocess/compare/v1.4.2...v1.4.3

1.4.2

What's Changed
* Faster forcings by JoshCu in https://github.com/CIROH-UA/NGIAB_data_preprocess/pull/35
* Qol bugfixes by JoshCu in https://github.com/CIROH-UA/NGIAB_data_preprocess/pull/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**: https://github.com/CIROH-UA/NGIAB_data_preprocess/compare/v1.4.1...v1.4.2

1.4.1

fixes using lat lon via the cli

e.g
bash
python -m ngiab_data_cli -i 45.3397222,-69.9619444 -l -s

1.4.0

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.

1.3.1

What's Changed
* fix port 5000 in use by JoshCu in https://github.com/CIROH-UA/NGIAB_data_preprocess/pull/33


**Full Changelog**: https://github.com/CIROH-UA/NGIAB_data_preprocess/compare/v1.3.0...v1.3.1

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.