Is there any way of getting daily actual-sunshine hours data?

  • 1
  • Praise
  • Updated 6 months ago
Actual sunshine is a major factor in Evapotranspiration estimates. Any data from sunshine recorders or solar radiation measurements would be useful to optimize water usage at a more granular level.
Photo of mjbrenes

mjbrenes

  • 1 Post
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of Hugh S. Myers

Hugh S. Myers

  • 4 Posts
  • 0 Reply Likes
While not precise to the second, given a selection of Astronomy in your request, you would have:

"sunrise": {
"hour": "7",
"minute": "01"
},
"sunset": {
"hour": "16",
"minute": "56"
}

So your span would be 9 hours and 55 minutes.

--hsm
Photo of davemiedema

davemiedema

  • 29 Posts
  • 7 Reply Likes
This is the astronomical duration of possible daylight hours, not the actual time the sun was in the sky. As it stands now, I would have to scan all the hours in the historical data, map "Partly Cloudy", etc to percentages, and add them up. There is quite a bit of error in that.

Also, this is not available in the historical data, so if you missed a day, it would be a pain.

If it is easy, it would be awesome. I think a lot of people are trying to use the data for envirotranspiration, and a radiation estimate is pretty key.
Photo of Tim Roche

Tim Roche, Official Rep

  • 259 Posts
  • 19 Reply Likes
Thanks for your feature request, While it isn't in our product pipeline, we'll keep your usage case in mind for future products.
Photo of klauskraemer

klauskraemer

  • 3 Posts
  • 2 Reply Likes
I absolutely miss a forecast of sunshine duration, mainly for heating control purposes like deciding wheter to heat the boiler or wait for the sun doing this...

Is that "usage case" as you call it still trapped in a mind or already released into productive freedom? Would be great to have such a forecast at hand!
Photo of davemiedema

davemiedema

  • 29 Posts
  • 7 Reply Likes
The code sample at https://github.com/davemiedema/envirotranspiration will calculate how much sunshine happened yesterday.  It could in theory do a prediction on the sunshine duration for the upcoming day if you had an hourly cloud cover prediction.
Photo of davemiedema

davemiedema

  • 29 Posts
  • 7 Reply Likes
Thanks!

I actually wrote a python script to calculate total solar radiation based on lat/long, estimate the radiation at ground level based on the text strings in the historical data, and then estimate the amount of evaporation during the previous day. Maybe I will post it here so others can use it.

Dave
Photo of Viviana Palacios

Viviana Palacios

  • 2 Posts
  • 0 Reply Likes
Hello Dave,

Could you post your script? My team is looking for that information.

Thank you!
Photo of davemiedema

davemiedema

  • 29 Posts
  • 7 Reply Likes
https://github.com/davemiedema/enviro...

Can you see this in github?
Photo of Viviana Palacios

Viviana Palacios

  • 2 Posts
  • 0 Reply Likes
Yes! Thanks a lot :)