OasisLMF / ktools

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

Introduce maximum Event ID and Areaperil ID validation checks on footprint files #385

Closed hchagani-oasislmf closed 3 months ago

hchagani-oasislmf commented 4 months ago

Introduce maximum Event ID and Areaperil ID validation checks on footprint files

Validation checks have been introduced in the footprinttobin and validatefootprint components to ensure that the Event ID and Areaperil ID do not exceed the maximum integer value. To facilitate this, the method Validate::CheckIDDoesNotExceedMaxLimit() has been created, and allows for similar checks on other IDs to be introduced in the future if required.