Issue Description
The limit and deductible type fields have a default value of 0 (treat as an absolute amount) and are therefore not mandatory. However, portfolio validation fails if columns such as LocDedType3Contents or LocLimitType1Building are missing. By adding in empty columns, validation passes. Empty column or absent column should be treated the same.
Steps to Reproduce (Bugs only)
- Run
ods_tools check --location exposure_loc_latlon_TCs.csv (attached).
- See errors about missing columns.
Expected behaviour: no errors and the default value from the spec is used.
(The error about missing LocPeril is a separate issue. It would be convenient if the default was to apply to all perils, or possibly use the value of LocPerilsCovered but I admit I'm unclear about the purpose of this field.)
Version / Environment information
ods_tools 3.1.0
Example data / logs
exposure_loc_latlon_TCs.csv
Issue Description
The limit and deductible type fields have a default value of
0(treat as an absolute amount) and are therefore not mandatory. However, portfolio validation fails if columns such asLocDedType3ContentsorLocLimitType1Buildingare missing. By adding in empty columns, validation passes. Empty column or absent column should be treated the same.Steps to Reproduce (Bugs only)
ods_tools check --location exposure_loc_latlon_TCs.csv(attached).Expected behaviour: no errors and the default value from the spec is used.
(The error about missing
LocPerilis a separate issue. It would be convenient if the default was to apply to all perils, or possibly use the value ofLocPerilsCoveredbut I admit I'm unclear about the purpose of this field.)Version / Environment information
ods_tools 3.1.0
Example data / logs
exposure_loc_latlon_TCs.csv