Closed Floflow closed 3 months ago
@joemoorhouse I changed the description to "Path to the hazard indicator data source".
I removed the hazard_path lines when it seemed possible and return the event_data.path as a list as: event = HazardEventDistrib(type(self.hazard_type), intensity_bin_edges, probs, [event_data.path])
I kept the hazard_paths line when multiple hazard indicators are used
The purpose of these changes is to retrieve the path of the hazards event data source so that it can be used to extract the correct descriptions and information from the inventory and display them in the UI. The path depends on the year, the scenario and the model. These improvements aim to enhance the accuracy and relevance of the hazard information presented in the UI.