Beach profiles¶
Beach state is measured with repeated cross-shore profile surveys. The functions take a profile table: one row per survey and one column per cross-shore position in metres, increasing seaward.
Smoothing¶
smooth_profiles(profiles, sigma=2.0) applies a Gaussian filter along each
profile. sigma is in grid points, so sigma=2 on a 5 m grid smooths over
about 10 m. Small survey errors can create false shoreline crossings and
false sandbar crests; smoothing removes them. Missing points are handled by
normalised convolution: a gap does not spread to its neighbours and stays
missing.
Shoreline-relative profiles¶
shoreline_relative_profiles(profiles, shoreline) expresses every survey in
coordinates measured from its own shoreline: \(x' = x - x_{sl}\), so \(x' = 0\)
is the shoreline and positive \(x'\) is seaward. Elevations are linearly
interpolated onto a fixed grid (default −80 m to 340 m every 5 m), so the
shoreline is not rounded to the survey grid. Sandbar positions and zone
volumes are usually measured in these coordinates because the whole beach
moves with the shoreline.
Beach volume¶
beach_volume(profiles, x_min, x_max, base="min") gives the sand volume per
metre of coast [m³/m]:
integrated with Simpson's rule. With base="min" the reference at each
position is the lowest elevation in the whole record, so the result is the
sand stored above the most eroded state observed. A number gives a fixed
reference level instead.
Common zones at Hasaki:
| Zone | Coordinates | Range |
|---|---|---|
| Beach | absolute | −40 m to +60 m |
| Inner surf zone | relative to the shoreline | 20 m to 170 m |
| Outer surf zone | relative to the shoreline | 170 m to 340 m |
A survey with a missing point inside the zone returns NaN, so a partial survey never appears as erosion.
Cut and fill¶
cut_and_fill(before, after, x_min, x_max) separates the change between two
surveys into cut (sand removed where the bed went down) and fill
(sand added where it went up), both positive in m³/m, and the net loss
cut - fill. A storm often cuts the beach face and fills the bar zone; the
net change hides this, cut and fill show it.
Slopes¶
profile_slope(profiles, x1, x2) gives the mean bed slope
\((z(x_1) - z(x_2)) / (x_2 - x_1)\), positive when the bed falls seaward.
Positions are interpolated, so they need not be grid points. On
shoreline-relative profiles, profile_slope(relative, 0, 150) is the
nearshore slope. For the foreshore slope between two water levels, see
Shoreline.