-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Hopefully) improve the readability of the method and its signature. * Move default coordinate keys and attribute keys out of the `Hazard` class by defining constants. * Rename `time` to `event` in `coordinate_vars` argument, as CLIMADA operates on events. * Rename `load_data_or_default` to `load_from_xarray_or_return_default`. * Rename `identifier` to `default_key`. * Update docstrings and extend comments.
- Loading branch information
Showing
2 changed files
with
59 additions
and
46 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
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