WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Topic started by: ingogliar on January 07, 2022, 12:51:47 PM

Title: Almanac Incorrect (sunrise/moonrise) as well as time for Summary Temperature
Post by: ingogliar on January 07, 2022, 12:51:47 PM
Our new school website:

https://wostac.stacxlab.com/

Is incorrectly displaying the sunrise/moonrise time in the almanac section -- as well as displaying "Night Time" in the Summary Temperature area. We are pulling data from Weather Display.

Any advice on what we are doing incorrectly?

Thanks!
Title: Re: Almanac Incorrect (sunrise/moonrise) as well as time for Summary Temperature
Post by: saratogaWX on January 07, 2022, 01:32:05 PM
You've likely used a negative longitude in the WD setup.  WD uses astronomical longitude, so negative numbers are EAST of GMT, while positive numbers are WEST of GMT.  The opposite is the case for terrestrial longitude such as used in map programs.

Open Weather-Display, Control Panel, Solar Sensor, Max Solar Time of Day/Time Zone Lat/Long. Fudge offset TAB
Change the Longitude number to positive, and press OK to save.

That should fix the issue.
Title: Re: Almanac Incorrect (sunrise/moonrise) as well as time for Summary Temperature
Post by: ingogliar on January 07, 2022, 03:25:00 PM
Mr. True,

Thanks so very much - the moment I get back to school, I will try it.

Again, thanks so much and may you and your family have a safe and healthy 2022.

Bob