Please try:
observation_type = sunshine_hours / 60

This at least works for me.

Best regards,
Manfred

Meteo Oberwallis schrieb am Freitag, 1. Januar 2021 um 13:58:14 UTC+1:

> Hi Guys. I'm just adjusting my climate values. Now I wanted to display the 
> hours of sunshine there as well. But since these are required in minutes, 
> this is beyond the scope of the graphic. Couldn't the value of the sunshine 
> duration be mathematically converted to hours and then displayed in the 
> graphic? Or is there another option? thank you for your Help.
>
> My Code:
>
>     [[Klima2020]]
>         title = "Jahr 2020"
>     type = spline
>     time_length = year_specific
>     year_specific = 2020
>     aggregate_type = max
>     aggregate_interval = 86400 # 1 day
>     gapsize = 86400000
>     xaxis_groupby = month
>         xaxis_categories = 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 
> 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
>         [[[outTemp]]]
>             zIndex = 2
>             name = Max Temperatur
>             color = "#fc0404"
>             [[[[marker]]]]
>                 enabled = true
>                 radius = 4
>         [[[outTemp_min]]]
>             name = Min Temperatur
>             observation_type = outTemp
>             aggregate_type = min
>             zIndex = 2
>             color = "#173c6a"
>             [[[[marker]]]]
>                 enabled = true
>                 radius = 4
>         [[[rainTotal]]]
>             name = Total Regen
>             type = column
>             yAxis = 1
>             zIndex = 0
>             color = "#438bd6"
>         [[[sunshine_hours]]]
>             type = column
>             yAxis = 1
>             zIndex = 0
>             aggregate_type = sum
>             color = "#e4d354"
>             name = Sunshine Hours
>
> [image: Unbenannt.PNG]
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ca137070-eb9d-43cb-bb1c-f147c667ab92n%40googlegroups.com.

Reply via email to