Allow reading Hazard events that are not dates from xarray by peanutfun · Pull Request #837 · CLIMADA-project/climada_python

added 2 commits

January 15, 2024 11:12
* Set default value of `Hazard.event_name` to empty string.
* Try interpreting values of the event coordinate as dates or ordinals
  for default values of `Hazard.date`. If that fails, issue a warning
  and set default values to zeros.
* Update tests.

peanutfun

chahank

chahank

chahank

chahank

chahank

chahank

@peanutfun

@peanutfun

chahank

@chahank

@chahank chahank deleted the feature/hazard-xarray-read-no-time-event branch

January 16, 2024 11:03