@ -74,6 +74,13 @@ def storm_regime(df_forecasted_impacts):
"storm_regime",
] = "inundation"
# If there is no dune toe defined, R_high should be compared to dune crest to determine if swash or overwash.
df_forecasted_impacts.loc[
(df_forecasted_impacts.dune_toe_z.isnull())
& (df_forecasted_impacts.R_high <= df_forecasted_impacts.dune_crest_z),
] = "swash"
return df_forecasted_impacts