Storms¶
How a storm is defined¶
A storm is defined with two wave-height thresholds, a minimum duration and an independence gap. The lower threshold sets when a storm starts and ends. The upper threshold makes sure the storm was strong enough to affect the beach. Two storms that follow each other closely are not independent: the beach has no time to recover in between, so they form a storm cluster.
hs_threshold for at least
min_duration_h and peaks above peak_threshold. The first two
storms are separated by a short calm and form one cluster. The defaults are
the storm definition used for the Hasaki coast.criteria = pck.StormCriteria(hs_threshold=1.5, peak_threshold=2.5,
min_duration_h=6, min_separation_h=48)
Choose the thresholds for your coast. A common approach is a high percentile
of Hs (for example the 95th) for hs_threshold, and a value linked to
observed beach damage for peak_threshold.
Finding storms¶
find_storms scans the record:
- Every run of consecutive samples with Hs above
hs_thresholdis a candidate. A missing value, or a gap in the record longer than 1.5 sampling intervals, ends the run, so a storm never bridges missing data. - The duration is the number of samples in the run times the sampling interval, that is, the time spent above the threshold.
- The candidate is kept if it is long enough and its peak reaches
peak_threshold. - Neighbouring storms with a calm gap of
min_separation_hor less receive the samecluster_id.
The result has one row per storm:
| Column | Meaning |
|---|---|
storm_id |
1, 2, 3 ... in time order |
cluster_id |
Independent event the storm belongs to |
kind |
"individual", or "clustered" when its cluster has more than one storm |
n_in_cluster |
Number of storms in the cluster |
start_time, end_time |
First and last sample above hs_threshold |
duration_h |
Time above the threshold [h] |
peak_hs, peak_time |
Highest Hs [m] and when it occurred |
mean_hs |
Mean Hs during the storm [m] |
storm_power |
\(H_{s,\max}^2 \cdot D\) [m² h], a storm intensity measure (Dolan and Davis, 1992) |
gap_before_h, gap_after_h |
Calm time to the previous and next storm [h] |
Storm clusters¶
storm_clusters combines the storms of each cluster into
one event. Individual storms come through as clusters of one, so the result
is a single table of independent events. Use it whenever storms are related
to beach change, because the beach responds to the cluster as a whole.
| Column | How it is combined |
|---|---|
n_storms |
Storms in the cluster |
start_time, end_time |
Start of the first storm, end of the last |
span_h |
Elapsed time from first start to last end, calm spells included |
duration_h |
Sum of the storm durations (stormy time only) |
peak_hs, peak_time |
Highest peak in the cluster |
mean_hs |
Duration-weighted mean |
storm_power |
Sum over the storms |
Wave statistics and energy per storm¶
storms = pck.add_storm_wave_statistics(
storms, waves, {"ts": ["mean", "max"], "hmax": "max", "direction": "circmean"})
storms = pck.add_storm_energy(storms, waves, hs_column="hs", period_column="ts")
add_storm_wave_statistics summarises any wave variable over each storm.
Use "circmean" for directions, so that 350° and 10° average to 0° rather
than 180°.
add_storm_energy integrates the wave energy flux
over each storm using the actual time steps, so hourly and 2-hourly records
give comparable totals. It adds energy_mj_per_m [MJ/m] and
max_energy_flux_kw_per_m [kW/m].
Seasonality and trends¶
storms_per_month(storms) counts storms by calendar month and
storms_per_year(storms) by year, including years without storms.