Monthly Summaries are empty

127 views
Skip to first unread message

jhn.p...@gmail.com

unread,
Jun 21, 2020, 9:09:10 PM6/21/20
to weewx-user
I upgraded to 4.1.latest a few weeks ago, its running on an RPi3 w/ Raspbian Stretch (and installed via apt-get from the Stretch repositories)...

I just noticed, my monthly summary tables are content-free, other than the current month... see https://freescruz.com/weewx/tabular.html?report=NOAA/NOAA-2020-05.txt for an example.

oh, the annual summaries for previous years are empty, too.

do I need to run something special to generate these?   afaik my database goes back 2-3 years.   I'm using mysql on an external server... actually mariadb 10.3.13, installed from FreeBSD 11.3 Ports.

Tom Keffer

unread,
Jun 22, 2020, 7:51:30 AM6/22/20
to weewx-user
This is a known problem with v4.1.0. An upgrade to V4.1.1 will fix you up.

After the upgrade, delete all your NOAA files and let WeeWX regenerate them.

-tk

--
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/95e85665-b226-4de1-a778-0a7c983f54a6n%40googlegroups.com.

John Pierce

unread,
Jun 22, 2020, 10:34:42 AM6/22/20
to weewx...@googlegroups.com
Ah.   I'm on 4.1.1, I went straight there from 3.x

I'll try deleting those NOAA files when I'm next at the terminal...



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/r7qQLToOS6I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDiEHq1V9aNQbDE82o%2ByXi507pF-9e1RpnKU%2BH-ueWjnw%40mail.gmail.com.

John Pierce

unread,
Jun 22, 2020, 7:42:29 PM6/22/20
to weewx...@googlegroups.com


On Mon, Jun 22, 2020 at 4:51 AM Tom Keffer <tke...@gmail.com> wrote:
This is a known problem with v4.1.0. An upgrade to V4.1.1 will fix you up.

After the upgrade, delete all your NOAA files and let WeeWX regenerate them.

so I was already on 4.1.1...


well, I stopped weewx, deleted /var/weewx/reports/NOAA/*.txt, and restarted weewx, and still no-go on those summaries...  The current month is partially populated as expected, but all previous months are empty.


ditto current year is partially populated, but the prior years since i started running weewx are empty.
 





--
-john r pierce
  recycling used bits in santa cruz

Tom Keffer

unread,
Jun 23, 2020, 9:48:45 AM6/23/20
to weewx-user
Hmmm, OK.

A line is printed only if it contains one of temperature, rain, or wind. It seems unlikely, but perhaps you are missing all three? To test that, in the template NOAA-%Y-%m.txt.tmpl, change the lines
#for $day in $month.days
#if $day.outTemp.count.raw or $day.rain.count.raw or $day.wind.count.raw
$day.dateTime.format($D, add_label=False) $day.outTemp.avg.format($Temp,$NONE,add_label=False) $day.outTemp.max.format($Temp,$NONE,add_label=False) $day.outTemp.maxtime.format($Time,add_label=False) $day.outTemp.min.format($Temp,$NONE,add_label=False) $day.outTemp.mintime.format($Time,add_label=False) $day.heatdeg.sum.format($Temp,$NONE,add_label=False) $day.cooldeg.sum.format($Temp,$NONE,add_label=False) $day.rain.sum.format($Rain,$NONE,add_label=False) $day.wind.avg.format($Wind,$NONE,add_label=False) $day.wind.max.format($Wind,$NONE,add_label=False) $day.wind.maxtime.format($Time,add_label=False) $day.wind.vecdir.format($Dir,$NONE,add_label=False)
#else
$day.dateTime.format($D)
#end if
#end for
to
#for $day in $month.days
$day.dateTime.format($D, add_label=False) $day.outTemp.avg.format($Temp,$NONE,add_label=False) $day.outTemp.max.format($Temp,$NONE,add_label=False) $day.outTemp.maxtime.format($Time,add_label=False) $day.outTemp.min.format($Temp,$NONE,add_label=False) $day.outTemp.mintime.format($Time,add_label=False) $day.heatdeg.sum.format($Temp,$NONE,add_label=False) $day.cooldeg.sum.format($Temp,$NONE,add_label=False) $day.rain.sum.format($Rain,$NONE,add_label=False) $day.wind.avg.format($Wind,$NONE,add_label=False) $day.wind.max.format($Wind,$NONE,add_label=False) $day.wind.maxtime.format($Time,add_label=False) $day.wind.vecdir.format($Dir,$NONE,add_label=False)
#end for
This will print something for every line.

-tk

--
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.

icoj...@gmail.com

unread,
Sep 10, 2020, 11:11:45 AM9/10/20
to weewx-user
I had the same symptom and deleting the NOAA txt files and allowing them to regenerate worked a treat (not that it helps with the OP's issue)
Reply all
Reply to author
Forward
0 new messages