oceanwaves provides a set of functions to calculate summary
for ocean waves, using a record of surface heights as input. For sea surface
derived from bottom-mounted pressure transducers, the package also
prCorr() to correct for depth attenuation of the pressure signal.
waveStatsSP() produces wave height and period statistics using spectral analysis
waveStatsZC() calculates additional wave height and period
statistics based on a zero-crossing algorithm.
Pressure corrections and wave statistics functions were adapted from Urs
waves functions for MATLAB.
To install this package from within R, first install the package
and then install this package from Github:
install.packages('devtools') library(devtools) install_github('millerlp/oceanwaves')