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/ce692e9d-9d95-4a6b-a921-352d97b94739n%40googlegroups.com.

Reply via email to