-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change default Hazard.event_name to string of event_id (#795)
* Update Hazard base.py Change event_name default for Hazard.from_xarray_raster to string of event id. Change variable description in class method. * Update test_base_xarray.py adapted event_name in test_assert_default_values and deleted event_name tests from test_missing_dims since the time dimension does not affect event_name anymore * change default name to string of date * save event_name as string of date and time * ensure list of event names is flat * Update CHANGELOG.md * Update CHANGELOG.md * update changelog * Apply suggestions from code review Co-authored-by: Lukas Riedel <[email protected]> * Update AUTHORS.md --------- Co-authored-by: Chahan M. Kropf <[email protected]> Co-authored-by: Lukas Riedel <[email protected]>
- Loading branch information
1 parent
158b1d8
commit 05ee576
Showing
4 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,4 @@ | |
* Nicolas Colombi | ||
* Leonie Villiger | ||
* Kam Lam Yeung | ||
* Sarah Hülsen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters