pycoastkit¶
A toolkit for sandy coasts. pycoastkit finds storms in wave records,
describes the beach from cross-shore profile surveys (shoreline position,
sand volume, slopes and sandbars), measures how much each storm eroded the
beach and how much came back afterwards, and scores beach vulnerability. It
also downloads and quality-controls the long Hasaki (Japan) wave and
beach-profile records.
FORCING
StormsWave record to storms and independent storm eventsSTATE
BeachProfiles to shoreline, volume, slope and sandbarsRESPONSE
ImpactsErosion per event, then recoveryRISK
VulnerabilityVulnerability and susceptibility indices, return periodsWhat you can do with it¶
| Task | Functions |
|---|---|
| Find storms and storm clusters in an Hs record | find_storms, storm_clusters |
| Shoreline position at any water level | shoreline_positions |
| Sand volume in beach, inner and outer surf zones | beach_volume, shoreline_relative_profiles |
| Detect sandbars and classify the bar configuration | find_sandbars, bar_state |
| Shoreline retreat and volume loss caused by each storm | storm_beach_response |
| Beach recovery after storms | storm_recovery |
| Beach vulnerability and susceptibility indices | add_vulnerability_index, susceptibility_index |
| Hasaki wave and profile data | pck.hasaki |
A first example¶
import pycoastkit as pck
storms = pck.find_storms(waves) # waves: time-indexed table with an "hs" column
events = pck.storm_clusters(storms) # one row per independent event
beach = pck.shoreline_positions(profiles, water_level=1.25, smooth_sigma=2).to_frame()
beach["volume"] = pck.beach_volume(pck.smooth_profiles(profiles), x_min=-40, x_max=60)
impact = pck.storm_beach_response(events, beach)
print(impact[["start_time", "kind", "storm_power", "shoreline_loss", "volume_loss"]])
Continue with Getting started for the full workflow, or read the User guide for how each method works.
Author¶
Developed by Salika Thilakarathne, Helmholtz-Zentrum Hereon. Released under the MIT licence.