The ones under summarybyyear or summaryby month requires both year and month to be supplied I think. I want to supply only month and build historical records for the month across years . I want this to be done only at end of each month for current month or if files don't exist.
On Sun, 14 Aug, 2022, 02:34 gjr80, <[email protected]> wrote: > The behaviour you describe is inherent in reports named [[SummaryByMonth]] > and [[SummaryByYear]] ([[SummaryByDay]] can be used as well). Any > templates included under reports using these names (in any skin config > file) will be generated in the same manner. > > Gary > > On Sunday, 14 August 2022 at 00:37:43 UTC+10 [email protected] wrote: > >> >> The way the NOAA format reports are generated is the current month and >> year reports are generated every report cycle, past months (and years) >> reports are never generated (again) unless the report does not exist (ie >> you deleted it) *and* there are no reports for the subsequent months and >> years" >> >> Raking up an old thread. How is this done? I m looking to create some >> reports and have same requirement that i want only current month report to >> be generated. Others to be generated only if they don't exist already. >> On Thursday, 8 February 2018 at 20:35:06 UTC+5:30 [email protected] >> wrote: >> >>> FYI there are also three similar occurrences in the yearly NOAA template >>> .... >>> >>> >>> >>> >>> n Thursday, 8 February 2018 16:42:34 UTC+2, Tom Keffer wrote: >>> >>>> I'll have a closer look at that template, I would have thought there may >>>> have been a more robust way to achieve the same ends. >>>>> >>>>> >>>> Good sleuthing! >>>> >>>> Don't know why I chose 'barometer', because there is indeed a better >>>> way: do the check on dateTime, which is required for every record. So, it >>>> becomes: >>>> >>>> #if $day.dateTime.count.raw >>>> ... >>>> #end if >>>> >>>> >>>> Thanks for finding this, Gary >>>> >>>> -tk >>>> >>>> >>>> >>> -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/pN6KA5_N2S0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/abe67f2a-ed15-4f32-b501-63fd440853a4n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/abe67f2a-ed15-4f32-b501-63fd440853a4n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CA%2BW%3DTmUP8iiwuRuCfxqzdd3bbnt%2B_87v9UVYzxHcSiwSjYpFNw%40mail.gmail.com.
