Believe me, It worked with the same settings as know.

I removed the select option from index.html because it was still the same 
story.

Find attached index.html and skin.conf

Il giorno giovedì 12 ottobre 2017 15:56:40 UTC+2, Tom Keffer ha scritto:
>
> I found the website where the dropdown list is located. We could have 
> solved this faster if you had posted its location. 
> http://www.meteopineto.it/info.html
>
> The problem is that the page where the dropdown list is located was not 
> generated by the skin.conf file, so it has no knowledge of what months were 
> generated. There is no magic here where the Javascript has some knowledge 
> about what files are available.
>
> Put the dropdown list in the "Oggi" page, 
> http://www.meteopineto.it/index.html, and I suspect all will be well.
>
> I doubt it ever worked.
>
> -tk
>
> On Thu, Oct 12, 2017 at 5:40 AM, Mauro De Lauretis <[email protected] 
> <javascript:>> wrote:
>
>> @Andrew: yes, there is a reason. I wrongly copied twice the same line.
>>
>> @Tom:
>>
>> 1) That's what I have in my weewx.conf:
>>
>> # Where the generated reports should go, relative to WEEWX_ROOT
>>     HTML_ROOT = public_html
>>
>> I did not rember that if I changed it on myself..
>>
>> 2) in my index.html the > <select> option is still the original one, but 
>> javascript does not work. My orginal tables are on: 
>> http://www.meteopineto.it/NOAA/NOAA-2017.txt (example).
>>
>> 3) It is very strange, I never changed something, but only included the 
>> forecast extension.
>>
>>
>>
>> Greetings
>>
>>
>> Il giorno giovedì 12 ottobre 2017 13:43:27 UTC+2, Tom Keffer ha scritto:
>>>
>>> For the most part, this looks normal, although you did not post from the 
>>> startup of weewx, so we cannot see all the configuration information. 
>>>
>>> Things to try:
>>>
>>>    - HTML files are being put in /etc/weewx/public_html, which is a 
>>>    non-standard location. Did you change this in weewx.conf?
>>>    - You say the problem is that the NOAA dropdown is not populated any 
>>>    longer. If you look inside the generated file, index.html, do you see 
>>> any 
>>>    options in the <select> list? Can you either post the generated file, or 
>>>    point us to a website that displays it?
>>>    - There are a lot of non-standard things in your template and in 
>>>    your skin.conf file, so it's very hard to diagnose. You may have to pare 
>>>    things down to the minimum to see where the problem is.
>>>
>>> Regards,
>>>
>>> -tk
>>>
>>> On Thu, Oct 12, 2017 at 3:39 AM, Andrew Milner <[email protected]> 
>>> wrote:
>>>
>>>> Is there a reason why the log file repeats itself - the entries from 
>>>> 12:05:16 - 12:05:18 appear to be duplicated
>>>>
>>>>
>>>>
>>>>  
>>>> On Thursday, 12 October 2017 13:09:02 UTC+3, Mauro De Lauretis wrote:
>>>>
>>>>> Following my log file as requested:
>>>>>
>>>>> *Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Loading service 
>>>>> weewx.engine.StdArchive*
>>>>> *Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Archive will use 
>>>>> data binding wx_binding*
>>>>> *Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Record generation 
>>>>> will be attempted in 'hardware'*
>>>>> *Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Using archive 
>>>>> interval of 300 seconds (specified by hardware)*
>>>>> *Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Use LOOP data in 
>>>>> hi/low calculations: 1*
>>>>> *Oct 12 12:03:10 raspberrypi weewx[26450]: manager: Daily summary 
>>>>> version is 1.0*
>>>>> *Oct 12 12:03:10 raspberrypi weewx[26450]: engine: Using binding 
>>>>> 'wx_binding' to database 'weewx'*
>>>>> *Oct 12 12:03:10 raspberrypi weewx[26450]: manager: Starting backfill 
>>>>> of daily summaries*
>>>>> *Oct 12 12:03:10 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service weewx.engine.StdArchive*
>>>>> *Oct 12 12:03:10 raspberrypi weewx[26450]: engine: Loading service 
>>>>> user.forecast.ZambrettiForecast*
>>>>> *Oct 12 12:03:15 raspberrypi weewx[26450]: forecast: MainThread: 
>>>>> Zambretti: forecast version 3.2.14*
>>>>> *Oct 12 12:03:15 raspberrypi weewx[26450]: forecast: MainThread: 
>>>>> Zambretti: last forecast issued 2017-10-12 09:00:00 CEST (1507791600), 
>>>>> requested 2017-10-12 09:00:00 CEST (1507791600)*
>>>>> *Oct 12 12:03:15 raspberrypi weewx[26450]: forecast: MainThread: 
>>>>> Zambretti: interval=600 max_age=604800 winddir_period=1800 
>>>>> pressure_period=10800 hemisphere=NORTH lower_pressure=950.0 
>>>>> upper_pressure=1050.0*
>>>>> *Oct 12 12:03:15 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service user.forecast.ZambrettiForecast*
>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: engine: Loading service 
>>>>> user.forecast.NWSForecast*
>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: NWS: 
>>>>> forecast version 3.2.14*
>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: NWS: 
>>>>> location ID (lid) is not specified*
>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: NWS: 
>>>>> forecast office ID (foid) is not specified*
>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: NWS: 
>>>>> forecast will not be run*
>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service user.forecast.NWSForecast*
>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: engine: Loading service 
>>>>> user.forecast.WUForecast*
>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: WU: 
>>>>> forecast version 3.2.14*
>>>>> *Oct 12 12:03:17 raspberrypi weewx[26450]: forecast: MainThread: WU: 
>>>>> last forecast issued 2017-10-12 09:05:18 CEST (1507791918), requested 
>>>>> 2017-10-12 09:05:18 CEST (1507791918)*
>>>>> *Oct 12 12:03:17 raspberrypi weewx[26450]: forecast: MainThread: WU: 
>>>>> interval=10800 max_age=604800 api_key=XXXXXXXXXXXXc450 
>>>>> location=42.63468170,14.04046631 fc=hourly10day*
>>>>> *Oct 12 12:03:17 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service user.forecast.WUForecast*
>>>>> *Oct 12 12:03:17 raspberrypi weewx[26450]: engine: Loading service 
>>>>> user.forecast.OWMForecast*
>>>>> *Oct 12 12:03:17 raspberrypi weewx[26450]: forecast: MainThread: OWM: 
>>>>> forecast version 3.2.14*
>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: OWM: 
>>>>> API key (api_key) is not specified*
>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: OWM: 
>>>>> forecast will not be run*
>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service user.forecast.OWMForecast*
>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: engine: Loading service 
>>>>> user.forecast.UKMOForecast*
>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: UKMO: 
>>>>> forecast version 3.2.14*
>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: UKMO: 
>>>>> API key (api_key) is not specified*
>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: UKMO: 
>>>>> location is not specified*
>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: UKMO: 
>>>>> forecast will not be run*
>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service user.forecast.UKMOForecast*
>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: engine: Loading service 
>>>>> user.forecast.AerisForecast*
>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: 
>>>>> Aeris: forecast version 3.2.14*
>>>>> *Oct 12 12:03:19 raspberrypi weewx[26450]: forecast: MainThread: 
>>>>> Aeris: client identifier (client_id) is not specified*
>>>>> *Oct 12 12:03:19 raspberrypi weewx[26450]: forecast: MainThread: 
>>>>> Aeris: client secret (client_secret) is not specified*
>>>>> *Oct 12 12:03:19 raspberrypi weewx[26450]: forecast: MainThread: 
>>>>> Aeris: forecast will not be run*
>>>>> *Oct 12 12:03:19 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service user.forecast.AerisForecast*
>>>>> *Oct 12 12:03:19 raspberrypi weewx[26450]: engine: Loading service 
>>>>> user.forecast.WWOForecast*
>>>>> *Oct 12 12:03:19 raspberrypi weewx[26450]: forecast: MainThread: WWO: 
>>>>> forecast version 3.2.14*
>>>>> *Oct 12 12:03:20 raspberrypi weewx[26450]: forecast: MainThread: WWO: 
>>>>> API key (api_key) is not specified*
>>>>> *Oct 12 12:03:20 raspberrypi weewx[26450]: forecast: MainThread: WWO: 
>>>>> forecast will not be run*
>>>>> *Oct 12 12:03:20 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service user.forecast.WWOForecast*
>>>>> *Oct 12 12:03:20 raspberrypi weewx[26450]: engine: Loading service 
>>>>> user.forecast.XTideForecast*
>>>>> *Oct 12 12:03:20 raspberrypi weewx[26450]: forecast: MainThread: 
>>>>> XTide: forecast version 3.2.14*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: forecast: MainThread: 
>>>>> XTide: location (location) has not been specified*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: forecast: MainThread: 
>>>>> XTide: forecast will not be run*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service user.forecast.XTideForecast*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service 
>>>>> weewx.restx.StdStationRegistry*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: restx: StationRegistry: 
>>>>> Station will be registered.*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service weewx.restx.StdStationRegistry*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service 
>>>>> weewx.restx.StdWunderground*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: restx: Wunderground-RF: 
>>>>> Data for station IABRUZZO65 will be posted*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service weewx.restx.StdWunderground*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service 
>>>>> weewx.restx.StdPWSweather*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: restx: PWSweather: Posting 
>>>>> not enabled.*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service weewx.restx.StdPWSweather*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service 
>>>>> weewx.restx.StdCWOP*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: restx: CWOP: Posting not 
>>>>> enabled.*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service weewx.restx.StdCWOP*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service 
>>>>> weewx.restx.StdWOW*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: restx: WOW: Posting not 
>>>>> enabled.*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service weewx.restx.StdWOW*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service 
>>>>> weewx.restx.StdAWEKAS*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: restx: AWEKAS: Posting not 
>>>>> enabled.*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service weewx.restx.StdAWEKAS*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service 
>>>>> weewx.engine.StdPrint*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service weewx.engine.StdPrint*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service 
>>>>> weewx.engine.StdReport*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading 
>>>>> service weewx.engine.StdReport*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Starting up weewx 
>>>>> version 3.7.1*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: gentle wake up of 
>>>>> console successful*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Clock error is 
>>>>> -0.50 seconds (positive is fast)*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: Getting archive 
>>>>> packets since 2017-10-12 12:00:00 CEST (1507802400)*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: gentle wake up of 
>>>>> console successful*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: manager: Daily summary 
>>>>> version is 1.0*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: Retrieving 0 
>>>>> page(s); starting index= 0*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Starting main 
>>>>> packet loop.*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: gentle wake up of 
>>>>> console successful*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: Requesting 200 
>>>>> LOOP packets.*
>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: gentle wake up of 
>>>>> console successful*
>>>>> *Oct 12 12:05:15 raspberrypi weewx[26450]: vantage: Retrieving 1 
>>>>> page(s); starting index= 2*
>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: manager: Added record 
>>>>> 2017-10-12 12:05:00 CEST (1507802700) to database 'weewx'*
>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: manager: Added record 
>>>>> 2017-10-12 12:05:00 CEST (1507802700) to daily summary in 'weewx'*
>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: MainThread: 
>>>>> Zambretti: starting thread*
>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: MainThread: WU: 
>>>>> not yet time to do the forecast*
>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: generating forecast for 2017-10-12 09:00:00 CEST (1507791600)*
>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: using winddir from 2017-10-12 08:30:00 CEST (1507789800) to 
>>>>> 2017-10-12 09:00:00 CEST (1507791600)*
>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: using pressure from 2017-10-12 06:00:00 CEST (1507780800) to 
>>>>> 2017-10-12 09:00:00 CEST (1507791600)*
>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: vantage: DMPAFT complete: 
>>>>> page timestamp 2017-10-03 14:50:00 CEST (1507035000) less than final 
>>>>> timestamp 2017-10-12 12:05:00 CEST (1507802700)*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: Catch up complete.*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: reportengine: Running 
>>>>> reports for latest time in the database.*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: reportengine: Running 
>>>>> report StandardReport*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: Requesting 200 
>>>>> LOOP packets.*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: manager: Daily summary 
>>>>> version is 1.0*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: gentle wake up of 
>>>>> console successful*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: units=16 winddir=224.444850458 pressure=1021.98265865 
>>>>> first_p=1021.50398811 last_p=1021.50398811*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: pressure=1021.98265865 month=9 winddir=9 trend=0.0 north=True*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: code is E*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: generated 1 forecast record*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: saving 1 forecast records*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: manager: Added record 
>>>>> 2017-10-12 12:05:00 CEST (1507802700) to database 'forecast'*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: saved 1 forecast records*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: deleting forecasts prior to 1507197917*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: restx: StationRegistry: 
>>>>> Failed to publish record 2017-10-12 12:05:00 CEST (1507802700): FAIL: 
>>>>> execute failed: database disk image is malformed*
>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: reportengine: Found 
>>>>> configuration file /etc/weewx/skins/Standard/skin.conf for report 
>>>>> StandardReport*
>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: cheetahgenerator: using 
>>>>> search list ['weewx.cheetahgenerator.Almanac', 
>>>>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
>>>>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
>>>>> 'weewx.cheetahgenerator.Extras', 'user.stats.MyStats', 
>>>>> 'user.forecast.ForecastVariables']*
>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: manager: Daily summary 
>>>>> version is 1.0*
>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: deleted forecasts prior to 1507197917*
>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: terminating thread*
>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: using winddir from 2017-10-12 08:30:00 CEST (1507789800) to 
>>>>> 2017-10-12 09:00:00 CEST (1507791600)*
>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: using pressure from 2017-10-12 06:00:00 CEST (1507780800) to 
>>>>> 2017-10-12 09:00:00 CEST (1507791600)*
>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: vantage: DMPAFT complete: 
>>>>> page timestamp 2017-10-03 14:50:00 CEST (1507035000) less than final 
>>>>> timestamp 2017-10-12 12:05:00 CEST (1507802700)*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: Catch up complete.*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: reportengine: Running 
>>>>> reports for latest time in the database.*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: reportengine: Running 
>>>>> report StandardReport*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: Requesting 200 
>>>>> LOOP packets.*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: manager: Daily summary 
>>>>> version is 1.0*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: gentle wake up of 
>>>>> console successful*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: units=16 winddir=224.444850458 pressure=1021.98265865 
>>>>> first_p=1021.50398811 last_p=1021.50398811*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: pressure=1021.98265865 month=9 winddir=9 trend=0.0 north=True*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: code is E*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: generated 1 forecast record*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: saving 1 forecast records*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: manager: Added record 
>>>>> 2017-10-12 12:05:00 CEST (1507802700) to database 'forecast'*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: saved 1 forecast records*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: deleting forecasts prior to 1507197917*
>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: restx: StationRegistry: 
>>>>> Failed to publish record 2017-10-12 12:05:00 CEST (1507802700): FAIL: 
>>>>> execute failed: database disk image is malformed*
>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: reportengine: Found 
>>>>> configuration file /etc/weewx/skins/Standard/skin.conf for report 
>>>>> StandardReport*
>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: cheetahgenerator: using 
>>>>> search list ['weewx.cheetahgenerator.Almanac', 
>>>>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
>>>>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
>>>>> 'weewx.cheetahgenerator.Extras', 'user.stats.MyStats', 
>>>>> 'user.forecast.ForecastVariables']*
>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: manager: Daily summary 
>>>>> version is 1.0*
>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: deleted forecasts prior to 1507197917*
>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: forecast: ZambrettiThread: 
>>>>> Zambretti: terminating thread*
>>>>> *Oct 12 12:06:22 raspberrypi weewx[26450]: cheetahgenerator: Generated 
>>>>> 9 files for report StandardReport in 64.23 seconds*
>>>>> *Oct 12 12:06:22 raspberrypi weewx[26450]: manager: Daily summary 
>>>>> version is 1.0*
>>>>> *Oct 12 12:06:31 raspberrypi weewx[26450]: imagegenerator: Generated 
>>>>> 12 images for StandardReport in 9.17 seconds*
>>>>> *Oct 12 12:06:32 raspberrypi weewx[26450]: copygenerator: copied 86 
>>>>> files to /etc/weewx/public_html*
>>>>> *Oct 12 12:06:32 raspberrypi weewx[26450]: reportengine: Running 
>>>>> report forecast*
>>>>> *Oct 12 12:06:32 raspberrypi weewx[26450]: reportengine: Found 
>>>>> configuration file /etc/weewx/skins/forecast/skin.conf for report 
>>>>> forecast*
>>>>> *Oct 12 12:06:32 raspberrypi weewx[26450]: cheetahgenerator: using 
>>>>> search list ['weewx.cheetahgenerator.Almanac', 
>>>>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
>>>>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
>>>>> 'weewx.cheetahgenerator.Extras', 'user.forecast.ForecastVariables']*
>>>>> *Oct 12 12:06:32 raspberrypi weewx[26450]: manager: Daily summary 
>>>>> version is 1.0*
>>>>> *Oct 12 12:06:32 raspberrypi weewx[26450]: cheetahgenerator: Generated 
>>>>> 0 files for report forecast in 0.11 seconds*
>>>>> *Oct 12 12:06:34 raspberrypi dhcpcd[407]: eth0: Router Advertisement 
>>>>> from fe80::9e97:26ff:fe62:7e7a*
>>>>> *Oct 12 12:06:34 raspberrypi weewx[26450]: copygenerator: copied 87 
>>>>> files to /etc/weewx/public_html/forecast*
>>>>> *Oct 12 12:06:34 raspberrypi weewx[26450]: reportengine: Running 
>>>>> report FTP*
>>>>> *Oct 12 12:06:34 raspberrypi weewx[26450]: reportengine: Found 
>>>>> configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP*
>>>>> *Oct 12 12:06:34 raspberrypi weewx[26450]: ftpupload: Attempting 
>>>>> connection to ftp.meteopineto.it <http://ftp.meteopineto.it>*
>>>>>
>>>>> Il giorno mercoledì 11 ottobre 2017 15:10:18 UTC+2, Tom Keffer ha 
>>>>> scritto:
>>>>>>
>>>>>> Well, perhaps the error was caused by copying from the RPi to Windows.
>>>>>>
>>>>>> In any case, we still have not seen a log file. Set debug=1, restart 
>>>>>> weewx, then post the log from startup to the first report generation.
>>>>>>
>>>>>> -tk
>>>>>>
>>>>>> On Wed, Oct 11, 2017 at 5:52 AM, Mauro De Lauretis <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Thanks for your reply Tom, I will have a look at it as soon as I 
>>>>>>> can, but It seems strange because I didn't get the error you posted me,
>>>>>>>
>>>>>>>
>>>>>>> Il giorno martedì 10 ottobre 2017 14:19:35 UTC+2, Tom Keffer ha 
>>>>>>> scritto:
>>>>>>>>
>>>>>>>> When I try your template (renamed as index.html.tmpl) and your skin 
>>>>>>>> configuration (renamed as skin.conf), I get this error:
>>>>>>>>
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: cheetahgenerator: Generate 
>>>>>>>> failed with exception '<type 'exceptions.UnicodeDecodeError'>'
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: cheetahgenerator: **** 
>>>>>>>> Ignoring template /home/weewx/skins/Standard/index.html.tmpl
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: cheetahgenerator: **** 
>>>>>>>> Reason: 'utf8' codec can't decode byte 0xe0 in position 12436: invalid 
>>>>>>>> continuation byte
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****  Traceback (most 
>>>>>>>> recent call last):
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****    File 
>>>>>>>> "/home/weewx/bin/weewx/cheetahgenerator.py", line 327, in generate
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****      
>>>>>>>> filtersLib=weewx.cheetahgenerator)
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****    File 
>>>>>>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in 
>>>>>>>> __init__
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****      
>>>>>>>> self._compile(source, file, compilerSettings=compilerSettings)
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****    File 
>>>>>>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1553, in 
>>>>>>>> _compile
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****      
>>>>>>>> keepRefToGeneratedCode=True)
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****    File 
>>>>>>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 740, in 
>>>>>>>> compile
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****      
>>>>>>>> settings=(compilerSettings or {}))
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****    File 
>>>>>>>> "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line 1577, in 
>>>>>>>> __init__
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****      source = 
>>>>>>>> source.decode(encoding)
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****    File 
>>>>>>>> "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****      return 
>>>>>>>> codecs.utf_8_decode(input, errors, True)
>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: ****  UnicodeDecodeError: 
>>>>>>>> 'utf8' codec can't decode byte 0xe0 in position 12436: invalid 
>>>>>>>> continuation 
>>>>>>>> byte
>>>>>>>>
>>>>>>>> These errors can be difficult to find. You'll have to go through 
>>>>>>>> your file index.html.tmpl carefully,  By deleting parts of the file, 
>>>>>>>> the 
>>>>>>>> bad UTF-8 characters appears to be in the line
>>>>>>>>
>>>>>>>> <i><b>Nota:</b> Le immagini sono riprese e trasmesse ad una 
>>>>>>>> distanza tale da non permettere il riconoscimento dei tratti somatici 
>>>>>>>> delle 
>>>>>>>> persone, così come previsto dalla vigente normativa sulla privacy.</i>
>>>>>>>>
>>>>>>>> but I cannot be sure. There are a lot of scripts, styles, and 
>>>>>>>> classes that I don't recognize in your report, so I'm afraid I cannot 
>>>>>>>> help 
>>>>>>>> you much.
>>>>>>>>
>>>>>>>> -tk
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Oct 10, 2017 at 4:00 AM, Mauro De Lauretis <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> What kind of bad character did you mean?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Il giorno martedì 22 agosto 2017 16:13:20 UTC+2, Tom Keffer ha 
>>>>>>>>> scritto:
>>>>>>>>>>
>>>>>>>>>> It's hard to do an evaluation without a log file.
>>>>>>>>>>
>>>>>>>>>> The file you included, index.txt, has a bad character in it that 
>>>>>>>>>> does not encode with UTF-8. That could be the problem, but it's hard 
>>>>>>>>>> to 
>>>>>>>>>> tell without the log.
>>>>>>>>>>
>>>>>>>>>> Also, why is it named index.txt instead of index.html.tmpl?
>>>>>>>>>>
>>>>>>>>>> -tk
>>>>>>>>>>
>>>>>>>>>> On Tue, Aug 22, 2017 at 1:51 AM, Mauro De Lauretis <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Up!
>>>>>>>>>>>
>>>>>>>>>>> Nobody can help me to find a solution?
>>>>>>>>>>>
>>>>>>>>>>> -- 
>>>>>>>>>>> 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].
>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>>>> 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].
>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>> 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].
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>> -- 
>>>> 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].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Attachment: index.html.tmpl
Description: Binary data

###############################################################################
# $Id: skin.conf 2749 2014-11-29 18:15:24Z tkeffer $                          #
# Copyright (c) 2010 Tom Keffer <[email protected]>                           #
# SOFA SKIN (c) 2015 Sven Reifschneider <[email protected]>            #
# SOFA SKIN CONFIGURATION FILE                                                #
###############################################################################

[Extras]
    # Template Extras

    # Current radar image
    radar_img = 
http://www.protezionecivile.gov.it/images/rete_radar/VMI/VMI.JPEG
    # Hyperlink for radar
    radar_url = http://www.protezionecivile.gov.it/jcms/it/mappa_radar.wp

    # Lightning map and hyperlink
    lightning_map = http://images.blitzortung.org/Images/image_b_fr.png?
    lightning_url = 
http://www.blitzortung.org/Webpages/index.php?lang=en&page_0=13

    # URL for another radar (for example full Europe, Frankfurt center)
    radar_url_alt = 
http://meteox.com/meteox-maps.aspx?a=1&z=7&lat=50.1109221&lon=8.682126700000026
    radar_url_alt_text = "Meteox Europe Radar"

    # You. Only shows up in footer
    you = "Mauro De Lauretis"
    
    # Google Analytics ID
    googleAnalyticsId = UA-9790241-5

    [[forecast_table_settings]]
        forecast_source = WU
        num_periods = 84
    
###############################################################################

[Units]
    # This section is for managing the selection and formatting of units.
    
    [[Groups]]
        # For each group of measurements, this section sets what units to
        # use for it.
        # NB: The unit is always in the singular. I.e., 'mile_per_hour',
        # NOT 'miles_per_hour'
        group_altitude     = meter                # Options are 'foot' or 
'meter'
        group_degree_day   = degree_C_day         # Options are 'degree_F_day' 
or 'degree_C_day'
        group_direction    = degree_compass
        group_moisture     = centibar
        group_percent      = percent
        group_pressure     = hPa                  # Options are 'inHg', 'mmHg', 
'mbar', or 'hPa'
        group_radiation    = watt_per_meter_squared
        group_rain         = mm                   # Options are 'inch', 'cm', 
or 'mm'
        group_rainrate     = mm_per_hour          # Options are 
'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
        group_speed        = km_per_hour          # Options are 
'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
        group_speed2       = km_per_hour2         # Options are 
'mile_per_hour2', 'km_per_hour2', 'knot2', or 'meter_per_second2'
        group_temperature  = degree_C             # Options are 'degree_F' or 
'degree_C'
        group_uv           = uv_index
        group_volt         = volt

        # The following are used internally and should not be changed:
        group_count        = count
        group_interval     = minute
        group_time         = unix_epoch
        group_elapsed      = second

    [[StringFormats]]
        # This section sets the string formatting for each type of unit.
        centibar           = %.0f
        cm                 = %.2f
        cm_per_hour        = %.2f
        degree_C           = %.1f
        degree_F           = %.1f
        degree_compass     = %.0f
        foot               = %.0f
        hPa                = %.1f
        hour               = %.1f
        inHg               = %.3f
        inch               = %.2f
        inch_per_hour      = %.2f
        km_per_hour        = %.0f
        km_per_hour2       = %.1f
        knot               = %.0f
        knot2              = %.1f
        mbar               = %.0f
        meter              = %.0f
        meter_per_second   = %.1f
        meter_per_second2  = %.1f
        mile_per_hour      = %.0f
        mile_per_hour2     = %.1f
        mm                 = %.1f
        mmHg               = %.1f
        mm_per_hour        = %.1f
        percent            = %.0f
        second             = %.0f
        uv_index           = %.0f
        volt               = %.1f
        watt_per_meter_squared = %.0f
        NONE               = "   N/D"

    [[Labels]]
        # This section sets a label to be used for each type of unit.
        centibar          = " cb"
        cm                = " cm"
        cm_per_hour       = " cm/h"
        degree_C          =   °C
        degree_F          =   °F
        degree_compass    =   °
        foot              = " feet"
        hPa               = " hPa"
        inHg              = " inHg"
        inch              = " in"
        inch_per_hour     = " in/h"
        km_per_hour       = " km/h"
        km_per_hour2      = " km/h"
        knot              = " knoten"
        knot2             = " knoten"
        mbar              = " mbar"
        meter             = " metri"
        meter_per_second  = " m/s"
        meter_per_second2 = " m/s"
        mile_per_hour     = " mph"
        mile_per_hour2    = " mph"
        mm                = " mm"
        mmHg              = " mmHg"
        mm_per_hour       = " mm/h"
        percent           =   %
        volt              = " V"
        watt_per_meter_squared = " W/m²"
        day               = " giorno",    " giorni"
        hour              = " ora",   " ore"
        minute            = " minuto", " minuti"
        second            = " secondo", " secondi"
        NONE              = ""
        
    [[TimeFormats]]
        # This section sets the string format to be used for each time scale.
        # The values below will work in every locale, but may not look
        # particularly attractive. See the Customizing Guide for alternatives.

        day        = %H:%M
        week       = %H:%M (%A)
        month      = %d %B
        year       = %d %B %H:%M
        rainyear   = %d %B %H:%M
        current    = %x %X
        ephem_day  = %H:%M
        ephem_year = %d %B %H:%M
        
    [[Ordinates]]    
        # The ordinal directions. The last one should be for no wind direction
        directions = N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSO, SO, OSO, O, ONO, 
NO, NNO, N/D 

    [[DegreeDays]]
        # This section sets the base temperatures used for the calculation
        # of heating and cooling degree-days.
                
        # Base temperature for heating days, with unit:
        heating_base = 20, degree_C
        # Base temperature for cooling days, with unit:
        cooling_base = 20, degree_C

    [[Trend]]
        time_delta = 10800  # 3 hours
        time_grace = 300    # 5 minutes 
        
###############################################################################

[Labels]
    # Labels used in this skin
    # Set to hemisphere abbreviations suitable for your location: 
    hemispheres = N, S, E, O
    # Formats to be used for latitude whole degrees, longitude whole degrees,
    # and minutes:
    latlon_formats = "%02d", "%03d", "%05.2f"

    [[Generic]]
        # Generic labels, keyed by an observation type.
        barometer      = Pressione relativa
        pressure       = Pressione assoluta
        dewpoint       = Punto di Rugiada
        heatindex      = Indice di Calore
        inHumidity     = Umidità Interna
        inTemp         = Temperatura Interna
        outHumidity    = Umidità Esterna
        outTemp        = Temperatura
        radiation      = Radiazione
        rain           = Pioggia
        rainRate       = Rateo Pioggia
        rxCheckPercent = ISS Signal Quality
        UV             = UV Index
        windDir        = Direzione Vento
        windGust       = Velocità Raffica
        windGustDir    = Direzione Raffica
        windSpeed      = Velocità Vento
        windchill      = Wind Chill
        windgustvec    = Vettore Raffica
        windvec        = Vettore Vento
    
        # This one is probably specific to my station!
        extraTemp1     = Pond Temperature

###############################################################################

[Almanac]
    # The labels to be used for the phases of the moon:
    moon_phases = Luna nuova, Luna crescente, Primo quarto, Luna gibbosa 
crescente, Luna piena, Luna gibbosa calante, Ultimo quarto, Luna calante

###############################################################################

[CheetahGenerator]
    # This section is used by the generator CheetahGenerator, and specifies
    # which files are to be generated from which template.
    # Possible encodings are 'html_entities', 'utf8', or 'strict_ascii'
    encoding = html_entities
    search_list_extensions = user.stats.MyStats, user.forecast.ForecastVariables

    [[SummaryByMonth]]
        # Reports that summarize "by month"
        [[[NOAA_month]]]
            encoding = utf8
            template = NOAA/NOAA-YYYY-MM.txt.tmpl

    [[SummaryByYear]]
        # Reports that summarize "by year"
        [[[NOAA_year]]]
            encoding = utf8
            template = NOAA/NOAA-YYYY.txt.tmpl
        
    [[ToDate]]
        # Reports that show statistics "to date", such as day-to-date,
        # week-to-date, month-to-date, etc.
        [[[day]]]
            template = index.html.tmpl
        
        [[[week]]]
            template = week.html.tmpl
        
        [[[month]]]
            template = month.html.tmpl
        
        [[[year]]]
            template = year.html.tmpl
            
        [[[RSS]]]
            template = RSS/weewx_rss.xml.tmpl

        [[[LineaMeteo]]]
            template = data.txt.tmpl
    
###############################################################################

[CopyGenerator]
    # This section is used by the generator CopyGenerator

    # List of files to be copied only the first time the generator runs
    copy_once = css/main.css, js/*, .htaccess, 404.html, robots.txt, 
touch-icon.png, icons/*.png

###############################################################################

[ImageGenerator]
    
    # This section lists all the images to be generated, what SQL types are to
    # be included in them, along with many plotting options, such as color or
    # font. There's a default for almost everything, if not specified below.
    # Nevertheless, I have explicitly put in values, to make it easy to see
    # and understand the options.
    #
    # Fonts can be anything accepted by the Python Imaging Library (PIL), which
    # is currently truetype (.ttf), or PIL's own font format (.pil). See
    # http://www.pythonware.com/library/pil/handbook/imagefont.htm for more
    # details.  Note that "font size" is only used with truetype (.ttf)
    # fonts. For others, font size is determined by the bit-mapped size,
    # usually encoded in the file name (e.g., courB010.pil). If a font cannot
    # be found, then a default font will be used.
    #
    # Colors can be specified any of three ways:
    #   1. Notation 0xBBGGRR;
    #   2. Notation #RRGGBB; or
    #   3. Using an English name, such as 'yellow', or 'blue'.
    # So, 0xff0000, #0000ff, or 'blue' would all specify a pure blue color.
    
    image_width = 800
    image_height = 300
    image_background_color = 0xffffff
    
    chart_background_color = 0xffffff
    chart_gridline_color = 0xdbdbdb
    
    top_label_font_path = /usr/share/fonts/truetype/droid/DroidSans-Bold.ttf
    top_label_font_size = 15
    
    unit_label_font_path = /usr/share/fonts/truetype/droid/DroidSans-Bold.ttf
    unit_label_font_size = 13
    unit_label_font_color = 0x000000
    
    bottom_label_font_path = /usr/share/fonts/truetype/droid/DroidSans-Bold.ttf
    bottom_label_font_size = 12
    bottom_label_font_color = 0x000000
    
    axis_label_font_path = /usr/share/fonts/truetype/droid/DroidSans-Bold.ttf
    axis_label_font_size = 13
    axis_label_font_color = 0x000000
    
    # Options for the compass rose, used for progressive vector plots
    rose_label = N
    rose_label_font_path = /usr/share/fonts/truetype/droid/DroidSans-Bold.ttf
    rose_label_font_size  = 10
    rose_label_font_color = 0x000000

    # Default colors for the plot lines. These can be overridden for
    # individual lines using option 'color'
    chart_line_colors = 0xb48242, 0x4242b4, 0x42b442, 0x530053
    
        # Type of line. Only 'solid' or 'none' is offered now    
    line_type = 'solid'

    # Size of marker in pixels
    marker_size = 8
        # Type of marker. Pick one of 'cross', 'x', 'circle', 'box', or 'none'
    marker_type = 'none'
    
    # Default fill colors for bar charts. These can be overridden for
    # individual bar plots using option 'fill_color'
    chart_fill_colors = 0xc4b272, 0x7272c4, 0x72c472
        
    # The following option merits an explanation. The y-axis scale used for
    # plotting can be controlled using option 'yscale'. It is a 3-way tuple,
    # with values (ylow, yhigh, min_interval). If set to "None", a parameter is
    # set automatically, otherwise the value is used. However, in the case of
    # min_interval, what is set is the *minimum* y-axis tick interval. 
    yscale = None, None, None

    # For progressive vector plots, you can choose to rotate the vectors.
    # Positive is clockwise.
    # For my area, westerlies overwhelmingly predominate, so by rotating
    # positive 90 degrees, the average vector will point straight up.
    vector_rotate = 90

    # This defines what fraction of the difference between maximum and minimum
    # horizontal chart bounds is considered a gap in the samples and should not
    # be plotted.
    line_gap_fraction = 0.01
    bar_gap_fraction  = 0.20

    # This controls whether day/night bands will be shown. They only look good
    # on the day and week plots.
    show_daynight = true
    # These control the appearance of the bands if they are shown. 0xBBGGRR
    # Sofa Skin blue orange:
    # Night: #f0fdff  Day: #fefff0  Edge: #f0fffb
    daynight_day_color   = 0xf0fffe
    daynight_night_color = 0xfffdf0
    daynight_edge_color  = 0xfbfff0

    ## What follows is a list of subsections, each specifying a time span, such
    ## as a day, week, month, or year. There's nothing special about them or
    ## their names: it's just a convenient way to group plots with a time span
    ## in common. You could add a time span [[biweek_images]] and add the
    ## appropriate time length, aggregation strategy, etc., without changing
    ## any code.
    ##
    ## Within each time span, each sub-subsection is the name of a plot to be
    ## generated for that time span. The generated plot will be stored using
    ## that name, in whatever directory was specified by option 'HTML_ROOT'
    ## in weewx.conf.
    ##
    ## With one final nesting (four brackets!) is the sql type of each line to
    ## be included within that plot.
    ##
    ## Unless overridden, leaf nodes inherit options from their parent
    
    # Default plot and aggregation. Can get overridden at any level.
    plot_type = line
    aggregate_type = none
    width = 1
    time_length = 86400    # == 24 hours

    [[day_images]]
        x_label_format = %H:%M 
        bottom_label_format = %x %H:%M
        time_length = 97200    # == 27 hours
        
        [[[daybarometer]]]
            [[[[barometer]]]]
            [[[[pressure]]]]
        
        [[[daytemp]]]
            [[[[outTemp]]]]
            [[[[dewpoint]]]]
            [[[[heatindex]]]]
            [[[[windchill]]]]
        
        [[[dayhumidity]]]
            [[[[outHumidity]]]]
        
        [[[dayrain]]]
            # Make sure the y-axis increment is at least 0.02 for the rain plot
            yscale = None, None, 0.02
            plot_type = bar
            [[[[rain]]]]
                aggregate_type = sum
                aggregate_interval = 3600
                label = Pioggia (totale oraria)
                
        [[[dayrx]]]
            [[[[rxCheckPercent]]]]
        
        [[[daypond]]]
            yscale = None, None, 0.5
            [[[[extraTemp1]]]]
        
        [[[daywind]]]
            [[[[windSpeed]]]]
            [[[[windGust]]]]
        
        [[[dayinside]]]
            [[[[inTemp]]]]
        
        [[[daywinddir]]]
            # Hardwire in the y-axis scale for wind direction
            yscale = 0.0, 360.0, 45.0
            [[[[windDir]]]]
    
        [[[daywindvec]]]
            [[[[windvec]]]]
                plot_type = vector

        [[[dayradiation]]]
            [[[[radiation]]]]

        [[[dayuv]]]
            yscale = 0, 16, 1
            [[[[UV]]]]
            
    [[week_images]]
        x_label_format = %d
        bottom_label_format = %x %H:%M
        time_length = 604800    # == 7 days
        aggregate_type = avg
        aggregate_interval = 3600
        
        [[[weekbarometer]]]
            [[[[barometer]]]]
            [[[[pressure]]]]
        
        [[[weektemp]]]
            [[[[outTemp]]]]
            [[[[dewpoint]]]]
            [[[[heatindex]]]]
            [[[[windchill]]]]
        
        [[[weekhumidity]]]
            [[[[outHumidity]]]]
        
        [[[weekrain]]]
            yscale = None, None, 0.02
            plot_type = bar
            [[[[rain]]]]
                aggregate_type = sum
                aggregate_interval = 86400
                label = Pioggia (totale giornaliera)
        
        [[[weekpond]]]
            yscale = None, None, 0.5
            [[[[extraTemp1]]]]
        
        [[[weekrx]]]
            [[[[rxCheckPercent]]]]

        [[[weekwind]]]
            [[[[windSpeed]]]]
            [[[[windGust]]]]
                aggregate_type = max
        
        [[[weekinside]]]
            [[[[inTemp]]]]
        
        [[[weekwinddir]]]
            yscale = 0.0, 360.0, 45.0
            [[[[windDir]]]]
    
        [[[weekwindvec]]]
            [[[[windvec]]]]
                plot_type = vector

        [[[weekradiation]]]
            [[[[radiation]]]]

        [[[weekuv]]]
            yscale = 0, 16, 1
            [[[[UV]]]]

    [[month_images]]
        x_label_format = %d
        bottom_label_format = %x %H:%M
        time_length = 2592000    # == 30 days
        aggregate_type = avg
        aggregate_interval = 10800    # == 3 hours
        show_daynight = true
        
        [[[monthbarometer]]]
            [[[[barometer]]]]
            [[[[pressure]]]]
        
        [[[monthtemp]]]
            [[[[outTemp]]]]
            [[[[dewpoint]]]]
            [[[[heatindex]]]]
            [[[[windchill]]]]
        
        [[[monthhumidity]]]
            [[[[outHumidity]]]]
        
        [[[monthrain]]]
            yscale = None, None, 0.02
            plot_type = bar
            [[[[rain]]]]
                aggregate_type = sum
                aggregate_interval = 86400
                label = Pioggia (totale giornaliera)
        
        [[[monthpond]]]
            yscale = None, None, 0.5
            [[[[extraTemp1]]]]
        
        [[[monthrx]]]
            [[[[rxCheckPercent]]]]
        
        [[[monthwind]]]
            [[[[windSpeed]]]]
            [[[[windGust]]]]
                aggregate_type = max
        
        [[[monthinside]]]
            [[[[inTemp]]]]
        
        [[[monthwinddir]]]
            yscale = 0.0, 360.0, 45.0
            [[[[windDir]]]]
    
        [[[monthwindvec]]]
            [[[[windvec]]]]
                plot_type = vector

        [[[monthradiation]]]
            [[[[radiation]]]]
            
        [[[monthuv]]]
            yscale = 0, 16, 1
            [[[[UV]]]]

    [[year_images]]
        x_label_format = %m/%d
        bottom_label_format = %x %H:%M
        time_length = 31536000    # == 365 days
        aggregate_type = avg
        aggregate_interval = 86400
        show_daynight = true
        
        [[[yearbarometer]]]
            [[[[barometer]]]]
            [[[[pressure]]]]
        
        [[[yeartemp]]]
            [[[[outTemp]]]]
            [[[[dewpoint]]]]
            [[[[heatindex]]]]
            [[[[windchill]]]]

        [[[yearhumidity]]]
            [[[[outHumidity]]]]
        
        # Daily high/lows:
        [[[yearhilow]]]
            [[[[hi]]]]
                data_type = outTemp
                aggregate_type = max
                label = High
            [[[[low]]]]
                data_type = outTemp
                aggregate_type = min
                label = Low Temperature
                
        [[[yearwind]]]
            [[[[windSpeed]]]]
            [[[[windGust]]]]
                aggregate_type = max
        
        [[[yearrain]]]
            yscale = None, None, 0.02
            plot_type = bar
            [[[[rain]]]]
                aggregate_type = sum
                # aggregate_interval = 2629800 # Magic number: the length of a 
nominal month
                aggregate_interval = 604800    # == 1 week
                label = Pioggia (totale settimanale)
        
        [[[yearpond]]]
            yscale = None, None, 0.5
            [[[[extraTemp1]]]]
        
        [[[yearrx]]]
            [[[[rxCheckPercent]]]]
        
        [[[yearinside]]]
            [[[[inTemp]]]]
        
        [[[yearwinddir]]]
            yscale = 0.0, 360.0, 45.0
            [[[[windDir]]]]

        [[[yearwindvec]]]
            [[[[windvec]]]]
                plot_type = vector

        [[[yearradiation]]]
            [[[[radiation]]]]
            
        [[[yearuv]]]
            yscale = 0, 16, 1
            [[[[UV]]]]

###############################################################################

#
# The list of generators that are to be run:
#
[Generators]
        generator_list = weewx.cheetahgenerator.CheetahGenerator, 
weewx.imagegenerator.ImageGenerator, weewx.reportengine.CopyGenerator

###############################################################################

[Forecast]
    [[Labels]]
        [[[Zambretti]]]
           'A' = "Bel tempo stabile"
           'B' = "Bel tempo"
           'C' = "Tendente al bel tempo"
           'D' = "Bello, tendente ad instabile"
           'E' = "Bello, possibili rovesci"
           'F' = "Piuttosto bello, in miglioramento"
           'G' = "Quasi bello, possibili rovesci a breve"
           'H' = "Quasi bello, rovesci in serata"
           'I' = "Rovesci a breve, in miglioramento"
           'J' = "Variabile, in miglioramento"
           'K' = "Piuttosto bello, probabili rovesci"
           'L' = "Piuttosto instabile, in miglioramento"
           'M' = "Instabile, probabile peggioramento"
           'N' = "Piogge sparse, schiarite"
           'O' = "Rovesci, in peggioramento"
           'P' = "Variabile, qualche precipitazione"
           'Q' = "Instabile, brevi schiarite"
           'R' = "Instabile, precipitazioni in arrivo"
           'S' = "Instabile, precipitazioni"
           'T' = "Perturbato"
           'U' = "Precipitazioni occasionali, peggioramento"
           'V' = "Precipitazioni sparse, molto instabile"
           'W' = "Precipitazioni a intervalli frequenti"
           'X' = "Precipitazioni, molto instabile"
           'Y' = "Tempesta, in peggioramento"
           'Z' = "Tempesta, precipitazioni intense"
  [[[Weather]]]  
 #Copertura nuvolosa
     'CL' = "sereno"  
           'FW' = "poche nubi"        
           'SC' = "nubi sparse"   
           'BK' = "coperto con squarci"    
           'B1' = "nuvoloso"     
           'B2' = "molto nuvoloso"        
           'OV' = "coperto"
           'rain' = "pioggia"
           'tstms' = "temporali"
           'drizzle' = "pioviggine"
           'snow' = "neve"
           'snowshwrs' = "nevischio"
           'sleet' = "pioggia gelata"           
 #Ostacoli alla visibilità    
            'F' = "nebbia"         
           'PF' = "banchi di nebbia"          
           'F+' = "nebbia fitta"            
           'PF+' = "banchi di nebbia fitta"            
           'H' = "foschia"         
           'BS' = "bufera di neve"           
           'K' = "fumo"          
           'BD' = "tempesta di sabbia"           
           'AF' = "cenere vulcanica"

Reply via email to