On Wednesday, June 3, 2020 at 5:07:35 AM UTC-4, Phil Owers wrote:
>
>
> Where should this go please as Im changing the values in forecast.py where 
> I couldn't find DURATION
> Sorry to be a pain
>

no pain at all!  we just need a common reference frame.

when you make changes to weewx, most of the time you will modify the 
configuration file (typically weewx.conf) to affect the program behavior, 
or the template files (typically in a directory called 'skins') to affect 
the look/content of reports.  you should never have to modify the code (the 
.py files) unless you are writing new features or working on a bleeding 
edge bugfix.

in this case, you should modify weewx.conf.  it should be in 
/etc/weewx/weewx.conf or /home/weewx/weewx.conf, depending on how you 
installed weewx.

in that file, look for a section called 'Forecast'.  that is where you make 
the changes

then you must restart weewx for the changes to take effect

you should also only delete the forecast database while weewx is stopped - 
if you delete it while weewx is running it could become very confused

m

-- 
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/acbab33c-42ef-4daa-83dc-f92b55d1f2db%40googlegroups.com.

Reply via email to