Force weewx to generate old monthly reports?

1,535 views
Skip to first unread message

bdf0506

unread,
May 26, 2018, 10:00:58 AM5/26/18
to weewx-user
I just imported about a year's worth of data from WeatherUnderground into my database. Now, I would like to show the reports.

I ran "wee_database --drop-daily" and "wee_database --rebuild-daily", followed by "wee_reports" in an attempt to generate everything.

At this point, the daily, weekly reports are fine. The monthly report for May is fine. The yearly report for 2018 is fine.

I am missing:
All months other than May 2018
The year 2017.

I know that I have data in my database for these, but it seems like I need to force these reports to be generated. How can I go about this?

Andrew Milner

unread,
May 26, 2018, 10:43:30 AM5/26/18
to weewx-user
If you are talking about the NOAA reports all you need to do is delete all NOAA reports, and they will all be generated/regenerated again on the next report cycle
Message has been deleted

Andrew Milner

unread,
May 26, 2018, 11:09:16 AM5/26/18
to weewx-user
if the data from wu is in the database now then they will be regenerated.  

On Saturday, 26 May 2018 17:51:54 UTC+3, bdf0506 wrote:
This is my data from a PWS in WeatherUnderground. But I’ll try to delete them and see if they regenerate. 

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/RYdENl_Q7ZM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Meteo Oberwallis

unread,
Apr 19, 2020, 9:02:02 AM4/19/20
to weewx-user
Hello.

Who i can found the Reports? Folder?

Thanks

Andrew Milner

unread,
Apr 19, 2020, 9:13:10 AM4/19/20
to weewx-user
if you delete the NOAA reports in /home/weewx/public_html/NOAA(or /var/www/html/NOAA) they will be regenerated on the next report cycle.

Meteo Oberwallis

unread,
Apr 19, 2020, 9:16:41 AM4/19/20
to weewx-user
Thx for the Answer. I've tried it a few times now. However, this does not work. The columns remain empty and no data is displayed

Andrew Milner

unread,
Apr 19, 2020, 9:28:19 AM4/19/20
to weewx-user
can you confirm that the noaa files beng displayed are the regenerated files?  Do a directory listing and check the creation date of the files.

did you dropped daily and rebuilt the daily tables?

do the daily tables appear to contain the correct data (not the main archive table but the daily summary tables)?

Meteo Oberwallis

unread,
Apr 19, 2020, 9:38:13 AM4/19/20
to weewx-user
Yes. The Data in the Folder are new (Screenshot)
Unbenannt.PNG

Andrew Milner

unread,
Apr 19, 2020, 9:55:32 AM4/19/20
to weewx-user
The extract you showed was only for 2019 and 2020

are there also new files for the other years / months, or are they missing from the directory.

Meteo Oberwallis

unread,
Apr 19, 2020, 9:58:26 AM4/19/20
to weewx-user
Yes it was all newly created. Years 2017 - 2020 are available. But based on the kb size you can see that the files are empty

rich T

unread,
Apr 19, 2020, 10:14:52 AM4/19/20
to weewx-user
Basically I have the same issue. I have two RPI's one running WeeWX version 4.0.0b12  using season skin and the second running WeeWX version: 3.9.1 Belchertown Skin Version: 1.1b3. Both started with the same data in their databases (Aug 2014 through current day). In both databases I imported older data from Jan 2009 through Aug 2014 without any errors and deleted all the NOAA files from both RPIs. (Did that several times for Belchertown) As you can see in the attached files the RPI running Season Skin has no issues, but the RPI running Belchertown has issues with the verision I'm running.

Aug 2014 Existing data Belchertown NOAA Report.png
Aug 2014 Seasons.png
Jan 2009 Belchertown NOAA Report.png
Jan 2009 Seasons.png

Andrew Milner

unread,
Apr 19, 2020, 10:15:29 AM4/19/20
to weewx-user
and what data is in the daily summary table eg archive_day_outTemp  for dates in say december 2017 ???
select * from archive_day_outTemp where dateTime < 1514764799; or something like that

Meteo Oberwallis

unread,
Apr 19, 2020, 10:47:14 AM4/19/20
to weewx-user
I have found a mistake. I hadn't run the chain "wee_database --drop-daily" and "wee_database --rebuild-daily", and delete the data in the folder and subsequently "wee_reports". 
Delete the files in /var/www/html/weewx/folder Belchertown/NOAA/ and /var/www/html/weewx/NOAA/
That Works

Thx for Helping!
Reply all
Reply to author
Forward
0 new messages