Yes I know it's the standard. Doesn't mean I use it. I use Belchertown :-)

Which graphs are these? Rain (hourly total) and Rain (daily total)?

On Thursday, July 16, 2020 at 12:42:39 PM UTC-4, [email protected] wrote:
>
> Season is the standard at weewx. 
> The reports report rain per day :
> [image: belch03.jpg]
>
>
> Pat schrieb am Donnerstag, 16. Juli 2020 um 18:38:34 UTC+2:
>
>> I don't know, I don't use seasons. Can you provide the chart code for 
>> those graphs? 
>>
>>
>>
>> On Thursday, July 16, 2020 at 12:36:01 PM UTC-4, [email protected] 
>> wrote:
>>>
>>> How does this season do it? 
>>> [image: belch01.jpg]
>>> [image: belch02.jpg]
>>>
>>> Pat schrieb am Donnerstag, 16. Juli 2020 um 18:30:19 UTC+2:
>>>
>>>> 1. Don't think this is possible. The graphs do not do any 
>>>> additional math. They show what is in the database and aggregate those 
>>>> values if needed (such as max, min, sum, etc.). 
>>>> 2. Don't think this is possible. The graphs do not do any additional 
>>>> math. They show what is in the database and aggregate those values if 
>>>> needed (such as max, min, sum, etc.). 
>>>>
>>>> 3. Rain last 30 days is:
>>>>
>>>> [testrainpage]
>>>>     title = "Rain Test"
>>>>     show_button = true
>>>>     button_text = "Rain Test"
>>>>     tooltip_date_format = "LLL"
>>>>
>>>>
>>>>     [[rain30d]]
>>>>         title = "Rain Last 30 Days"
>>>>
>>>>         time_length = 2592000 # Last 30 days
>>>>
>>>>         aggregate_type = sum
>>>>         aggregate_interval = 86400 # 1 day
>>>>         gapsize = 86400000
>>>>         [[[rain]]]
>>>>             name = Rain
>>>>             type = column
>>>>         [[[rainTotal]]]
>>>>             name = Rain Total
>>>>
>>>>
>>>> On Thursday, July 16, 2020 at 12:27:05 PM UTC-4, [email protected] 
>>>> wrote:
>>>>>
>>>>> I would like to:
>>>>> 1. Rain 25h -> mm per h, not every 5 min
>>>>> 2 Rain Last 7 Day -> mm per day, not per hour
>>>>> 3 Rain Last 30 Day -> is what I want 
>>>>>
>>>>> Pat schrieb am Donnerstag, 16. Juli 2020 um 17:35:35 UTC+2:
>>>>>
>>>>>> So on 1 page, you want 3 charts?
>>>>>>
>>>>>> 1. Rain for 25 hours
>>>>>> 2. Rain for 7 days
>>>>>> 3. Rain for 30 days
>>>>>>
>>>>>> Yes, we need to use seconds for this as that is the rolling time 
>>>>>> period. The time_ago does not do a rolling period, only the calendar day 
>>>>>> for that time ago. 
>>>>>>
>>>>>> Is this what you want? 
>>>>>> https://belchertownweather.com/graphs/?graph=testrainpage
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thursday, July 16, 2020 at 10:59:28 AM UTC-4, [email protected] 
>>>>>> wrote:
>>>>>>>
>>>>>>> Hi Pat, the Wicki doesn't get me any further because I don't 
>>>>>>> understand some things and I can't get any graphics as I wish. I want 
>>>>>>> three 
>>>>>>> examples
>>>>>>> each the amount of rain per unit of time in mm as a column and the 
>>>>>>> cumulative total as a line.
>>>>>>> Example 25h: The variant with mm / 10min works, but the variant with 
>>>>>>> mm / h only results in nonsense.
>>>>>>> [25h]
>>>>>>>     # Chart Timespan Defaults
>>>>>>>     title = "Letzte 25h"
>>>>>>>     show_button = true
>>>>>>>     button_text = "Letzte 25h"
>>>>>>>     time_length = 90000
>>>>>>>     tooltip_date_format = "LLL"
>>>>>>>     gapsize = 600000 # This should be your archive_interval from 
>>>>>>> weewx.conf multiplied by 1000 to get milliseconds. Standard is 5 minutes
>>>>>>>
>>>>>>>     [[chart1]]
>>>>>>>         title = Regen
>>>>>>>         [[[rain]]]
>>>>>>>           yAxis = 1
>>>>>>>           type = column
>>>>>>>           name = Regen mm/10min
>>>>>>>         [[[rainTotal]]]
>>>>>>>           name = Regen Total
>>>>>>>     
>>>>>>>     [[chart2]]
>>>>>>>         title = Regen
>>>>>>>         aggregate_interval = 86400
>>>>>>>         [[[rain]]]
>>>>>>>           aggregate_type = sum
>>>>>>>           yAxis = 1
>>>>>>>           type = column
>>>>>>>           name = Regen mm/h
>>>>>>>         [[[rainTotal]]]
>>>>>>>           name = Regen Total
>>>>>>> [image: high-25h.jpg]
>>>>>>>
>>>>>>> The two variants "Last 7 days" and "Last 30 days", because nothing 
>>>>>>> is plotted during my attempt.
>>>>>>> Can I get the corrected samples?
>>>>>>> Thank you for your help
>>>>>>>
>>>>>>> Pat schrieb am Mittwoch, 15. Juli 2020 um 16:32:01 UTC+2:
>>>>>>>
>>>>>>>> So if you don't want the last 2592000 seconds, maybe you want "the 
>>>>>>>> last 30 days" as a rolling window?
>>>>>>>>
>>>>>>>> In that case, use time_length = days_ago 
>>>>>>>> <https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation#time_length>
>>>>>>>>  
>>>>>>>> and time_ago = 30 
>>>>>>>> <https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation#to-graph-days-ago>
>>>>>>>>
>>>>>>>> Please do read the charts wiki 
>>>>>>>> <https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation>,
>>>>>>>>  
>>>>>>>> everything is covered there. 
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wednesday, July 15, 2020 at 10:26:52 AM UTC-4, Andre wrote:
>>>>>>>>>
>>>>>>>>> It was just a thought, because with "time_length = 2592000" we do 
>>>>>>>>> not get the desired values.
>>>>>>>>>
>>>>>>>>> Am Mittwoch, 15. Juli 2020 16:00:51 UTC+2 schrieb Pat:
>>>>>>>>>>
>>>>>>>>>> What do you mean real calendar days? The 2592000 is the previous 
>>>>>>>>>> 2592000 
>>>>>>>>>> seconds. This number can be anything you want. 
>>>>>>>>>>
>>>>>>>>>> On Wednesday, July 15, 2020 at 9:47:21 AM UTC-4, Andre wrote:
>>>>>>>>>>>
>>>>>>>>>>> With "time_length = month" the values are correct of course.
>>>>>>>>>>> Maybe we need a fix to generate real calendar days for "time_length 
>>>>>>>>>>> = 2592000".
>>>>>>>>>>>
>>>>>>>>>>> Am Mittwoch, 15. Juli 2020 15:08:23 UTC+2 schrieb Pat:
>>>>>>>>>>>>
>>>>>>>>>>>> Great point Manfred. If you guys change your time_length to 
>>>>>>>>>>>> month 
>>>>>>>>>>>> <https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation#time_length>,
>>>>>>>>>>>>  
>>>>>>>>>>>> do the values match?
>>>>>>>>>>>>
>>>>>>>>>>>> On Wednesday, July 15, 2020 at 8:59:08 AM UTC-4, Manfred Maier 
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Couldn't this just be an issue with how the timespan for the 
>>>>>>>>>>>>> chart is defined?
>>>>>>>>>>>>> The chart displays the past 2592000 seconds and splits it into 
>>>>>>>>>>>>> pieces of 86400 seconds (24 hours). But those 24 hours might go 
>>>>>>>>>>>>> from 11am - 
>>>>>>>>>>>>> 11am.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Just a thought and probably wrong ...
>>>>>>>>>>>>>
>>>>>>>>>>>>> Pat schrieb am Mittwoch, 15. Juli 2020 um 14:48:25 UTC+2:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'm at a loss because I can't recreate this. 
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Please send me a copy of your database as well as your 
>>>>>>>>>>>>>> graphs.conf, and public_html/belchertown/json/weewx_data.json
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> My time to dedicate to this is slim right now, so if anyone 
>>>>>>>>>>>>>> else finds the problem that'd be helpful and I can merge it to 
>>>>>>>>>>>>>> development 
>>>>>>>>>>>>>> branch. 
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Wednesday, July 15, 2020 at 8:44:58 AM UTC-4, Andre wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I can reproduce the display issues.
>>>>>>>>>>>>>>> I have dropped all daily reports and rebuild daily.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [image: noaa_2020-07.png]
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Last 7 days
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [image: last_7_days.png]
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [image: last_30_days.png]
>>>>>>>>>>>>>>> Last 30 days...
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Am Mittwoch, 15. Juli 2020 14:19:19 UTC+2 schrieb Pat:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Sounds like you may have some problems with your database. 
>>>>>>>>>>>>>>>> I suggest you take a backup and follow the database 
>>>>>>>>>>>>>>>> drop-daily 
>>>>>>>>>>>>>>>> <http://www.weewx.com/docs/utilities.htm#Action_--drop-daily>and
>>>>>>>>>>>>>>>>  
>>>>>>>>>>>>>>>> rebuild-daily 
>>>>>>>>>>>>>>>> <http://www.weewx.com/docs/utilities.htm#Action_--rebuild-daily>and
>>>>>>>>>>>>>>>>  
>>>>>>>>>>>>>>>> see if that helps
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The graphs uses your archive table
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The reports uses your daily tables. 
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Seems like those aren't in sync for you.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Wednesday, July 15, 2020 at 6:16:48 AM UTC-4, Geni 0815 
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Pat, I just noticed the following:
>>>>>>>>>>>>>>>>> As an example in the graphic "last 30 days", "rain per 
>>>>>>>>>>>>>>>>> day". These values sometimes change every hour!
>>>>>>>>>>>>>>>>> For my understanding, the amount of rain per day is to be 
>>>>>>>>>>>>>>>>> understood on a calendar day within the last 30 days.
>>>>>>>>>>>>>>>>> In the graphics, however, the day begins fluently.
>>>>>>>>>>>>>>>>> I want a day to be a calendar day and not flowing 24h.
>>>>>>>>>>>>>>>>> This is how it is handled in the Templete Season.
>>>>>>>>>>>>>>>>> How do I have to make the graphic settings so that a day 
>>>>>>>>>>>>>>>>> is a calendar day?
>>>>>>>>>>>>>>>>> I hope I have clearly described my wish.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Am Sonntag, 12. Juli 2020 10:47:51 UTC+2 schrieb Geni 0815:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On 3 days we had rain of 9mm, 8.6mm and 0.6mm. The 
>>>>>>>>>>>>>>>>>> graphic now shows 0mm, 15mm and 3.2mm on the corresponding 
>>>>>>>>>>>>>>>>>> days. The sum is 
>>>>>>>>>>>>>>>>>> correct but wrongly divided. Where is the mistake?
>>>>>>>>>>>>>>>>>> [image: belch10.jpg]
>>>>>>>>>>>>>>>>>> [image: belch11.jpg]
>>>>>>>>>>>>>>>>>> [month]
>>>>>>>>>>>>>>>>>>     # Chart Timespan Defaults
>>>>>>>>>>>>>>>>>>     title = "Letzte 30 Tage"
>>>>>>>>>>>>>>>>>>     show_button = true
>>>>>>>>>>>>>>>>>>     button_text = "Letzte 30 Tage"
>>>>>>>>>>>>>>>>>>     type = spline
>>>>>>>>>>>>>>>>>>     time_length = 2592000 # Last 30 days
>>>>>>>>>>>>>>>>>>     tooltip_date_format = "dddd LL"
>>>>>>>>>>>>>>>>>>     aggregate_type = max
>>>>>>>>>>>>>>>>>>     aggregate_interval = 86400 # 1 day
>>>>>>>>>>>>>>>>>>     gapsize = 86400000 # 1 day in milliseconds
>>>>>>>>>>>>>>>>>>     
>>>>>>>>>>>>>>>>>>     [[chart3]]
>>>>>>>>>>>>>>>>>>         title = Regenx
>>>>>>>>>>>>>>>>>>         type = line
>>>>>>>>>>>>>>>>>>         aggregate_type=sum
>>>>>>>>>>>>>>>>>>         [[[rainTotal]]]
>>>>>>>>>>>>>>>>>>             name = Regen Total
>>>>>>>>>>>>>>>>>>         [[[rain]]]    
>>>>>>>>>>>>>>>>>>             yAxis = 1
>>>>>>>>>>>>>>>>>>             type = column
>>>>>>>>>>>>>>>>>>     
>>>>>>>>>>>>>>>>>> Live: 
>>>>>>>>>>>>>>>>>> https://affolter.familyds.net/wetter/graphs/?graph=month
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/94f9428d-2f22-43be-89b2-41b5fe891896o%40googlegroups.com.

Reply via email to