The current implementation uses the exact date/event values as Hazard.event_name if no explicit event names can be found in the dataset. This causes issues when trying to store the hazard object or a related impact object as H5 file. We should somehow make sure that Hazard.event_name is sanitized. Suggestions:
- Using a different default value for
event_name including none at all (empty list)
- Trying to cast any time information to a string, e.g. via
pandas.Timestamp(x).isoformat()