Trixology

WeatherCat => WeatherCat General Discussion => Topic started by: wurzelmac on August 06, 2018, 03:47:46 PM

Title: stat$sunshinehours.xxx
Post by: wurzelmac 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,
Title: Re: stat$sunshinehours.xxx
Post by: Blicj11 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.
Title: Re: stat$sunshinehours.xxx
Post by: wurzelmac 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,
Title: Re: stat$sunshinehours.xxx
Post by: Blicj11 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.
Title: Re: stat$sunshinehours.xxx
Post by: Blicj11 on August 06, 2018, 08:31:18 PM
One more screenshot, Reinhard. It's working here.
Title: Working for me too. (Re: stat$sunshinehours.xxx)
Post by: elagache 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.

(http://www.canebas.org/misc/Capto_images/Sunshine%20hours%20test%202018-08-06.png)

Time to ask Stu about it!

Cheers, Edouard  [cheers1]
Title: Re: stat$sunshinehours.xxx
Post by: wurzelmac on August 07, 2018, 07:05:39 AM
Thanks for your replies! Maybe Stu will take a look at this thread.
Title: Re: stat$sunshinehours.xxx
Post by: wurzelmac 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.  ???