Author Topic: stat$sunshinehours.xxx  (Read 1555 times)

wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
stat$sunshinehours.xxx
« on: August 06, 2018, 03:47:46 PM »
Hello,
can anybody double-check the tag 'sunshinehours' as a synthetic channel? For me it gives only full hours (no commas, see the screenshot please [8,00 instead of 8,15 or 8,50]). Thanks for feedback.
Cheers,
Reinhard


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: stat$sunshinehours.xxx
« Reply #1 on: August 06, 2018, 03:59:03 PM »
The sun just appeared here, so I don't have a full hour yet, but I am getting a decimal point. I'll check again in a few minutes after I have had a full hour.
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: stat$sunshinehours.xxx
« Reply #2 on: August 06, 2018, 04:19:03 PM »
Blickj11,
not to cause confusion: the dezimal point (in my case a comma) appears as well here, but I get only full hours as result. So when the sun shines I get a zero ( 0,00 ), and one hour later I get a 1,00 and so on. What I want to state is that there is no room between the hours of sunshine (mabye it shines for 9,85 hours but I will only get a sum of 9 hours because the 10th hour isn't full?).
So far, please let it run for a few hours - thanks!
Cheers,
Reinhard


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: stat$sunshinehours.xxx
« Reply #3 on: August 06, 2018, 05:44:32 PM »
Reinhard:

It appears to me that the Stat tag for sunshine hours works in the English version. See attached. But I will let it run for a few more hours and see if it goes to rounding to whole hours after a longer time.
Blick


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: stat$sunshinehours.xxx
« Reply #4 on: August 06, 2018, 08:31:18 PM »
One more screenshot, Reinhard. It's working here.
Blick


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Working for me too. (Re: stat$sunshinehours.xxx)
« Reply #5 on: August 06, 2018, 11:23:35 PM »
Dear Reinhard, Blick, and WeatherCat scripters,

Hello,
can anybody double-check the tag 'sunshinehours' as a synthetic channel? For me it gives only full hours (no commas, see the screenshot please [8,00 instead of 8,15 or 8,50]).

Not sure why you are seeing nothing after the decimal point, but it does seem likely to be some sort of a localization issue.  I forgot to change the units, but here is the result graphed on to my wind run synthetic channel.



Time to ask Stu about it!

Cheers, Edouard  [cheers1]

wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: stat$sunshinehours.xxx
« Reply #6 on: August 07, 2018, 07:05:39 AM »
Thanks for your replies! Maybe Stu will take a look at this thread.
Reinhard


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: stat$sunshinehours.xxx
« Reply #7 on: August 07, 2018, 06:53:38 PM »
Interestingly no problems with aftercomma in the other synthchannels, but only with sunshinehours. Another thing is - the other four channels show "current value" in german, but not so the 5th channel.  ???
Reinhard