Re: [weewx-development] Re: Backing up the db using an asynchronous Python-Pandas plugin

2022-07-28 Thread Glenn McKechnie
On 29/07/2022, Guido Cioni wrote: > From what I understand weewx uses sqlite because of the default, and with > sqlite the only possibility is to dump the whole database every time > (https://github.com/glennmckechnie/weewx-sqlbackup/wiki/SQLBackup-README), > which is obviously time consuming.

Re: [weewx-development] Sieverts (Ionizing Radiation)

2022-03-17 Thread Glenn McKechnie
Clay, I've extracted the group_ion_radiation entries from the uRadMon driver and copied them to /user/extensions.py (which itself is from weewx-4.6.0) If you save your copy and replace it with the attachment, then place the following stanza wherever it's needed (under whatever skin you're using

Re: [weewx-development] Sieverts (Ionizing Radiation)

2022-03-17 Thread Glenn McKechnie
Hi Clay, The original UradMon A3 (https://www.uradmonitor.com/) had, along with various other environment sensors, a gieger counter that registered in cpm. I've recently updated the driver (https://github.com/glennmckechnie/weewx-uradmon) for it to return microSieverts/hour rather than its

Re: [weewx-development] getting /home/weewx/bin into $PATH

2021-04-22 Thread Glenn McKechnie
On 22/04/2021, 'Cameron D' via weewx-development wrote: > > > On Thursday, 22 April 2021 at 2:34:11 pm UTC+10 Graham Eddy wrote: > >> maybe i did add the PATH mod myself - setting up systems so often for so >> long that no doubt i do some things without thought… >> > > Likewise - $HOME/bin is a

Re: [weewx-development] Reportgenerator 'hangs' with vector plot

2020-04-04 Thread Glenn McKechnie
On 05/04/2020, Thomas Keffer wrote: > Before you get too excited, make sure the fix still gives the right answer. > It uses a different query strategy. My first thought was how can I tell without firing up a 3.9.2 version (Although I think I might have access to one of those :-) But then if I

Re: [weewx-development] Reportgenerator 'hangs' with vector plot

2020-04-04 Thread Glenn McKechnie
= max >> ###aggregate_interval = 3600# == 1 hour >> >> [[[yearwindvec]]] >> windvec >> plot_type= vector >> windgustvec >> plot_type= v

Re: [weewx-development] Reportgenerator 'hangs' with vector plot

2020-04-04 Thread Glenn McKechnie
aggregate_interval = 3600# == 1 hour > > [[[yearwindvec]]] > windvec > plot_type= vector > windgustvec > plot_type= vector > ###aggregate_type = max > =

Re: [weewx-development] Memory leak in StdReport?

2020-03-30 Thread Glenn McKechnie
1100 +++ /home/weewx/bin/weewx/engine.py 2020-01-26 03:47:05.588871567 +1100 @@ -602,6 +602,11 @@ raise ValueError("Unknown station record generation value %s" % self.record_generation) self.old_accumulator = None +# Glenn McKechnie - flag to run wee_re

Re: [weewx-development] Memory leak in StdReport?

2020-03-29 Thread Glenn McKechnie
On 30/03/2020, Lucas Heijst wrote: [...] > 2. With weewx reports (mben with 84+ generated graphs each run). > > Luc I have a fairly complex set of graphs ( multiple plots, large size, anti-alias turned on) and I have a persistent and steady climb until the OOM killer takes over. If I simplify

Re: [weewx-development] Re: Memory usage: CentOS 6, 7 and Debian 9 stable

2018-04-16 Thread Glenn McKechnie
Thanks Vince, Vince Skahan wrote: [...] > In the past I've cooked up bogus fake 'provides xyz' rpms with fpm to get > around rpms that 'require' stuff that I want to get onto the system with > pip (or to totally skip installing even). That might be your best way. > Install the 'fake weewx

Re: [weewx-development] uRADMonitor: adding new unit tags with wee_extension

2018-03-05 Thread Glenn McKechnie
And a copy to the group, seeing as I didn't pay attention before. The proposed doc changes have been done. Pull request has been initiated. On 6 March 2018 at 09:51, Glenn McKechnie wrote: > > > > On 6 March 2018 at 00:15, Thomas Keffer wrote: > >> Let's back up a step:

[weewx-development] uRADMonitor: adding new unit tags with wee_extension

2018-03-04 Thread Glenn McKechnie
Hi All, http://weewx.com/docs/customizing.htm#customizing_units I've reread the docs above and I've succesfully added what I need (as per the attachment) and integrated them into weewx using user/extension.py Because they ran to more than a couple of extra lines I added them to their own file

Re: [weewx-development] restoring NOAA data to website after moving to new server

2017-11-11 Thread Glenn McKechnie
Hi Mike, Following on from Gary's comment where the NOAA files should be regenerated correctly. Are you editing the *.html files in the web servers directory, or the templates ( *.html.tmpl ) in your weewx skin directory? >From the way you describe it, > wipes out any change I make to the

[weewx-development] Review request: Duplicate database using, weewx.NEW_ARCHIVE_RECORD.

2017-10-07 Thread Glenn McKechnie
is in-line below and at https://github.com/glennmckechnie/weewx-sqlitedupe # $Id: csv.py 1319 2015-05-10 08:27:43Z mwall $ # Copyright 2015 Matthew Wall # # sqlitedupe.py # based on the csv, pmon and cmon extensions by mwall # Copyright 2017 Glenn McKechnie # glenn.mckech...@gmail.com #import os #import

Re: [weewx-development] Re: Expanding on the RSYNC report

2017-02-16 Thread Glenn McKechnie
+ weewx: now with scripts <https://github.com/glennmckechnie/rorpi-raspberrypi> On 15 February 2017 at 03:17, Vince Skahan <vinceska...@gmail.com> wrote: > On Monday, February 13, 2017 at 4:27:01 PM UTC-8, Glenn McKechnie wrote: > >> 2. To use the -R function of rsync