Remove --Cell-ids from losscalculator input parameters
--cell-ids
is one of the losscalculator
inputs that contains unique cell IDs represented in the exposure file.
In case --exposure-type = 'cell'
, the file corresponding to the parameter --cell-ids
can be prepared within the calculator.
In case --exposure-type = 'building'
, the file corresponding to the parameter --cell-ids
can also be prepared within the calculator, but before that, the cell IDs in which each asset is located should be appended to the exposure model (using the function append_respective_cell_id_to_building_exposure()
).
There are 2 steps to take:
-
Change the calculator to automatically use the function append_respective_cell_id_to_building_exposure()
to append the cell IDs to the exposure model, instead of asking the user to use the function separately and before the computation (in case of a--exposure-type = 'building'
) -
create the --cell-ids
file inside the program for both building and cell exposure types.