Thanks. I have not forgotten this. I have looked through what you have 
provided and I cannot see anything that could be causing the problem. So as 
the next step I copied your fork and installed it on a VM here to see if I 
could reproduce problem. Unfortunately it all works fine for me, metric 
throughout all NOAA format reports. I even converted the test database to 
METRIC and same result. Can you confirm that the code/templates/config you 
are running on the problem machine is the same as your that committed in 
your fork?

One last thing, could you post a wee_debug report 
<http://weewx.com/docs/utilities.htm#wee_debug_utility>. Before posting the 
wee_debug output check it for any sensitive info such as passwords, user 
names, api keys etc, it does a good job at hiding these but it is not 
perfect.

Gary

On Friday, 21 June 2019 20:44:40 UTC+10, Mickael Hoareau wrote:
>
> I did attach the monthly reports (not modified) by error.
> Here the yearly customized report.
>
>
> Le vendredi 21 juin 2019 14:42:42 UTC+4, Mickael Hoareau a écrit :
>>
>>
>>
>> Le vendredi 21 juin 2019 08:08:28 UTC+4, gjr80 a écrit :
>>>
>>> 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.
>>>
>> I did not modify the monthly reports for NOAA templates.
>>
>> But I did modify the yearly reports to add more infos on rain 
>> accumulation.
>> The modified file is joined to this message
>>  
>>
>>>
>>> 2. Did you modify the historygenerator.MyXSearch SLE in any way? Again 
>>> if so please post the modified copy.
>>>
>> No, I didn't modify it, but I use an older version you can here : 
>> https://github.com/mhoareau/fuzzy-archer/tree/meteor-oi/bin/user (I'v 
>> forked the original repository) 
>>
>>
>>> 3. What does the timeperiods.TimePeriod SLE do?
>>>
>> It creates customized timespan used on this page for rain accumulation : 
>> http://stations.meteor-oi.re/ESH555/stats.html
>> You can find the code here : 
>> https://github.com/mhoareau/fuzzy-archer/blob/meteor-oi/bin/user/timeperiods.py
>>  
>> (sorry for the wrong author info at the start of the file, bad copy-paste 
>> habit, I will modify that)
>>  
>>
>>>
>>> 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.
>>>
>> Yes, there is other templates. I attached the whole skin.conf file in 
>> this post.
>>
>>
>>> 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 ?
>>>
>> There is other templates, so I cannot try it "as is".
>> I will try to desactivate all other templates and only generate NOAA 
>> reports.
>>
>>
>> I did try to delete another time all generated files, just in case I 
>> didn't do it right the last time, I regenerated them, but no luck.
>> New files appeared in public_html/, other templates genetated files in 
>> metrics units (including NOAA report for current month and current year), 
>> but all the NOAA reports from previous months and previous years are in US 
>> units. :-/
>>
>> Thanks for trying to help me :)
>>
>>
>>

-- 
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/197726c2-ad47-4af1-afed-ca9a9c045981%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to