Floodmodeller-api

Latest version: v0.4.4

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

Scan your dependencies

Page 2 of 2

0.3.14.post1

Hotfix to allow "=" to be present in ief parameter values

0.3.14

What's new in 0.3.14 (July 2022)


This page details the changes for version 0.3.14 of Flood Modeller Python API

New features
--------------
- Urban 1D (INP file) - Added support for ``JUNCTIONS``, ``OUTFALLS``, ``CONDUITS``,
``RAINGAUGES``, ``LOSSES`` and ``XSECTIONS``.

Updates
--------------
- Improved exception handling
- Added ``.conduits`` and ``.losses`` unit categories in DAT and IED classes
- Improved attribute acces in IEF class. All attributes can now be accessed using any casing
and will fetch the correct data without changing the original casing in the file.


Bug fixes
--------------
- Fix issue where logical rules would only read correctly if key words provided in all caps
- Fixed issue with sluice units where 'TIME' expected and 'time' given
- Fix to _write of Sluice unit where time exceeds 10 characters when formatted as 3dp.
- Fix to _read of river and strucutre units allowing for subtype to be followed by TAB (\t) characters
- Fix to validation of pier_faces to allow no value as parameter is optional
- Added 'REBDY' to unsupported units
- Allow for culvert inlet 'reverse_flow_mode' parameter to be 0.00 (as well as 'CALCULATED and 'ZERO' that are already included)
- Updated logical rules _read() to recognise "ENDIF" as end of rule (as well as "END")

v.0.3.13.post2
Hotfix to address issue where structures with duplicate names overwrite each other in structures dictionary. Resolved by including `.conduits` and `.losses` as their own unit categories in both the DAT and IED classes.

0.3.13.post1

Hotfix to correctly read parameters in CULVERT units

0.3.13

What's new in 0.3.13 (May 2022)

This page details the changes for version 0.3.13 of Flood Modeller Python API

New features
--------------
- BLOCKAGE added as a supported unit.
- CULVERT (Inlet and Outlet loss) added as a supported unit

Updates
--------------
- Added support for 'DATES' in timeseries tables
- Improved support for handling unit name changes


Bug fixes
--------------
- Fixed 3 that required setting ``ied_filepath = None`` to create a blank IED file. Now it can be done by simply calling ``IED()``
- Fixed 4 in IEF class where it would fail when attempting to save an IEF after changing the case of an attribute. Now if you have an IEF with
an attribute 'Title=...' and you set ``ief.title = ...`` the updated ief file will match the lower case used in ``title``.
- Fixed issue on orifice unit where shape not defined in .dat.
- Allow 'timeunit' attribute to be set as number (which is used for user defined time multiplier)
- Fixed issue with the reading of cross-section relative path length (RPL)

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.