Skip to content

Commit c9041fe

Browse files
committed
remove unused kwargs
1 parent 5d0f062 commit c9041fe

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

climada/hazard/forecast.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,7 @@ def from_xarray_raster(
244244
*,
245245
intensity: Optional[str] = None,
246246
coordinate_vars: Optional[Dict[str, str]] = None,
247-
data_vars: Optional[Dict[str, str]] = None,
248247
crs: str = "EPSG:4326",
249-
rechunk: bool = False,
250248
open_dataset_kws: dict[str, Any] | None = None,
251249
):
252250
"""Read forecast hazard data from an xarray Dataset
@@ -276,12 +274,8 @@ def from_xarray_raster(
276274
277275
Note: The "event" coordinate is automatically constructed from lead_time
278276
and member, so it should not be specified.
279-
data_vars : dict(str, str), optional
280-
Mapping from default variable names to variable names in the data
281277
crs : str, optional
282278
Coordinate reference system identifier. Defaults to "EPSG:4326"
283-
rechunk : bool, optional
284-
Whether to rechunk the dataset before processing. Defaults to False
285279
open_dataset_kws : dict, optional
286280
Keyword arguments passed to xarray.open_dataset if data is a file path
287281

0 commit comments

Comments
 (0)