Author Topic: Sunlight Times  (Read 4015 times)

0 Members and 1 Guest are viewing this topic.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 440
    • Penn Lake Weather
Sunlight Times
« on: December 13, 2016, 04:24:46 PM »
www.pennlake.us

I believe my pie chart, on my main page, for the amount of daylight, is wrong and I am looking for all the setting I need to check. I think I should be gaining sunlight but instead I am still losing sunlight.  So far I have found and checked the Settings.php and get-usno-sunmoon.php, I looked at many more but sofar they were the only two I found.

I'm using -- 41.111702  -75.774302

Any direction on where else to look and what to check?

Thanks for any help.

Offline gjr80

  • Member
  • *
  • Posts: 45
Re: Sunlight Times
« Reply #1 on: December 13, 2016, 04:30:17 PM »
Hi,

Since you are in the northern hemisphere I don't think you will start to gain sunlight until after the solstice on 21 December. Any other reason you think it might be wrong?

Gary

Offline CW2274

  • Forecaster
  • *****
  • Posts: 6759
    • Conditions @ CW2274 West Tucson-Painted Hills Ranch
Re: Sunlight Times
« Reply #2 on: December 13, 2016, 04:48:15 PM »
Hi,

Since you are in the northern hemisphere I don't think you will start to gain sunlight until after the solstice on 21 December.

Gary
At 10:44 Zulu, to be exact.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 440
    • Penn Lake Weather
Re: Sunlight Times
« Reply #3 on: December 13, 2016, 08:20:37 PM »
Ok, I my local weather station guy said we were on the up swing and mine says down, then I looked at my neighbors station, 10 miles up the road and basically the same setup, WD and the Saratoga templates and he is already on the plus side.

Well at least I still know if it's day or night, lol.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Sunlight Times
« Reply #4 on: December 13, 2016, 08:56:00 PM »
Thats not possible, this is the same for the whole Earth.

Northern Hemisphere (any place) - days getting shorter until 21Dec (+/- day, changes each yr), then getting longer until 21st June (+/-)
Equator - 12h day, 12h night all year round
Southern Hemisphere (any place) - opposite of Northern

It always changes at solstice

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Sunlight Times
« Reply #5 on: December 13, 2016, 08:58:53 PM »
The exact day length and night length will of course differ and will depend on latitude (the closer to the poles the bigger the difference between day/night at solstice), but the trend (shorter/longer) is the same. And if that guy lives 10 miles from you, even the length would be the same, it would differ by maybe a second or less ;)

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 440
    • Penn Lake Weather
Re: Sunlight Times
« Reply #6 on: December 13, 2016, 09:30:06 PM »
OK -- Let me regroup a little, and go back to, I need to correct my settings somewhere, I think.

Here:  www.pennlake.us   I'm at 14 seconds longer than yesterday.

http://www.mikeymsweather.com/index.php      about 15 miles east of me --- 46 shorter than yesterday

So I'm thinking I probably have a date set wrong somewhere???

Offline gjr80

  • Member
  • *
  • Posts: 45
Re: Sunlight Times
« Reply #7 on: December 13, 2016, 10:26:47 PM »
Your issue is with Weather Display. You are using the Alternative Dashboard v6.92 which takes change in day length from the $changeinday tag in testtags.php which in turn is generated by Weather Display. Just now your testtags.php has:

Code: [Select]
$changeinday = '00:00:14';
which we know cannot be correct for your location. Do not use Weather Display myself, but somewhere something is causing Weather Display to calculate the wrong value. Date and time seem correct (in testtags.php), latitude is the obvious candidate but that seems OK too (though I know Weather Display seems to use a different convention to some others eg negative for east longitude). Maybe a question for the Weather Display folks.

Just had a look at testtags.php for both you and your neighbor, lat/long looks fine/consistent. Interesting to note that your change in day values are exactly 1 minute 'apart'. I am starting to wondering perhaps you have tickled some sort of odd corner case in Weather Display.

Gary

Offline waiukuweather

  • Forecaster
  • *****
  • Posts: 1072
Re: Sunlight Times
« Reply #8 on: December 13, 2016, 11:20:45 PM »
best thing is to post a screen shot of the solar setup (to see the lat/long set there, which is used for the day length)
also, which version of WD?

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 440
    • Penn Lake Weather
Re: Sunlight Times
« Reply #9 on: December 14, 2016, 06:33:47 AM »
Thanks waiukuweather and gjr80!

I suspect WD also -- I did not have a lot of time yesterday, but I did check the lat and long in WD perhaps the conversion --
Saratoga uses decimal and WD degrees, minutes and such.

I'll look into WD today and leave a post there if I can't find anything on my own.

Thanks, I never know where to start - here or WD thanks for a direction.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 440
    • Penn Lake Weather
Re: Sunlight Times
« Reply #10 on: December 14, 2016, 07:16:17 AM »
Problem Resolved -- WD Longitude set at + instead of -

Secondary problem of old age, will work on getting new spectacles.

Hey gjr80 when you mentioned a minute apart, that put me on the right track --- + 30 seconds and -30 seconds certainly makes up that minute.

Thanks to All!!!!!!!!!

 

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 440
    • Penn Lake Weather
Re: Sunlight Times
« Reply #11 on: December 14, 2016, 07:28:37 AM »
Well????  the Seconds and shorter are ok but now the Hours are off, lol I have 14 -- hours of sunlight should be around 9 hours.

Will report back, lol.

Offline waiukuweather

  • Forecaster
  • *****
  • Posts: 1072
Re: Sunlight Times
« Reply #12 on: December 14, 2016, 01:08:27 PM »
it would be good if you could post a screen shot

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 440
    • Penn Lake Weather
Re: Sunlight Times
« Reply #13 on: December 14, 2016, 01:55:43 PM »
So here is a screenshot of my WD settings and it produces the second screenshot. If I switch to a minus value the 2nd screen shot changes to 14:46 of sunlight and the days still getting shorter by like 46 seconds.


Offline waiukuweather

  • Forecaster
  • *****
  • Posts: 1072
Re: Sunlight Times
« Reply #14 on: December 14, 2016, 02:11:16 PM »
its a screen shot of the solar setup that is needed

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 440
    • Penn Lake Weather
Re: Sunlight Times
« Reply #15 on: December 14, 2016, 02:40:27 PM »
Ok but I'm lost -- in WD? cause all I can find there in control panel is Sun/Lunar coordinates Which is the same as the pic above for Sun/moon/ rise set and the only other I see is for a solar sensor , which I don't have.

If you mean in the Saratoga Templates, sorry I don't have a clue where to look.

I appreciate your patients but perhaps baby terms are better with me.

Offline waiukuweather

  • Forecaster
  • *****
  • Posts: 1072
Re: Sunlight Times
« Reply #16 on: December 14, 2016, 02:48:49 PM »
yes, the solar sensor setup
(as explained above, its the lat/long in the solar setup that is used for the day length)

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 440
    • Penn Lake Weather
Re: Sunlight Times
« Reply #17 on: December 14, 2016, 03:00:18 PM »
Ok it's this one -- I never even went into these settings because I don't have a solar sensor, lol.


Offline waiukuweather

  • Forecaster
  • *****
  • Posts: 1072
Re: Sunlight Times
« Reply #18 on: December 14, 2016, 04:52:18 PM »
try setting the correct lat/long settings there (and take note of the correct way to set the -+ etc)
new users of the software this is setup when the sun moon lat/long is setup

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 440
    • Penn Lake Weather
Re: Sunlight Times
« Reply #19 on: December 14, 2016, 06:32:41 PM »
Went through the setup, and no change.

Oh well?

Thanks for your help!

Offline waiukuweather

  • Forecaster
  • *****
  • Posts: 1072
Re: Sunlight Times
« Reply #20 on: December 14, 2016, 06:40:17 PM »
post a screen shot of how you have the lat/long set in the solar setup now

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 440
    • Penn Lake Weather
Re: Sunlight Times
« Reply #21 on: December 14, 2016, 07:33:06 PM »
Well I went through this a few times changing + and - all over and no change.

Here is my current setting.
 

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 440
    • Penn Lake Weather
Re: Sunlight Times
« Reply #22 on: December 14, 2016, 07:44:57 PM »
Well -- it's seems to be better with those settings???

Perhaps I was not waiting long enough for the new settings to update I would check after the 5 min update would run and nothing changed so I moved on to another setting waited and nothing -- must be set to updated at a larger interval??

Thanks!!!!!!!!!!!

Offline waiukuweather

  • Forecaster
  • *****
  • Posts: 1072
Re: Sunlight Times
« Reply #23 on: December 14, 2016, 08:37:15 PM »
yes, you do need to wait for the testtgs.php to be updated to your web site

Offline waiukuweather

  • Forecaster
  • *****
  • Posts: 1072
Re: Sunlight Times
« Reply #24 on: December 14, 2016, 09:35:26 PM »
note that you do not need the switch (on the right hand side) on in the solar settings (since you do not have a solar sensor)