Hazard.from_raster_xarray
stores native values of dates in Hazard.event_name
#789
Labels
Hazard.from_raster_xarray
stores native values of dates in Hazard.event_name
#789
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 thatHazard.event_name
is sanitized. Suggestions:event_name
including none at all (empty list)pandas.Timestamp(x).isoformat()
The text was updated successfully, but these errors were encountered: