Calculate wrong Daylength [mbsystem-daylength]

This section covers the Meteobridge PRO units exclusively

Moderator: Mattk

Post Reply
cphMichael
Junior Boarder
Junior Boarder
Posts: 24
Joined: Wed Oct 19, 2016 2:26 pm

Calculate wrong Daylength [mbsystem-daylength]

Post by cphMichael »

I upload weather data to Twitter every hour.

I use [mbsystem-sunrise], [mbsystem-sunset], [mbsystem-daylength]

11/1-2020 kl. 23:00 - Sunrise 08:33, Sunset 16:02, Daylength 07:28
12/1-2020 kl. 00:00 - Sunrise 08:33, Sunset 16:03, Daylength 07:31

I have attached a screenshot from Twitter, where you can see that it says Daylength has increased from 07:28 to 07:31 = 3 min.

If you look at the Sunrise it has not changed - Sunset has only increased with one minute. So the Daylength has only increased with 1 min.

If you calculate the Daylength, the correct Daylength is:
Sunrise 08:33, Sunset 16:02, Daylength 07:29
Sunrise 08:33, Sunset 16:03, Daylength 07:30

My Twitter upload:

https://twitter.com/frbvejret

- - - - - - -

Danish > English:

Sol op = Sunrise
Sol Ned = Sunset
Længde = Daylength
Attachments
Twitter.png
Twitter.png (81.66 KiB) Viewed 445 times

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 6147
Joined: Mon Oct 01, 2007 10:51 pm

Re: Calculate wrong Daylength [mbsystem-daylength]

Post by admin »

Meteobridge uses a lib for that. I can't change the formula, so you have to live with it.

Post Reply