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.


Why should i use this package?

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

How do i use it?

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. Afterwards you can compute the differences between the observed data and lunar and solar tide curves

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", mindt = 30)
 
mydifferences <- ResCurve(tcData = mytidecurve, obsData = tideObservation)

News

TideCurves 0.0.3

Changes:

  • The Funcs function was changed. The computation of the relevant astronomical velocities is now more accurate. It now returns three values as a list.
  • The PlotTideCurve function is no longer part of the package.
  • Minor changes in the documentation of the package.

TideCurves 0.0.2

Changes:

  • The main TideCurve function is now way faster for big data, due to better coding and avoiding redundant function calls.
  • Added the function ResCurve to compute differences in observed data and synthesis.
  • The function PlotTideCurve is deprecated and will be removed in the next release. Please use ResCurve and make your own plot.
  • Changed the output of TideCurves. i.analyse is no longer part of the ouput & inter is now a column in tide.curve

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, 10 months 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