Tide Gauge Details - Tonga Island - Nukualofa_TO

Device description

Name
Tonga Island - Nukualofa_TO
Country
Tonga Island
Group
TD UNESCO
Lat/Lon
-21.136801 / -175.180695

Last measured values

Time(UTC)
02 Dec 2022 21:56:00
Latency
3115
Level
0.84

Harmonics

Points count
5092116
First date
29 Apr 2011 19:11
Last date
02 Dec 2022 21:56

Click on following link to see data:

Harmonics Constatns
Comp # Period (day) Cos factor (m) Sin factor (m)
0 0.00000 1.13101E+0 0E+0
1 0.12877 8.64955E-5 -1.43603E-5
2 0.12886 2.3286E-4 2.16459E-4
3 0.12938 1.52921E-4 -1.37599E-4
4 0.14707 -1.2628E-4 6.50281E-5
5 0.16841 3.0018E-4 2.75067E-4
6 0.16857 -1.05712E-4 -1.24706E-3
7 0.17036 6.86612E-4 1.14043E-4
8 0.17052 -2.86907E-3 -1.37012E-3
9 0.17251 -9.15103E-4 1.1589E-3
10 0.17470 5.01234E-4 -2.25759E-4
11 0.19989 2.80951E-4 4.45387E-4
12 0.20545 8.50251E-4 -2.16825E-4
13 0.24966 -7.02224E-4 1.11752E-4
14 0.25000 4.49001E-4 3.41049E-4
15 0.25395 -7.64774E-4 -4.38879E-4
16 0.25431 -6.00939E-5 1.24602E-3
17 0.25631 1.28958E-4 -1.31008E-4
18 0.25667 -2.33023E-4 8.92245E-5
19 0.25876 5.90264E-4 -5.85481E-4
20 0.26122 -3.47623E-4 9.92813E-4
21 0.33303 3.21007E-4 1.50857E-3
22 0.34071 9.52046E-4 -2.23046E-4
23 0.34135 6.43506E-4 -4.53421E-4
24 0.34502 -3.30764E-3 3.27173E-3
25 0.34943 -1.73574E-4 4.6258E-4
26 0.48977 -2.33076E-4 1.0867E-3
27 0.49109 1.13856E-3 -8.38279E-5
28 0.49863 1.02404E-2 4.28762E-3
29 0.49932 -1.35872E-3 2.34376E-4
30 0.50000 -3.90019E-2 -4.07338E-2
31 0.50798 1.53918E-3 9.96526E-3
32 0.50924 2.19555E-3 -1.0737E-3
33 0.51606 -5.78881E-3 6.02789E-3
34 0.51679 2.99759E-3 4.51128E-3
35 0.51753 -4.07584E-1 3.09551E-1
36 0.51826 1.38968E-3 -7.053E-3
37 0.52608 -2.11594E-2 1.60241E-2
38 0.52743 1.02133E-1 6.81416E-2
39 0.53632 1.59301E-2 1.26742E-2
40 0.53772 5.32076E-3 -1.52675E-2
41 0.54697 1.94551E-3 -4.3969E-3
42 0.54843 -1.68115E-3 -4.73635E-4
43 0.89909 -1.873E-5 2.00214E-4
44 0.92942 1.29866E-3 -1.23098E-3
45 0.93417 9.57554E-4 1.82566E-3
46 0.96244 -3.87377E-3 2.79983E-3
47 0.96696 1.12103E-4 -1.61015E-4
48 0.99185 -8.01072E-4 5.8711E-4
49 0.99455 2.52025E-3 6.42288E-4
50 0.99727 4.43976E-2 4.38963E-2
51 1.00000 5.8662E-4 2.0321E-3
52 1.00275 1.06698E-2 1.6144E-2
53 1.00551 -7.5352E-4 1.0275E-3
54 1.02954 -2.49095E-4 2.31106E-3
55 1.03472 1.56413E-3 -1.80051E-3
56 1.04061 4.57033E-4 5.13784E-5
57 1.06951 -7.39791E-4 -1.72579E-3
58 1.07581 3.10204E-2 -7.30152E-3
59 1.11346 1.01834E-4 1.54229E-3
60 1.11951 -2.20842E-3 -4.77528E-3
61 1.16035 7.18082E-4 -8.76226E-4
62 1.16693 1.27854E-4 -6.16297E-4
63 1.21136 2.60297E-5 -1.45686E-4
64 13.66079 3.11027E-3 -8.02882E-3
65 14.76529 1.15311E-3 2.28795E-3
66 27.55455 5.05079E-3 1.67098E-2
67 31.81193 -2.2376E-2 2.88053E-3
68 182.62118 -5.778E-2 6.0773E-2
69 365.25998 6.66517E-2 1.0994E-1
Mathematical Formula
Visual Basic Syntax
Function EstimateTideValues() As [Function]
                        Dim Pi As [Double] = Math.PI
                        Dim sum As [Double] = harmonics(0, 1)
                        For k As Int16 = 1 To harmonics.GetUpperBound(0)
                        Dim period As [Double] = 2 * Pi / harmonics(k, 0)
                        Dim coefCos As [Double] = harmonics(k, 1)
                        Dim coefSin As [Double] = harmonics(k, 2) 
                        sum = sum + coefCos * Math.Cos(time * period)
                        sum = sum + coefSin * Math.Sin(time * period)
                        Next
                        Return sum
                        End Function
C# Syntax
double EstimateTideValues()
                        {
                        double Pi = Math.PI;
                        double sum = harmonics[0, 1];
                        for (int k=1; k <= harmonics.GetUpperBound(0); k++)
                        {
                        double period = 2 * Pi / harmonics[k, 0];
                        double coefCos = harmonics[k, 1];
                        double coefSin = harmonics[k, 2];
                        sum += coefCos * Math.Cos(time * period);
                        sum += coefSin * Math.Sin(time * period);
                        }
                        return sum;
                        }

Axis ranges

Start
End