File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ CLIMADA tutorials. [#872](https://github.com/CLIMADA-project/climada_python/pull
136136### Removed
137137
138138- climada.hazard.base.Hazard.clear
139+ - climada.hazard.base.Hazard.from_mat
139140- climada.hazard.base.Hazard.raster_to_vector
140141- climada.hazard.base.Hazard.read_mat
141142- climada.hazard.base.Hazard.reproject_raster
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ def impact(
107107
108108 Examples
109109 --------
110- >>> haz = Hazard.from_mat(HAZ_DEMO_MAT ) # Set hazard
110+ >>> haz = Hazard.from_hdf5(HAZ_DEMO_H5 ) # Set hazard
111111 >>> impfset = ImpactFuncSet.from_excel(ENT_TEMPLATE_XLS)
112112 >>> exp = Exposures(pd.read_excel(ENT_TEMPLATE_XLS))
113113 >>> impcalc = ImpactCal(exp, impfset, haz)
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ def __init__(
184184
185185 Take hazard values from file:
186186
187- >>> haz = Hazard.from_mat(HAZ_DEMO_MAT, 'demo' )
187+ >>> haz = Hazard.from_hdf5(HAZ_DEMO_H5 )
188188
189189 """
190190 self .haz_type = haz_type
You can’t perform that action at this time.
0 commit comments