Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions climada/hazard/trop_cyclone/trop_cyclone_windfields.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def compute_angular_windspeeds(
d_centr: np.ndarray,
mask_centr_close: np.ndarray,
model: int,
cyclostrophic: Optional[bool] = False,
cyclostrophic: Optional[bool] = None,
model_kwargs: Optional[dict] = None,
):
"""Compute (absolute) angular wind speeds according to a parametric wind profile
Expand Down Expand Up @@ -135,7 +135,7 @@ def compute_angular_windspeeds(
"release. Include it in 'model_kwargs' instead.",
DeprecationWarning,
)
model_kwargs["cyclostrophic"] = cyclostrophic
model_kwargs = model_kwargs | {"cyclostrophic": cyclostrophic}

compute_funs = {
MODEL_VANG["H1980"]: _compute_angular_windspeeds_h1980,
Expand Down
Loading