What’s new?
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
Pinfunction 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
Configurationsclass - Optional CSV file output
- Rename
ConfigReadertoConfigurations - Rename all ‘crs’ variables to ‘srs’
- Rename
iosubmodule tofio - 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
Logis now calledLogger - 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
sizeofGeomSourceobject for in situ size return;countbecomes private - Attribute
sizeofGridSourceobject for in situ size return;countbecomes private - Attributes
dtypesandgeom_typeofGeomModel - 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 usingmultiprocessing - Flood hazard/ damage functions (
methodssubmodule) - General method of creating output files in
GeomModel(_setup_output_files) - Method
_create_model_dirsofConfigurationsobject for creating result directories in one go - Method
add_handlerof theLogobject; user setting of custom stream - Method
add_feature_with_mapofGeomModelto set features with extra info - Method
createofGeomModelto create an ogr.DataSource (new dataset) - Method
create_equal_gridsofGridModelfor making hazard and exposure grid spatially equal - Method
setofConfigurationsobject - 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,GeomModelandGridModelpublic (removed underscore) - Made csv files (exposure data) optional
- Moved hazard/ damage calculation function to
methodssubmodule - 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_expfromfiat.io, superseded by general use ofopen_csv - Method
add_c_handlerin favour of the more generalizedadd_handler - Methods
_create_output_dir,_create_tmp_dirand_create_risk_dirof theConfigurationsobject - Object
ExposureTable, now done viaTableLazy - Resolve stage of
GeomModel; now properly handled inGeomModel.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
Pythonversions under3.9.0 - Temporary files (
GeomModel) TextHandlerobject; 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) forGeomModel - Chunking for geometry calculations (
GeomModel) - Chunking for resolving temporary
GeomModeloutput - 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
GridSourceandGrid - Fixed handling of positive nodata values in geometry calculations
- Fixed indexing in
GridModelcalculations - Parallelisation of calculations for
GeomModel(not only in risk mode) - Updated the installer creation (exe) on Windows (10/11)
- Various bug fixes
Deprecated
get_bboxmethod ofGeomSourceandGridSource- Setting:
chunkinexposure.geom.settings, deprecated in favour ofchunkinglobal.geom - Setting:
chunkinexposure.grid.settings, deprecated in favour ofchunkinglobal.grid - Setting:
chunkinhazard.settings, deprecated in favour ofchunkinglobal.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