Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Hazard classmethod for loading xarray Datasets (#507)
Add Hazard classmethod for loading xarray datasets The method loads a consistent Hazard object from a raster dataset that can be interpreted as 2D or 3D dataset with dimensions "time", "latitude", and "longitude". It supports loading any file type supported by xarray. * Add classmethod `Hazard.from_raster_xarray`. * Add two unit test cases. * Add docstring/documentation Co-authored-by: Chahan M. Kropf <[email protected]> Co-authored-by: emanuel-schmid <[email protected]>
- Loading branch information