Hallo
May i ask the method Cumulus App calculate's sunrise and sunset, and the method for difference between today and tomorrow daylight.
Note. I'm familar with Delphi (Pascal)
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
How Cumulus calculate sunrise and sunset
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: How Cumulus calculate sunrise and sunset
It uses a third party component, which uses the same algorithms which I guess most software uses, from the book "Astronomical Algorithms" by Jean Meeus. "Daylight" is the period between dawn and dusk, i.e between the start of morning civil twilight and the end of evening civil twilight.
Steve
- Solorize
- Posts: 497
- Joined: Tue 01 Feb 2011 8:22 am
- Weather Station: WH1081
- Operating System: Win 10, XP, Xubuntu, Linux Mint
- Location: Wokingham, Berkshire, UK
- Contact:
Re: How Cumulus calculate sunrise and sunset
After a quick look I have found some examples, see below links
which may help.
Algorithm
http://williams.best.vwh.net/sunrise_su ... orithm.htm
Coded in C
http://souptonuts.sourceforge.net/code/sunrise.c.html
which may help.
Algorithm
http://williams.best.vwh.net/sunrise_su ... orithm.htm
Coded in C
http://souptonuts.sourceforge.net/code/sunrise.c.html
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z
Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk
CGM UKScene Radio (pi)
http://cgmuksceneradio-pi.noip.me/
http://bit.ly/WjBh5z
Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk
CGM UKScene Radio (pi)
http://cgmuksceneradio-pi.noip.me/
- nikokara
- Posts: 11
- Joined: Fri 14 Oct 2011 3:13 pm
- Weather Station: OlympData Offset
- Operating System: Winxp
- Location: Greece
Re: How Cumulus calculate sunrise and sunset
Thank you Steve, thank you Solorize
U.S. National Oceanic & Atmospheric Administration (NOAA) uses the same algorithm, based on equations from Astronomical Algorithms, by Jean Meeus.
Here are the links
http://www.esrl.noaa.gov/gmd/grad/solcalc/
http://www.esrl.noaa.gov/gmd/grad/solcalc/sunrise.html
PHP has a build in function (date_sun_info) for Sunrise, Sunset, plus Civilian Twilight, Nautical Twilight and Astronomical Twilight.
attached two helpful excel files for Solar Calculations Enjoy!!!
U.S. National Oceanic & Atmospheric Administration (NOAA) uses the same algorithm, based on equations from Astronomical Algorithms, by Jean Meeus.
Here are the links
http://www.esrl.noaa.gov/gmd/grad/solcalc/
http://www.esrl.noaa.gov/gmd/grad/solcalc/sunrise.html
PHP has a build in function (date_sun_info) for Sunrise, Sunset, plus Civilian Twilight, Nautical Twilight and Astronomical Twilight.
attached two helpful excel files for Solar Calculations Enjoy!!!
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12763
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: How Cumulus calculate sunrise and sunset
If ever there was a more apt username...nikokara wrote:thank you Solorize
- Solorize
- Posts: 497
- Joined: Tue 01 Feb 2011 8:22 am
- Weather Station: WH1081
- Operating System: Win 10, XP, Xubuntu, Linux Mint
- Location: Wokingham, Berkshire, UK
- Contact:
Re: How Cumulus calculate sunrise and sunset
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z
Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk
CGM UKScene Radio (pi)
http://cgmuksceneradio-pi.noip.me/
http://bit.ly/WjBh5z
Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk
CGM UKScene Radio (pi)
http://cgmuksceneradio-pi.noip.me/