Analysis and Prediction of Tides

Tidal analysis of evenly spaced observed time series (time step 1 to 60 min) with or without shorter gaps. The analysis should preferably cover an observation period of at least 19 years. For shorter periods low frequency constituents are not taken into account, in accordance with the Rayleigh-Criterion. The main objective of this package is to synthesize or predict a tidal time series.


You should use this package for producing tide curves from past data.

Import your data set first and transform it to a readable form. See attached data 'observation' for an example data frame.

library(TideCurves)
tideObservation[1:10, ] #> 1        2015/06/01         00:00:00  6.570
#> 2        2015/06/01         00:30:00  6.528
#> 3        2015/06/01         01:00:00  6.410
#> 4        2015/06/01         01:30:00  6.200
#> 5        2015/06/01         02:00:00  5.893
#> 6        2015/06/01         02:30:00  5.556
#> 7        2015/06/01         03:00:00  5.248
#> 8        2015/06/01         03:30:00  4.970
#> 9        2015/06/01         04:00:00  4.745
#> 10       2015/06/01         04:30:00  4.550
 
sapply(tideObservation, typeof)
#> observation_date observation_time           height 
#>      "character"      "character"         "double"

You can now use your data as input for the function 'TideCurve'. Setting the periods for analyzing and synthesizing and wait for the table to be produced.

mytidecurve<-TideCurve(dataInput = tideObservation, asdate = "2015/12/06",
             astime = "00:00:00",      aedate = "2015/12/31",
             aetime = "23:30:00",      ssdate = "2015/12/17",
             sstime = "00:00:00",      sedate = "2015/12/31",
             setime = "23:30:00")

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("TideCurves")

0.0.3 by Moritz Mueller-Navarra, a month ago


Browse source code at https://github.com/cran/TideCurves


Authors: Moritz Mueller-Navarra [aut, cre], Sylvin Mueller-Navarra [aut], Andreas Boesch [aut]


Documentation:   PDF Manual  


GPL-3 license


Imports chron, data.table, fields


See at CRAN