El domingo, 25 de febrero de 2018, 18:25:52 (UTC+1), Rich Altmaier escribió: > > I fixed the licensing statement to be GPL3, added the copyright notice, > and I changed the storm dry period to 24 hours. > Thanks, Rich > > Hi, I run the file storm.py ad i have a error: Traceback (most recent call > last): > File "/var/lib/weewx/storm.py", line 53, in <module> > "" ", {" now ": storm_now," past ": storm_in_past}) > sqlite3.OperationalError: no such table: archive > ????? Thanks > > On Saturday, February 24, 2018 at 4:09:26 PM UTC-8, Rich Altmaier wrote: >> >> I studied the weewx archive database and created this SQL, embedded into >> a python script, to find the most recent rain storm and show the running >> total rainfall of the storm. >> You can see the script is parameterized to define a storm as delimited by >> some number of hours of no rain, I selected 8. >> >> My objective is to hope someone will extract useful portions for the >> calculation of a tag to add to a report, enabling showing storm total >> rainfall! >> If you do this, please do add to this post!! >> The script *does not modify* your database, creating only a temporary >> table to make the query reasonably quick. >> >> Thanks, Rich >> >>
-- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.