What’s new?

Unreleased

These are the unreleased changes.

Added

Changed

Deprecated

Fixed

Removed

v0.4.0 (2025-10-28)

Improved CLI and settings file.

Added

  • Model type (type) and calculation modus (risk) as model properties

Changed

  • Moved ‘model.type’ (was hazard type) to ‘hazard.type’
  • Renamed ‘global’ section to ‘model’
  • Renamed ‘hazard.risk’ entry is to ‘model.risk’ in the settings file
  • Renamed ‘model.model_type’ to ‘model.type’
  • Vector reproject chunking now available

Fixed

  • Better handling of errors during calculations
  • Check for module specific (e.g. ‘flood’) settings entries
  • Cli entry overwrite parsing (‘-d’ or ‘–set-entry’)
  • Default output vector file format (driver) matches input file format
  • Vector reproject dataset creation error

v0.3.2 (2025-05-01)

Small patch.

Fixed

  • Pin function when the point is exactly on the border of the grid

v0.3.1 (2025-04-01)

Small patch.

Changed

  • Allow based type (e.g. ‘fn_damage’ instead of only ‘fn_damage_structure’) as column header

v0.3.0 (2025-03-20)

Improved API and CLI.

Added

  • Build task for pixi

Changed

  • Allow for geometries outside of the hazard domain
  • Csv file output coupled with vector file output
  • Cli: support for setting config entries
  • Cli: help messages have improved format
  • Default value for the model srs: “EPSG:4326” (WGS84)
  • Default vector output file format back to GPKG
  • Expanded api, not everything needs to be defined in the settings file
  • Fixed bug in newline sniffer
  • More flexible Configurations class
  • Optional CSV file output
  • Rename ConfigReader to Configurations
  • Rename all ‘crs’ variables to ‘srs’
  • Rename io submodule to fio
  • Srs set in settings for a file will be used when no srs is present within the file

Deprecated

  • FIAT object

Documentation

  • Added missing settings file entries
  • Fixed missing docstrings (API)

v0.2.1 (2024-12-05)

Patch release for improved performance.

Added

  • Profiler for developers
  • Sniffer for newline character in text files

Changed

  • Complete OS independent reading of text files (linux csv’s on windows and vice versa)
  • Disabled locks when running ‘single threaded’
  • Fixed logging of errors during settings file checks
  • Improved performance when running without csv
  • Logging class Log is now called Logger
  • Specifying destination (‘dst’) is now optional for setup_default_log

v0.2.0 (2024-10-15)

Added small features.

Added

  • ‘Normal’ exit when keyboard interrupt is triggered over cli
  • Support for grids with non square cells

Changed

  • Fixed hanging issue with the mp-logging receiver when erroring
  • Fixed square cell assumption when mapping world coordinates to pixel coordinates
  • Support capitalized entries in the settings toml (again; it was disabled)
  • Various small non breaking fixes

v0.1.1 (2024-10-04)

Small patch release.

Changes

  • Bugfix regarding drivernotfound error in GridSource
  • Fixed install from conda
  • More functions and objects exposed directly under fiat -> e.g. from fiat import open_grid

v0.1.0 (2024-10-03)

The first full release of Delft-FIAT.

Added

  • Attribute size of GeomSource object for in situ size return; count becomes private
  • Attribute size of GridSource object for in situ size return; count becomes private
  • Attributes dtypes and geom_type of GeomModel
  • Build time to FIAT cli (when build with pyinstaller), viewed with fiat --version
  • Different types of exposure (e.g. ‘damage’, ‘affected’, ‘outage’ etc.)
  • Docker file for docker image creation
  • Extra arguments to grid.reproject
  • Function (generate_jobs) to generate jobs for parallelization
  • Function (execute_pool) to execute code in parallel using multiprocessing
  • Flood hazard/ damage functions (methods submodule)
  • General method of creating output files in GeomModel (_setup_output_files)
  • Method _create_model_dirs of Configurations object for creating result directories in one go
  • Method add_handler of the Log object; user setting of custom stream
  • Method add_feature_with_map of GeomModel to set features with extra info
  • Method create of GeomModel to create an ogr.DataSource (new dataset)
  • Method create_equal_grids of GridModel for making hazard and exposure grid spatially equal
  • Method set of Configurations object
  • Not stopping when exposure and hazard grids (GridModel), but instead make them spatially equal
  • Numpy >= 2.0.0 support
  • Python 3.12 support
  • Settings toml file: global setting ‘global.loglevel’; default ‘INFO’
  • Settings toml file: exposure setting ‘exposure.types’; default ‘flood’
  • Setting return period as a variable in hazard map bands (risk)
  • Support for using pixi for binary creation (properly)

Changed

  • Better version of BufferHandler
  • Exposure data headers are now lower-/ snakecase (‘object_id’ -> ‘objectId’), see docs
  • Fixed binary creation in general, but also specifically for GDAL >= v3.9.1
  • Made read methods of BaseModel, GeomModel and GridModel public (removed underscore)
  • Made csv files (exposure data) optional
  • Moved hazard/ damage calculation function to methods submodule
  • Proper checking for duplicate columns in csv files
  • Settings toml file: exposure setting ‘exposure.csv.file’ (becomes optional)
  • Testing of workers (not properly caught due to using multiprocessing)
  • Testing only based on integers

Deprecated

  • Base object _BaseHandler; incompatible with Python 3.12
  • Function open_exp from fiat.io, superseded by general use of open_csv
  • Method add_c_handler in favour of the more generalized add_handler
  • Methods _create_output_dir, _create_tmp_dir and _create_risk_dir of the Configurations object
  • Object ExposureTable, now done via TableLazy
  • Resolve stage of GeomModel; now properly handled in GeomModel.run
  • Setting return period via the name of the hazard band (risk)
  • Settings toml file: global setting ‘global.keep_temp_files’
  • Settings toml file: output setting ‘output.geom.chunk’; superseded by ‘global.geom.chunk’
  • Support of Python versions under 3.9.0
  • Temporary files (GeomModel)
  • TextHandler object; unused

Documentation

  • Added methods to the api
  • Cleaner home page
  • Getting started remade into Information

v0.1.0rc2 (2024-02-19)

The second pre-release of Delft-FIAT.

Added

  • A version switcher for the documentation
  • Added entries for chunking size in the settings file (settings.toml) for GeomModel
  • Chunking for geometry calculations (GeomModel)
  • Chunking for resolving temporary GeomModel output
  • New method for writing geometries from a buffer: BufferedGeomWriter
  • New function for merging vector layers: merge_geom_layers
  • Setting of amount of threads via cli

Changed

  • Better build environment creation on linux systems
  • Clarified the cli
  • Fixed chunking on a single thread
  • Fixed and clarified the shape (w, h) of GridSource and Grid
  • Fixed handling of positive nodata values in geometry calculations
  • Fixed indexing in GridModel calculations
  • Parallelisation of calculations for GeomModel (not only in risk mode)
  • Updated the installer creation (exe) on Windows (10/11)
  • Various bug fixes

Deprecated

  • get_bbox method of GeomSource and GridSource
  • Setting: chunk in exposure.geom.settings, deprecated in favour of chunk in global.geom
  • Setting: chunk in exposure.grid.settings, deprecated in favour of chunk in global.grid
  • Setting: chunk in hazard.settings, deprecated in favour of chunk in global.grid

Documentation

  • Ability to switch between documentation/ software versions
  • Improved/ updated the page regarding exposure csv
  • Restructered user settings pages
  • Seperated user settings into: Basic, Computational & Optional
Back to top