Changelog
0.3.1 (2022-10-25)¶
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 (#333)
- Drop extra fields for INIBasedModels if they are not in file format definition
- Support crs file for observation cross sections (#289)
- implement mesh generation for pipes (#294) and fix support different reference system (#298) (#299)
- removed the writeBalanceFile keyword from the mdu
- support copying generic files/models (#281)
- Support extra MDU sections (#284)
- add binder support with a dockerfile (#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 (#356)
- Change AutoStart type from bool to int (#349)
- Skip serialization of empty INI properties when configured (#336)
- Net writer should not produce NaN as fill values (#363)
- Change type of xcoordinates and ycoordinates in Lateral class from int to float (#351)
- Fix that single structure in StructureModel class is correctly converted to a list (#352)
- Ensure poly files can be saved (#344)
- write correct branchorder to net file (#335)
- add zdatum vertical position type (#324)
- parse vertical positions to list (#325)
- make
has_z_values
parameter optional inpolyfile.parser.read_polyfile
(#312) - Remove unnessary indent in .bc datablocks (#304)
- Fix the types of 4 fields in the MDU file (#283)
Refactor¶
- Location specification root validator (#347)
0.3.0 (2022-07-11)¶
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 (#261)
- filemodel: ResolveRelativeMode is incorrectly set when reading a model with 'pathsRelativeToParent' set to false (#259)
Feat¶
- network: additional mesh funcs dhydamo
- support .bc files and more in lateral discharge (#244)
- add support for observation point ini file (#236)
- support .bc files and more in lateral discharge
Refactor¶
- rr: place all RR-related code+tests in own rr subpackage (#235)
- remove dead code of _process_edges_for_branch
0.2.1 (2022-03-15)¶
Fix¶
- parser: correctly parse model input fields with leading digits, such as 1D2DLinkFile.
- parser: allow empty friction specification in all crossdef types. (#206).
0.2.0 (2021-12-17)¶
Added¶
- RainfallRunoff files: [NodeFile][hydrolib.core.io.rr.topology.models.NodeFile] (#138) and [LinkFile][hydrolib.core.io.rr.topology.models.LinkFile] (#140)
- D-Flow FM files:
- Initial field files: [IniFieldModel][hydrolib.core.io.inifield.models.IniFieldModel], also added 1D Field INI format: [OneDFieldModel][hydrolib.core.io.onedfield.models.OneDFieldModel] (#119).
- 1D Roughness INI files: [FrictionModel][hydrolib.core.io.friction.models.FrictionModel] (#118).
- Storage node files: [StorageNodeModel][hydrolib.core.io.storagenode.models.StorageNodeModel] (#131).
- General structure: [GeneralStructure][hydrolib.core.io.structure.models.GeneralStructure] (#79).
- Many additions to the API documentation.
Changed¶
- All classes that have fields with "keyword values" (such as
frictionType = WhiteColebrook
) now use Enum classes for those values. See for example [FrictionType][hydrolib.core.io.friction.models.FrictionType] and [FlowDirection][hydrolib.core.io.structure.models.FlowDirection] (#98) - All crosssection definition type now supported as subclasses of [CrossSection][hydrolib.core.io.crosssection.models.CrossSectionDefinition] (#117)
- Cross section definition and location classes have been moved from
hydrolib.core.io.ini.models
tohydrolib.core.io.crosssection.models
. (#149) - Changed behavior for file paths in saved files (#96). More information about: technical background and a tutorial.
Fixed¶
- Too strict validation of optional fields in culvert (#75), pump (#76), weir (#77), orifice (#78).
- Floating point parser breaks reading/writing of keyword UnifFrictCoef1D2D (#103)
- DIMR config has invalid control element for a single component model (#127)
- DataBlockINIBasedModel.datablock should also support strings (astronomic in .bc files) (#137)
- Saving .bc files incorrectly writes repeated key names as a semicolon-separated list (#101)
- Do not write absolute file paths to file (#96)
0.1.5 (2021-11-02)¶
0.1.4 (2021-11-02)¶
0.1.3 (2021-08-05)¶
Fix¶
- netcdf serialization path.
0.1.2 (2021-08-05)¶
Fix¶
- test_version: Fix updated version
0.1.1 (2021-08-05)¶
Fix¶
- NetworkModel: Fix default init of Network within NetworkModel