Tides

BEZAHLT
Durch API Hood | Aktualisiert il y a 16 jours | Weather
Popularität

9.4 / 10

Latenz

546ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

Issue: Some tides time missing?

Rapid account: Tony Ko Tgz Pu RY
tony-KoTgzPuRY
il y a 2 ans

Hi,

I’m new using your API ; first, I’d like to thank you for your API!

However, I found some issues in datas: for some places there is only 2 tides per day. This is something not possible, isn’t it ?

For example :

Tuban, EastJava:

[latitude] => -6.8976
[longitude] => 112.0649

Here is a sample of what I get :

[1] => Array
(
[timestamp] => 1648544242
[datetime] => 2022-03-29T08:57:22+00:00
[height] => 0.59062422347307
[state] => HIGH TIDE
)

        [2] => Array
            (
                [timestamp] => 1648595837
                [datetime] => 2022-03-29T23:17:17+00:00
                [height] => -0.58619141026122
                [state] => LOW TIDE
            )

        [3] => Array
            (
                [timestamp] => 1648632761
                [datetime] => 2022-03-30T09:32:41+00:00
                [height] => 0.51990518493361
                [state] => HIGH TIDE
            )

        [4] => Array
            (
                [timestamp] => 1648683486
                [datetime] => 2022-03-30T23:38:06+00:00
                [height] => -0.47962300339067
                [state] => LOW TIDE
            )

        [5] => Array
            (
                [timestamp] => 1648720492
                [datetime] => 2022-03-31T09:54:52+00:00
                [height] => 0.42013797028488
                [state] => HIGH TIDE
            )

        [6] => Array
            (
                [timestamp] => 1648770418
                [datetime] => 2022-03-31T23:46:58+00:00
                [height] => -0.34142932775531
                [state] => LOW TIDE
            )

        [7] => Array
            (
                [timestamp] => 1648806960
                [datetime] => 2022-04-01T09:56:00+00:00
                [height] => 0.30129878818494
                [state] => HIGH TIDE
            )

**One more example, for Saona island, Dominican republic:
**

	[latitude] => 18.1530876
[longitude] => -68.6797264
	
	
It looks pretty good until 2nd April (with a tide every about 6hours), but after it seems to miss some high and low tides... Very strange :

 [16] => Array
            (
                [timestamp] => 1648869784
                [datetime] => 2022-04-02T03:23:04+00:00
                [height] => 0.089493350303962
                [state] => HIGH TIDE
            )

        [17] => Array
            (
                [timestamp] => 1648927617
                [datetime] => 2022-04-02T19:26:57+00:00
                [height] => -0.052642306415331
                [state] => LOW TIDE
            )

        [18] => Array
            (
                [timestamp] => 1648959076
                [datetime] => 2022-04-03T04:11:16+00:00
                [height] => 0.10233530753627
                [state] => HIGH TIDE
            )

        [19] => Array
            (
                [timestamp] => 1649014657
                [datetime] => 2022-04-03T19:37:37+00:00
                [height] => -0.074919229701788
                [state] => LOW TIDE
            )

        [20] => Array
            (
                [timestamp] => 1649048519
                [datetime] => 2022-04-04T05:01:59+00:00
                [height] => 0.10832207680381
                [state] => HIGH TIDE
            )

        [21] => Array
            (
                [timestamp] => 1649101582
                [datetime] => 2022-04-04T19:46:22+00:00
                [height] => -0.09330840002949
                [state] => LOW TIDE
            )

        [22] => Array
            (
                [timestamp] => 1649138052
                [datetime] => 2022-04-05T05:54:12+00:00
                [height] => 0.10936373640266
                [state] => HIGH TIDE
            )

If you need more example, please ask. I hope you will be able to fix this!

Best regards,

Tony

Rapid account: Apihood
apihood Commented il y a 2 ans

Hi Tony,

two tides per day could be OK because there are various types of tidal cycles (as diurnal, semi-diurnal and mixed). You can read more for example at https://oceanservice.noaa.gov/education/tutorial_tides/tides07_cycles.html.

First look at the examples you posted seemed OK to me, if you have any other question just let me know here or at api@marea.ooo.

Have a great day!
Vojta

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen