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 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/abe67f2a-ed15-4f32-b501-63fd440853a4n%40googlegroups.com.
