OasisLMF / ktools

In-memory simulation kernel for loss modelling.
BSD 3-Clause "New" or "Revised" License
28 stars 19 forks source link

Incorporate model file validation checks when running csv to binary conversion tools #356

Closed hchagani-oasislmf closed 7 months ago

hchagani-oasislmf commented 11 months ago

Issue Description

Model file validation components (see PR https://github.com/OasisLMF/ktools/pull/77) run validity checks on the model files damage_bin_dict.csv, footprint.csv and vulnerability.csv. These checks are not performed by the csv to binary conversion tools, and there have been a number of occasions when invalid model files have caused errors in downstream components. While users are encouraged to run these checks before converting files to binary format, it would be prudent to have the binary conversion components execute these checks by default with an option to switch them off.

Version / Environment information

ktools >v3.1.2