Skip to content

Releases: Deltares/Fm2Prof

v2.3.3

25 Sep 08:08
Compare
Choose a tag to compare

New features

  • added additional statistics: last3, max3 (#92)
  • all statistics are now written to csv file (#92)

Bugs fixed

  • fm2prof interpreting missing value (-999) as water level (#89 )
  • fixed branch exception issue that failed if user provided no rules in utils.GenerateCrossSectionLocationFile

Maintenance

  • switched from black & isort to Ruff for linting and code formatting
  • removed unused code
  • added extra tests

v.2.3.2.

07 May 19:21
3412c2b
Compare
Choose a tag to compare

This release focuses on improving the fm2prof.utils tooling

New functionality

  • utils.Compare1D2D has new option to output a last25 and max13 longitudinal view, and to combine the output of several simulations into a single figure (#65). The docs have been updated with a notebook to showcase this new functionality. See User Manual -> Utilities

Documentation

  • added notebooks to documentation that describe the use of some utilities

Changes

  • added new sito_2024 PlotStyle that is now default for Compare1D2D (#66)

Deprecations

  • Compare1D2D.figure_longitudinal_time is now deprecated in favour of Compare1D2D.figure_longitudinal with stat="time" parameter

v2.3.1

24 Apr 18:49
Compare
Choose a tag to compare

Bug fixes

  • Fixed a bug that threw an exception if user did not specify a stop time when using utils.Compare1D2D (#78)
  • Fixed bug (#81) that prevented executable from being build because of missing favico

Documentation

  • added python snippets to quickstart tutorial

v2.3.0

19 Apr 13:16
974707f
Compare
Choose a tag to compare

New functionality

  • Configuration file now has a new debug section with debug specific parameters. This section includes two parameters previously in the general parameters section (ExportMapFiles and CssSelection) and the new ExportCSSData.
  • new debug option ExportCSSData that when enabled output data to analyse cross-section generation.
  • new option ConveyanceDetectionMethod to toggle between the previous way to detect storage (0) and a the new one (1, default).

Documentation

  • documentation now includes a notebook specifying how output from ExportCSSData option can be used to analyse flow data
  • docstrings of cross-section class updated to describe flow/storage separation methodology
  • several chapters ported over from sphinx

bug fixes & chores

  • added dedicated tests for cross-section class
  • test coverage is now reported in Sonarcloud
  • fixed bug that caused error while writing log

bug fixes & chores

  • fixed bug in utils that threw an error when using matplotlib 3.7 or higher
  • removed unused code blocks
  • updated type hinting and code documentation of CrossSection.py

2.2.8

15 Mar 20:55
Compare
Choose a tag to compare

This version update FM2PROF to Python 3.10 or higher. It removes unused dependencies and updates the package system poetry to version 1.8.2. Due to this switch, the commitizen workflow is currently not used, and the documentation system switch from sphinx to mkdocs.

This is the first version to be published to PyPi, which means that FM2PROF can now be installed using pip

pip install fm2prof

Known issues:

  • The executable is not available for this version.

v2.2.7

03 Oct 18:30
Compare
Choose a tag to compare

This version adds the parameter stoptime to utils.Compare1D2D and makes both starttime and stoptime parameters optional. With these parameters users can crop the section of the results over which statistics will be computed and figures made.

v2.2.6

01 Oct 19:19
Compare
Choose a tag to compare
  • Fixed an issue where irregular station names like MA_67.00Z caused a sorting error in utils.Compare1D2D

v2.2.5

28 Jul 09:50
Compare
Choose a tag to compare
  • FM2PROF now validates the "SkipMaps" parameter and throws error if its value is larger than the available number of maps
  • Fixed bug that threw exception if roughness tables could not be produced during finalization step
  • Fixed bug that prevented BranchRules file to be read if multiple empty lines existed at the end of the file
  • Fixed bug where utils.Compare1D2D would throw exception if input netCDF files did not exist, but csv files did.
  • Fixed bug in utils.Compare1D2D where execution failed if a QH relationship could not be produced
  • Statistics are no longer computed on initialization of utils.Compare1D2D. Instead, they are not computed when requested during evaluation.

v2.2.4

05 Jul 12:10
Compare
Choose a tag to compare

This release introduces new utilities for developers in utils.py, available through the Python API. This is:

  • Compare1D2D: comparing 2D and 1D model output
  • GenerateCrossSectionLocationFile: generate fm2prof input from networkdefinitionfile with 'branchrule' support.
  • Network1D: visualisation of the 1D network

v2.2.2

14 Oct 12:25
Compare
Choose a tag to compare
  • main section width is now forces to be equal to or larger then the minimum cross-section width. A smaller section width causes unexpected behaviour in a SOBEK run, i.e. ignoring main channel roughness altogether.
  • improved visualisation option in utils module
  • fixed memory leak in utils
  • various minor bug fixed and code maintenance