OK. Let's have a look at those SLEs, perhaps one of those is having some 
unintended consequences on the NOAA templates. Looking at fuzzy-archer the 
NOAA templates appear on first glance to be identical to the WeeWX Standard 
skin NOAA templates. I see a historygenerator.py that contains a MyXSearch 
SLE but I don't see timeperiods.py nor a TimePeriod SLE. A few questions:

1. Did you modify the NOAA templates in any way? If so please post your 
modified templates.

2. Did you modify the historygenerator.MyXSearch SLE in any way? Again if 
so please post the modified copy.

3. What does the timeperiods.TimePeriod SLE do?

4. Are there any other templates being run in this skin or are the NOAA 
monthly and yearly templates the only ones? If there are others please post 
the whole skin.conf.

5. If no other templates what happens when you comment out the line 
starting search_list_extensions = and then delete all the NOAA format 
reports and wait for regeneration ?

Gary

On Friday, 21 June 2019 12:41:10 UTC+10, Mickael Hoareau wrote:
>
> Hi,
>
> Le vendredi 21 juin 2019 03:41:09 UTC+4, gjr80 a écrit :
>>
>>
>> What skin is generating the NOAA format reports? Standard? customised 
>> fuzzy-archer ?
>>
>
> It is the Bootstrap (fuzzy-archer) skin.
> In skins/Bootstrap/skin.conf, I have this :
>
> [CheetahGenerator]
>
>     # This section is used by the generator CheetahGenerator, and specifies
>     # which files are to be generated from which template.
>
>     encoding = html_entities    # Possible encodings are 'html_entities', 
> 'utf8', or 'strict_ascii'
>
>     search_list_extensions = user.historygenerator.MyXSearch, 
> user.timeperiods.TimePeriod
>
>     [[SummaryByMonth]]
>         #
>         # Reports that summarize "by month"
>         #
>         [[[NOAA_month]]]
>             encoding = strict_ascii
>             template = NOAA/NOAA-YYYY-MM.txt.tmpl
>
>     [[SummaryByYear]]
>         #
>         # Reports that summarize "by year"
>         #
>         [[[NOAA_year]]]
>             encoding = strict_ascii
>             template = NOAA/NOAA-YYYY.txt.tmpl
>
>  
>
>>
>> Did you delete all NOAA format files, not just a few or the last one but 
>> every single one on the WeeWX machine in the directory where the skin 
>> generates them (not somewhere where they may be copied).
>>
>  
> Yes, and I even tried to delete ALL the files from public_html repository 
> of weewx (on the raspberry pi running weewx), but the re-generated files 
> from the previous months came back in US units
>
> At first, I thought it was a bad data import : I recently had a SD card 
> crash on this Rasperry Pi, so I made another SD card and I imported a 
> backup of the database, but I don't see how this could be a problem since 
> the data are in correct unit format.
> I have some missing data to import for march and april, but I prefer to 
> resolve the current problem before.
>
> I love weewx (I'm using it for 4 years now and deployed it on more than 30 
> stations), but this time, I'm a little lost ^^
>
>

-- 
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/c6eded4a-fc20-4428-adbd-c1c9570a5fde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to