Command line¶
Installing the package adds a pycoastkit command. Add -h to any command
for its options.
Storms¶
Find storms in any table with a time column and an Hs column (CSV or parquet):
pycoastkit storms waves.csv -o storms.csv
pycoastkit storms waves.csv --clusters -o events.csv
pycoastkit storms buoy.csv --hs-column Hm0 --hs-threshold 2.0 --peak-threshold 3.5
| Option | Default | Meaning |
|---|---|---|
--time-column |
time |
Name of the time column |
--hs-column |
hs |
Name of the Hs column |
--hs-threshold |
1.5 | Storm Hs threshold [m] |
--peak-threshold |
2.5 | Hs the peak must reach [m] |
--min-duration |
6 | Minimum duration [h] |
--min-separation |
48 | Storms closer than this form a cluster [h] |
--clusters |
off | Output one row per independent event |
-o, --output |
screen | Save as .csv or .parquet |