isn’t there some fancy algorithm that calculates the hours of sunshine (I guess it would involve solar radiance measurement, location and time of the year). Couldn’t that be added to the list of calculated values?
isn’t there some fancy algorithm that calculates the hours of sunshine (I guess it would involve solar radiance measurement, location and time of the year). Couldn’t that be added to the list of calculated values?
Put it in feauture request I thought also about this
It could be added but it’s a bit beyond the scope of the application. There are third-party applications that do offer this data
Why is this beyond the scope of the application? Currently it shows quite a few calculated values. Unless you are a real weather geek (oops, aren’t we all ) this derived value is one that appeals to the casual hobbyist (like me)
David has addressed this in posts several times.
I did search for ‘hours of sunshine’ on this forum, but came up with zero results. (I might be searching wrong of course). If this is being discussed elsewhere could you direct me towards that discussion?
Not that specifically but about the scope of the application and the role of third-party developers.
I’ve asked for several items to be added to the application and finally decided to start developing my own.
I like that feature which us why I posted this:
But I wouldn’t put sun and moon calculator in the same league as ‘hours of sunshine’, as the latter is a bit stronger related to wheater itself.
there is at least some research and some formula, I’m not sure if you can acces this article (but I can )
Relationship between sunshine duration and solar radiation
Author links open overlay panelHarrySuehrckeaRoss S.BowdenbK.G.T.Hollandsc
RedirectingGet rights and content
Highlights
•
69,000 pairs of sunshine–radiation readings were examined from 670 sites.
•
Relationship between atmospheric transmittance and sunshine fraction is non-linear.
•
Reason for non-linearity is clouds get optically thicker with decreasing sunshine fraction.
•
A generalization of the Angstrom–Prescott equation most efficiently fits data.
•
Fundamental connection between diffuse fraction and sunshine–radiation relationship.
The code I posted gives the hours.
o sorry, I thought it calculated sunrise, sunset, and perhaps the difference. I’m not talking about daylight hours, but the hours during the day that the sun actually shines. Something that is usually measured with a Campbell–Stokes recorder (a big glass ball used as a magnifying glass that burns paper when the sun is really shining)
I’m also interest in the daylight hours and also the moon phase. . I think that would have to take a calender function but would be very cool if it could be done but I do understand that this would probably be a part of a website building app. I’m not there yet.
Love the lightning website! Thanks!
Planning on incorporating the Javascript @GaryFunk talks about into my mobile app… Will also be useful for local conditions…
the 3rd party software weather display does calculate sunshine hours
are you sure, I looked at it, and it seems to calculate the astronomical values like sunrise and sunset, but I didn’t look very carefully. For calculating the actual hours of sunshine you do need at least the solar radiance values as measured by the device.
/edit… I just realised you are referring to different software then the javascript mentioned earlier. That seems to do only astronomical calculations. I didn’t look at the software you mentioned
\