Closed matamadio closed 3 years ago
The common.imt table has 60 entries (most for EQ), but some of them are duplicated, e.g. "water depth: m" is the same unit for river floods, pluvial floods, storm surge. Suggest to group the units by primary hazard, since they apply the same to processes, to reduce the size of the enum.
Most relevant from H schema: calc_method_enum
[ ] V schema table _loss.loss_typeenum could be simply named loss.type_enum
[x] Remove "n/a" or "unknown" option from optional ENUM types. The field can be just left empty. Applies to:
mover.an_analysis_type_enum mover.em_analysis_type_enum mover.jd_analysis_type_enum mover.f_math_enum mover.f_mathtype_enum mover.dm_scale_ty_enum mover.im_method_enum mover.nonsampling_err_enum
The _mover.damage_states_all_enum_ includes many of overlapping and repeated definitions. I did cut down to 32, split into coherent blocks, which is still a lot. Suggest to simplify more.
Current _mover.damage_states_allenum
Suggested _mover.damage_states_allenum