Estimate loss for a set of locations based on a shakemap footprint
pip install --user -e .
Define the granularity of damage ratios (between 0 and 1) used in the model
TODO: what are the table fields?
TODO: what is the file name and where does it need to be stored?
Defines the intensity distribution per location
Table with event_id, area_peril_id, intensity_bin_id, prob.
TODO: check if prob needs to sum to 1 for each area_peril_id.
- Intensity bin definition
- Area peril locations
- Option 1: Mean intensity only
-- Define the areaperil grid -- Read in the shakemap -- Assign shakemap grid locations to areaperil locations -- Filter out intensities lower than any intensity bins -- * TODO: Assign mean intensities to appropriate intensity bin -- TODO: Write out the csv file
- Option 2: With intra-event uncertainty
-- * TODO: For each area peril grid, use the mean and std calculate the probability in each intenity bin
--
- Option 3: TOOD: multiple footprint files for correlated intra-event