Hi Lewis,

Nice add-on to Belchertown skin you are working on. When finished would you 
consider sharing this add-on?
The code you are looking for is in belchertwown.py: 
https://github.com/poblabs/weewx-belchertown/blob/master/bin/user/belchertown.py
 and 
is part of the search list extension. Look for "Build the all time stats." 
in this file.

Regards, Arend

Op vrijdag 23 oktober 2020 om 09:48:46 UTC+2 schreef [email protected]:

> Ok so for my add-on question, I found the "records-header" classes in the 
> style.css file. So all good there.
>
>  But still none the wiser on the tags that are actually arrays.
>
> Lewis
>
> On Thursday, 22 October 2020 at 23:16:10 UTC+1 Lewis McCallum wrote:
>
>> Hi all,
>>
>> So I'm loving the Belchertown skin, but thought the "Records" section of 
>> the template a bit sparse, and I've been trying to extend it to hold lots 
>> of info.
>>
>> I know that you can add to reports.inc and reports-table.inc but what I'm 
>> doing is more of a complete rework of the table building index.html 
>> template. 
>>
>> It's going OK so far, but I'm a bit stuck on extending the "Rainiest day" 
>> and "days with/without rain" record to shorter timescales. Also min and max 
>> temp range.
>>
>> I'm having difficulties because the built-in tags for calculating these 
>> don't seem to be standard weewx observation/tag names.
>>
>> Does anyone know anything about the following tags:
>>
>> $year_outTemp_range_max (appears to be an array)
>>
>> $rainiest_day (also an array?)
>>
>> $year_days_without_rain (actually all of these are arrays)
>>
>>
>> I can't find anything about what these are/where they came from/how they 
>> are used. Can anyone lend a hand to help me get and use the shorter 
>> time_length versions of these?
>>
>> for context - meikleobney.net/records (to give an idea of what I'm 
>> trying to do)
>>
>> Also while I'm at it, where are the "record-header-*" tags defined? I'd 
>> like to add some more.
>>
>> Cheers and sorry if dumb questions,
>>
>>
>> Lewis
>>
>>
>> PS: Deb installed weewx on RPi
>>
>>  
>>
>

-- 
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/55ed49be-8419-4ee2-b01b-feea8cae3a72n%40googlegroups.com.

Reply via email to