Generating longer-term reports on added data

48 views
Skip to first unread message

Peter Fletcher

unread,
Jul 2, 2022, 5:46:50 PM7/2/22
to weewx-user
I have recently added a 'Sunshine minutes/hours' field to weewx's database - calculated on the fly from measured solar radiation. Since I have radiation records going back a couple of years, I wanted to backfill the sunshine time records to display on longer term reports. After a couple of glitches (my fault), I was able to update the Archive records, and I have checked that they appear correct. I also used wee_database to drop and recreate the daily summary tables. I still don't see any data displayed for dates earlier than the last 30 days. I have checked that non-zero sunshine archive records exist, going back to the beginning of the database, but the time fields (except for dateTime) are null and the numeric fields are blank in the daily summary table for all dates before the last 30 days. Any suggestions?

Tom Keffer

unread,
Jul 2, 2022, 6:34:33 PM7/2/22
to weewx-user
Older plots and NOAA records are not automatically regenerated. Did you delete everything before running wee_reports?

On Sat, Jul 2, 2022 at 2:46 PM 'Peter Fletcher' via weewx-user <weewx...@googlegroups.com> wrote:
I have recently added a 'Sunshine minutes/hours' field to weewx's database - calculated on the fly from measured solar radiation. Since I have radiation records going back a couple of years, I wanted to backfill the sunshine time records to display on longer term reports. After a couple of glitches (my fault), I was able to update the Archive records, and I have checked that they appear correct. I also used wee_database to drop and recreate the daily summary tables. I still don't see any data displayed for dates earlier than the last 30 days. I have checked that non-zero sunshine archive records exist, going back to the beginning of the database, but the time fields (except for dateTime) are null and the numeric fields are blank in the daily summary table for all dates before the last 30 days. Any suggestions?

--
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/1ac1036b-e209-4432-9d23-ad1430778ec9n%40googlegroups.com.

Peter Fletcher

unread,
Jul 2, 2022, 7:24:08 PM7/2/22
to weewx-user
No, I didn't, though I thought that I checked that the relevant generated images had times corresponding to when I ran wee_reports. I'm not, in any event, concerned about the NOAA reports, and I knew that they don't automatically get updated. In any event, deleting all the image files before rerunning wee_reports seems to have fixed not only the display problem but also filled in the missing data in the relevant daily summary table - which I certainly didn't expect. Thanks!
Reply all
Reply to author
Forward
0 new messages