Multi-Hazard impacts and Hazard TimeSeries class and a method to generate a time series from a probabilistic event set #1077
ValentinGebhart
started this conversation in
Ideas
Replies: 2 comments 4 replies
-
As discussed, this is a great idea! I am not yet sure whether making a specific Hazard class is the way to go. You could already do all the book-keeping using the name and date fields of the existing class. As a concrete question: What would be a use of a |
Beta Was this translation helpful? Give feedback.
2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As discussed with @chahank and @spjuhel, we think about creating a hazard time series class. This could be instantiated ideally with data from a time series (e.g., from climate simulations), or can be generated by sampling from a probabilistic event set.
Uses
Implementation suggestion
class: Hazard objects would in principle be sufficient to store all information of such time series. To store several time series in a single object, one could add a "time_series_id" attribute. If we want to use the current date storing of CLIMADA, the time step of the series would have to be at least one day. For clarity, we suggest creating a new class, e.g.
HazardTimeSeries
, that inherits from theHazard
class, to clearly separate that the object is a time series.sampling: When sampling from a probabilistic event set, the users have to input a parameter indicating the time step of the time series. Then, for each time step of the series, the number of events is sampled. Then events are drawn (weighted by the frequencies/probabilities). In this way, the HazardTimeSeries object can include time steps with no events and time steps with several events, so the date attribute could look like [2030, 2030, 2031, 2034]
Questions
Beta Was this translation helpful? Give feedback.
All reactions