Hydrolib-core

Latest version: v0.8.1

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

Scan your dependencies

Page 2 of 3

0.5.1

Not secure
Feat

- Add the quantity `nudge_salinity_temperature` to ext old file header.
- Support the old style external forcings file
- Add support for several coastal MDU keywords
- Add support for *.tim files and *.bc files in the structure file
- Support meteo blocks in external forcings file (477)
- Remove indentation from MDU file
- Add 4 missing 1D2D settings to FMModel
- Support *.tim files
- Add XYN classes to public API (492)
- Include old and new observation crossections into MDU FMModel.output class (470)
- Support observation crosssection .pli via existing PolyFile class (464)
- Add support for 3D Z-sigma settings in MDU
- Support loading+saving models with configurable OS path style formats (361)
- Add support for observation point xyn files (472)
- Support filepath as str besides Path for all model classes under FileBasedModel (469)
- Add validation for NaN values in datablocks

Fix

- Fixed issues with the new release script
- Special characters should be parsed correctly from file
- MDU keywords such as 1d2dLinkFile are written to file without comments (528)
- UGRID network files without faces should be accepted
- correct handling of whitespace and comments in observation point .xyn files (508)
- Fix resolving of relative paths containing `..` when not using the `resolve_casing` option.
- ignore trailing values or text on polyline data lines to better support boundary polyfiles (482)
- Reading invalid formatted plifile should raise error instead of warning
- polyline serializer should print empty trailing comment lines

Refactor

- Make sure of the new Pydantic 1.10 functionality

0.4.1

Not secure
Fix
- `_add_nodes_to_segments` fixed ({{gh_pr(440)}})

0.4.0

Not secure
Feat

- Remove io namespace and add convenient imports/API at several directory levels ({{gh_pr(438)}})
- Added the option for all supported files to customize the float formatting when saving ({{gh_pr(406)}})
- Suppress warning in polyfile parser that the white space at the start of the line is ignored ({{gh_pr(409)}})
- Change data block default spacing from 4 to 2 ({{gh_pr(407)}})
- Add support for non-recursively loading models ({{gh_pr(401)}})

Fix

- Fixed polylinefile validation for Structure and its subclasses ({{gh_pr(416)}})
- Rename variable in generate_nodes function ({{gh_pr(437)}})
- Ensure that QuantityUnitPairs that are not part of a vector are correctly parsed ({{gh_pr(420)}})
- Enum values are incorrectly written to files ({{gh_pr(403)}})

Refactor

- Small refactoring of the VectorQuantityUnitPairs and VectorForcingBase ({{gh_pr(422)}})
- Move the base module in XYZ back to IO ({{gh_pr(418)}})
- Refactored support for vectors in .bc files ({{gh_pr(394)}})

0.3.1

Not secure
Feat

- option `resolve_casing` to fix filepath casing between different OS's.
- Added support for the use of vectors within forcing models with a t3d or timeseries function type.
- Added possibility to take structure positions into account when discretizing 1d mesh
- Add support for branches.gui file ({{gh_pr(333)}})
- Drop extra fields for INIBasedModels if they are not in file format definition
- Support crs file for observation cross sections ({{gh_pr(289)}})
- implement mesh generation for pipes ({{gh_pr(294)}}) and fix support different reference system ({{gh_pr(298)}}) ({{gh_pr(299)}})
- removed the writeBalanceFile keyword from the mdu
- support copying generic files/models ({{gh_pr(281)}})
- Support extra MDU sections ({{gh_pr(284)}})
- add binder support with a dockerfile ({{gh_pr(264)}})

Fix

- Add backwards compatibility for the old "percentage from bed" vertical position type.
- Fix freeze when printing a ForcingModel with multiple [forcing] blocks by omitting the datablocks.
- T3D header is not correct ({{gh_pr(356)}})
- Change AutoStart type from bool to int ({{gh_pr(349)}})
- Skip serialization of empty INI properties when configured ({{gh_pr(336)}})
- Net writer should not produce NaN as fill values ({{gh_pr(363)}})
- Change type of xcoordinates and ycoordinates in Lateral class from int to float ({{gh_pr(351)}})
- Fix that single structure in StructureModel class is correctly converted to a list ({{gh_pr(352)}})
- Ensure poly files can be saved ({{gh_pr(344)}})
- write correct branchorder to net file ({{gh_pr(335)}})
- add zdatum vertical position type ({{gh_pr(324)}})
- parse vertical positions to list ({{gh_pr(325)}})
- make `has_z_values` parameter optional in `polyfile.parser.read_polyfile` ({{gh_pr(312)}})
- Remove unnessary indent in .bc datablocks ({{gh_pr(304)}})
- Fix the types of 4 fields in the MDU file ({{gh_pr(283)}})

Refactor
- Location specification root validator ({{gh_pr(347)}})

0.3.0

Not secure
Fix

- Add water level location validation DamBreaks
- allow empty file paths in the .fnm file
- Add modeltype 21 to RR node for open water precipitation/evaporation ({{gh_pr(261)}})
- **filemodel**: ResolveRelativeMode is incorrectly set when reading a model with 'pathsRelativeToParent' set to false ({{gh_pr(259)}})

Feat

- **network**: additional mesh funcs dhydamo
- support .bc files and more in lateral discharge ({{gh_pr(244)}})
- add support for observation point ini file ({{gh_pr(236)}})
- support .bc files and more in lateral discharge

Refactor

- **rr**: place all RR-related code+tests in own rr subpackage ({{gh_pr(235)}})
- remove dead code of _process_edges_for_branch

0.2.1

Not secure
Fix

- **parser**: correctly parse model input fields with leading digits, such as 1D2DLinkFile.
- **parser**: allow empty friction specification in all crossdef types. ({{gh_pr(206)}}).

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.