Hello Gary!

Thanks for the quick follow-up, it allowed me to make a test and confirm i 
can generate my past weeks, with a simple wrapper script. i manage the 
naming with the HTML_ROOT directory name so each generation goes into it's 
own directory (I'm embedding the PNGs in a different HTML context (not the 
reports per se) so it works for me.)

A little follow-up question: is there a way to generate arbitrary length 
graphs (ex: 5 days or 80 days). We run different experiments over various 
durations (and collect the sensor data in weewx, in addition to the weather 
data) it would be nice to be select specific periods to visualize the data 
adjusted to each experiment. Perusing the different template did not lead 
to explicit examples of other periods than day/week/month/year.

Thanks again,
Alex.

On Thursday, September 30, 2021 at 10:29:55 PM UTC-4 gjr80 wrote:

> Hi,
>
> 1 - yes
> 2 - no, well you can if it makes you feel better but it will have no 
> impact on wee_reports other than you possibly removing something that 
> wee_reports or its dependencies require. wee_reports loads a minimal 
> dummy engine that essentially does nothing so its not going to upset a 
> running WeeWX instance.
> 3 - yes if you want your wee_reports output to go elsewhere, eg not 
> overwrite your running WeeWX instance output if WeeWX and wee_reports are 
> going to generate some common output.
>
> You might be able to use day/month/year/week substitution in your template 
> name to automatically generate a uniquely named file, depends on exactly 
> what you are doing. In any case, if your template file name includes YYYY, 
> MM, DD or WW they will be replaced with four digit year, two digit month, 
> two digit day of month and two digit week of year number in the resulting 
> file name, eg my_templateYYYY.txt.tmpl would result in my_template2021.txt 
> being produced. No guarantees as I have not used this with wee_reports 
> but I don't see why it won't work.
>
> timestamp is a standard Unix epoch timestamp, eg 1633055346
>
> Gary
> On Friday, 1 October 2021 at 11:50:23 UTC+10 burton wrote:
>
>> hello!
>>
>> i want to generate historical weekly graphs for a year worth of data. as 
>> i understand from reading the docs and searching the forum, wee_reports 
>> with a timestamp and a custom weewx.conf will do that. i don't want to 
>> break the running config; can someone confirm these are the correct steps:
>>
>> 1) cp weewx.conf to weewx_archive.conf
>>
>> 2) make weewx_archive.conf barebones: i assume it should be made 
>> "passive" and read-only -- what is the strict minimum required [Engine] to 
>> generate reports?
>>
>> 3) change HTML_ROOT to point somewhere correlated with the timestamp
>>
>> is there something missing? 
>>
>> also: what is the command-line format for the timestamp?
>>
>> thanks!
>> alex.
>>
>>
>>
>>

-- 
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/0749d521-204b-416c-81f4-ecaf9b98ae95n%40googlegroups.com.

Reply via email to