How to re-generate the NOAA Climate files and High/Low Section of Sesons Skin

67 views
Skip to first unread message

ExprmntAl

unread,
Sep 5, 2020, 4:45:09 PM9/5/20
to weewx-user
I finally got around to deleting the data from my database leftover from my initial install of WeeWx that had the simulator data in it.  Now I'm trying to figure out how to re-generate the NOAA Climate files and High/Low Section of Sesons Skin.  I tried deleting one of the NOAA files that had the old bad data and the file was re-created at the next update interval but the "High/Low" section of the Seasons skin (HTML File) still has the old simulator data in it. What do I need to do to generate all of the files fresh using the now correct data in the database?

Tom Keffer

unread,
Sep 5, 2020, 5:18:33 PM9/5/20
to weewx-user
In addition to the regular 'archive' data, the database also includes 'daily summaries'. These are used to speed up queries, particularly for historical data. They will need to be rebuilt.

sudo wee_database --drop-daily
sudo wee_database --rebuild-daily

You can also delete all of the generated NOAA files. WeeWX will automatically regenerate them.

-tk

On Sat, Sep 5, 2020 at 1:45 PM ExprmntAl <72604...@compuserve.com> wrote:
I finally got around to deleting the data from my database leftover from my initial install of WeeWx that had the simulator data in it.  Now I'm trying to figure out how to re-generate the NOAA Climate files and High/Low Section of Sesons Skin.  I tried deleting one of the NOAA files that had the old bad data and the file was re-created at the next update interval but the "High/Low" section of the Seasons skin (HTML File) still has the old simulator data in it. What do I need to do to generate all of the files fresh using the now correct data in the database?

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c7ae06a6-7d00-4031-8b20-7f37c2779ed2n%40googlegroups.com.

ExprmntAl

unread,
Sep 5, 2020, 6:14:36 PM9/5/20
to weewx-user
Thanks TK!  That worked for me.  I knew that I had seen the  sudo wee_database --drop-daily command in the User Guide at some point but I couldn't find it when I scanned the file.  I did not see any reference to the   sudo wee_database --rebuild-daily command anywhere though.  Thanks so much for the quick response. 

Tom Keffer

unread,
Sep 5, 2020, 6:37:19 PM9/5/20
to weewx-user
Just a note for posterity: the --rebuild-daily command is not really necessary. weewxd will rebuild them automatically if needed.

Reply all
Reply to author
Forward
0 new messages