Re: [weewx-user] Updating Debian Jessie to Buster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 20 Nov 2020 07:55:24 -0800 (PST) vince wrote: > Sigh - doesn't anybody read the 'years' of the 'many' times people > have asked the same questions ? I do... did... was skeptical... got over it Verbatim copy worked for me. Hours of painful research confirmed! - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 52° — Wind WNW 18 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCX7gFQwAKCRBg2/xipKOW UlhYAJ9ZV8bxG8+yNxqy0Wy0PG/MbYi3KwCeMPbJD+r9HyVJX1UgIdt5iP/9eRY= =CAGN -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20201120120451.35cc35cc%40wealthy.
[weewx-user] Reports and Images from Complex Models
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've been toying with an xtypes extension to model insect and crop development. I have 200 temperature development models for over 100 species. I don't want to calculate all but a handful of current interest. The trouble is that I want to pass not only the calculated series but also the parameter values for the chosen models to Cheetah for printing as part of each report, but I can't see how. Parameter values are two or three, but names and stages of development can be two or three more. I can duplicate walking the configobj dictionaries in both places (in my xtypes module and my Cheetah template) to gather the necessary info, but that seems inelegant. Are there user-extensible structures in common between xtype engines and report engines that I can exploit to pass a dictionary of dictionaries of static values? Is there some stunt I can pull, extending the Cheetah search_list or the config_dict as a side-effect of instantiating my xtypes? P. S.: I've resigned myself to writing my own image engine so, if I can conquer the Cheetah beast, I should be able to build on that experience. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 36° — Wind WSW 13 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCX8+6xAAKCRBg2/xipKOW UplRAJ90K9IqTbFCRoJ5oUOktb7U9cQ84wCfRflLahZFpTksyGkwG16F3ybsC00= =j7sB -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20201208114123.1e43e5b6%40wealthy.
Re: [weewx-user] Reports and Images from Complex Models
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 11 Dec 2020 04:51:05 -0800 Tom Keffer wrote: > I'm not understanding what you are asking. I gather you want to use an > expression like > $f($x, $y, $z). > in a Cheetah template, where f() is your model, and x, y, and z are > parameters? If so, what's to stop you from simply using $x, $y, and > $z in the template? Thanks for your reply to my rather muddled query. I'm writing a WeeWX extension that lets the User choose from a suite of models. There are too many to calculate, so I want to calculate only those of interest. I'm struggling to explain this to myself, too, and my conceptualization of the problem is evolving, so I apologize for inconsistency with my previous posts. The models don't really have parameters. There are underlying parameterized calculations, but the choice of the model dictates the choice of the parameters. I expect the User to choose a handful of models. I'll make each chosen model *name* the *name* of an XType variable and ignore the models that are not chosen. I'll provide a Cheetah template for a standard HTML report that includes group breaks for each temperature development model and lines for daily min/max temperatures, growing-degree-days, cumulative degree-days, and development event horizons. In the model headers I'd like to show the actual calculation parameters used by the model. These are not in the User-defined part of the config, but in the model-definition part of the config, which I'd rather the User kept his paws out of, so I need to walk the various configs in the template in the same way that I walk the same configs in the XType instantiation code to look up parameters by model *name* ... unless there's a way to get an XType variable to cough up metadata in addition to numerical series. I've settled on a solution, though. I'll include my Python XType instantiation module in my Cheetah template and reference the same config-walking code (a non-User-oriented class) in both places. (The config-walking code should not need to be run on each evaluation of the XType variable but only at instantiation. It will need to be run on every Cheetah report generation.) Upon sober reflection, it doesn't seem that that is too often or too expensive. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 30° — Wind NNW 9 mph — Sky overcast. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCX9Wj7QAKCRBg2/xipKOW UqnVAJ98hay31xSFw1mKDKQboCYRIu/+uwCfTKHWIicOQvbatTk8DebdznaU6D4= =wqlq -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20201212231732.189fae62%40wealthy.
Re: [weewx-user] Re: "Grassland Temperature Sum" (or how it is called in English, german "Grünlandtemperatursumme" (GTS))
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 15 Dec 2020 09:25:48 -0800 (PST) Ton vanN wrote: > You open can of worms, because [there are] a large amount of > variations of Growing Degree Days related to different animals, > insects and plants. See: o University of California, Agriculture and Natural Resources. "Research Models: Insects, Mites, Diseases, Plants, and Beneficials." 2014. 15 Apr. 2018 <http://ipm.ucanr.edu/MODELS/index.html>. o Coop, Len. "Library of Degree-Day Models for Insects and Plants." 11 Feb. 2007. Integrated Plant Protection Center, Oregon State U. 1 Nov. 2020 <http://uspest.org/wea/wealib.html.> The models for insect development are very similar but have different threshold and cutoff temperatures and use different cutoff techniques. Models developed in one part of the world may not be immediately applicable to other parts. Many insect species apparently have local strains that are adapted to local conditions. The models are robust enough to be useful without exactly matching local conditions, and differences between modeling techniques are minor. There are all kinds of weather-related mathematical models with agribusiness applications beyond just weather prediction. Recently, I stumbled upon one that models the growth of pollen tubes in apples dependent upon temperature. The idea is that you can burn off the flowers by spraying lime sulfur. The trick is to do this after the pollen tubes for the king fruit have reached their ovaries and to keep doing it often enough to keep new pollen tubes from reaching theirs. This favors the earliest flowers while thinning the rest of the crop in (hopefully) an organically acceptable way. There are attendant risks. Early pollination may not be as reliable as you suppose or as you hope. Different varieties of apples have different pollen-tube lengths, and the germ plasm traverses them at different rates, so you may not be using an appropriate model if you have a different pollinator or an odd-ball variety of apple or even a variant of a well tested variety. I guess the gee-whiz factor makes up for the uncertainties of the technology. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 30° — Wind N 3 mph — Sky overcast. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCX9l8XwAKCRBg2/xipKOW UgvzAJ4nE9JmF89LohMhcmDJ9Y+eu2DbVgCfZnpV0byyhhQVdbIJr5Gf9ySgkk8= =fJJ8 -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20201215211751.4a3e6639%40wealthy.
Re: [weewx-user] Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 23 Jun 2020 10:46:56 -0700 Tom Keffer wrote: > I don't see why the new xtypes facility can't be used to calculate > your version of growing degree days. It allows you to define new > types. Take a look at it and see if it helps. It has taken me awhile to catch up with your suggestion. I see where XType.get_scalar is called in tags.CurrentObj, and I see where XType.get_aggregate is called in tags.AggTypeBinder, but I don't see where XType.get_series is ever called. Do you have examples of configs or templates that mention "observation types" evaluated with *get_series*? - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 30° — Wind N 5 mph — Sky overcast. Light snow. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCX9uRzgAKCRBg2/xipKOW UpySAJ9NXSY4Q6DcUH3geT32Pl70R7ED9QCfQTi9wZVnfApucReVJMOdJDnB0Z4= =MKSI -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20201217111350.7db804b9%40wealthy.
Re: [weewx-user] Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 17 Dec 2020 12:26:56 -0800 Tom Keffer wrote: > get_series() is used by the image generator, not the Cheetah > generator. It's used to create plot lines. See line 176 in > imagegenerator.py > <https://github.com/weewx/weewx/blob/master/bin/weewx/imagegenerator.py#L176> I see. Thanks. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 31° — Wind Calm — Sky overcast. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCX9vL+wAKCRBg2/xipKOW UmjzAJ9mhx1M/86VP2KfIK7rfmeK5DyQ8wCeL8CNtj9vg0UvG+oDpcYqmE0SjJ4= =5Rub -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20201217152203.07dfd7a4%40wealthy.
Re: [weewx-user] Re: "Grassland Temperature Sum" (or how it is called in English, german "Grünlandtemperatursumme" (GTS))
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 17 Dec 2020 23:57:40 -0800 (PST) Karen K wrote: > I will try to do some coding. I can send you *python 3* formulas. These are new. I had an extension that worked for v3 of WeeWX. See my codling moth tribute site: http://LacusVeris.com/cydia, now obsolete. I am working on a v4 version. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 29° — Wind S 6 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCX9zizwAKCRBg2/xipKOW UuewAJ91uIxUTpjtaFnXiFJug/WghmA/dgCbBq0eOdZKLWMUDVYiCQzNuGg0NfY= =N2CH -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/2020121843.7581572c%40wealthy.
Re: [weewx-user] Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 23 Dec 2020 07:34:40 -0800 (PST) Andy wrote: > I will be glad to test this when you get it going. Actually, as of yesterday, it *is* going. I have a Cheetah template that prints reports for selected insect-development models. I just haven't packaged it as a WeeWX extension, yet. I'm working on cumulative growing degree day graphs. I expect this part of the effort to extend through Ground Hog Day before I can turn to package details. The Good Lord willin' and the creek don't rise, the extension should be ready for the next growing season. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 44° — Wind SW 26 mph — Sky mostly clear. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCX+PjrgAKCRBg2/xipKOW UmS0AJ4veo/htou5GfY3tjNywOtng91caACdGzkX+K2de8+EXVEh3xD0YCEOagM= =E2Eq -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20201223184117.69d4e375%40wealthy.
Re: [weewx-user] new google groups - ugh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 23 Dec 2020 17:25:26 -0800 (PST) vince wrote: > Does anybody have an alternate way to get the group that works in a > browser or a Mac client? No. I use the *claws-mail* app to read the corresponding USE-net News Group. o https://en.wikipedia.org/wiki/Claws_Mail - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 38° — Wind SW 32 mph — Sky overcast. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCX+QQFQAKCRBg2/xipKOW UvWUAJ93ITfhCcUGoKLU3sp1fTZ8KlOucgCbBcWnAG8cSK5zxOpWXnVkIEJK7Ms= =daH8 -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20201223215045.13bfb642%40wealthy.
Re: [weewx-user] Re: Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 17 May 2018 14:35:58 +1000 Glenn McKechnie wrote: > There is no link to the actual file. It can be inferred from > reading your notes, and you do mention that it's in the software > extension installation instructions but a link to the actual file > would be better. > The existing installer is missing files. It only has dead symlinks > for the required files. I have a new *Phenology* WeeWX extension that replaces *Cydia*. The tarball is at: o http://LacusVeris.com/Phenology/weewx-phenology-1.1.tar.gz. The Web site is: o http://LacusVeris.com/Phenology - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 35° — Wind Calm -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEbm5AAKCRBg2/xipKOW Up56AJ90PskyPR91t/Ih1lpJKag3dp4biACfZQsCIeAHiTCpeR1a8or5YTDIQIE= =1TOf -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210308210924.3780e790%40wealthy.
Re: [weewx-user] Re: Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 9 Mar 2021 04:33:50 -0800 (PST) "hesf...@gmail.com" wrote: > Then I deleted all "**dummies" in growing_degrees.py > Reason: dd_conventional() got an unexpected keyword argument > 'cutoff_temp' Mar 9 13:27:31 hesba weewx[15638] ERROR Yes, all the formulas supported by the growing_degrees module are invoked from the get_gdd_series method of the GrowingDegreeDays class of the phenologyservice module. > gdd = method( > day_max_temp=temp_max, > day_min_temp=temp_min, > threshold_temp=threshold_temp, > cutoff_temp=cutoff_temp, > day_2_min_temp=temp_min_2, > scale=scale, > ) They are all called with the same sequence of parameters whether or not the formula requires them all. The **dummies in the calling sequences in the growing_degrees module is catch-all syntax to consume the unused parameters, so it has to be in there. You report a syntax error at line 295 in growing_degrees.py. Here is the code near that line. Is this what you see? > def gdd_single_sine_no_cutoff( # 2019 Jan 08 > day_max_temp, > day_min_temp, > threshold_temp, > **dummies, > ): > (result, theta) = gdd_single_sine_with_theta( # 2019 Jan 08 > day_max_temp=day_max_temp, > day_min_temp=day_min_temp, > threshold_temp=threshold_temp, > ) > return result - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 48° — Wind SE 6 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEekJQAKCRBg2/xipKOW Uo79AJ4rldPFAPd+rUa2/n7yvGLj3acq9ACeLK4EcUl6qXGRuoGQ/vtxpAjbzcM= =BepH -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210309103653.223d00fb%40wealthy.
Re: [weewx-user] Re: Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 9 Mar 2021 08:55:53 -0800 (PST) "hesf...@gmail.com" wrote: > I have completely reinstalled the calculation and get it > Mar 9 17:53:18 CRITICAL __main__: File > "/home/weewx/bin/user/growing_degrees.py", line 294 > Mar 9 17:53:18 CRITICAL __main__: **dummies, > Mar 9 17:53:18 CRITICAL __main__: ^ > Mar 9 17:53:18 CRITICAL __main__: SyntaxError: invalid syntax Sorry for the trouble you've been having. Please post the code from line 287 to line 302. Thanks. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 48° — Wind SE 9 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEeuQwAKCRBg2/xipKOW UiqdAKCAEzLvFAHb3WmR5O0ySBlh1CnG5wCfa232Fc/oQ8nOrIBDn1UqweZ8gis= =YJDt -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210309112003.1d433374%40wealthy.
Re: [weewx-user] Re: Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, that all looks good, and I am unable to guess what else could be wrong. Maybe there is an unclosed string literal close to the top of the module. It must be really late for you today. I'll attach a copy of the module to a private message to you for comparison. Please let me know if you see any differences. Thanks. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 48° — Wind SE 9 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEe25gAKCRBg2/xipKOW UlG7AJ9IqcrCYwrjh4+E7g7NmdE8TOqk9QCbBJ49ZaVaSTKK8/TeoIbRuYh4IZw= =V9Zc -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210309115654.5017b5f4%40wealthy.
Re: [weewx-user] Re: Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 9 Mar 2021 10:58:10 -0800 (PST) "hesf...@gmail.com" wrote: > sorry, my weewx is weewx4.4.0 and python 3.5 Ah hah! Yes, I see what you mean! I have the same issue with Python 3.5. I'm using 3.7 at home. Deeper investigation is in progress I'll be back. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 50° — Wind SE 9 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEfPCAAKCRBg2/xipKOW UrR3AJ99XDjgwjBObdxKRpGUdjQz07RpXgCfbDHP7oAH6gsDvwPi0spx45WmWUg= =YqhC -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210309133952.517ca659%40wealthy.
Re: [weewx-user] Re: Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This appears to be a bug with Python 3.5. o https://stackoverflow.com/questions/16950394/why-is-a-trailing-comma-a-syntaxerror-in-an-argument-list-that-uses-args-syntax Apparently a trailing comma after "arbitrary" function arguments was not a part of the language specification at the time or was implemented incorrectly. Guido van Rossum, the creator Python and Benevolent Dictator for Life, has spoken, and the trailing comma is fixed in Python 3.6. Let's see whether I can say this in a nice way. My impulse has always been to include a trailing comma anywhere I might be inclined to add a line later. Upon thinking back, I suppose I was never able to get away with that in Python 2, but, after switching to Python 3 at 3.7, I didn't get caught again. I don't propose to change the "Phenology" WeeWX extension, though, because I side with Guido: The trailing comma is good practice, and all future Python interpreters should conform with it. You may wish to upgrade to Python 3.6+. If that doesn't work for you, eliminating the trailing commas after "arbitrary" arguments should be do-able and fix the problem. I apologize for the trouble. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 50° — Wind SE 9 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEfbJQAKCRBg2/xipKOW UktiAJ9JXdCDJsOVVG1iQFLVTEXJn2bRqQCfR18XqjmsK8VldOkgJ7FigYGKnr4= =jJCN -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210309143133.3e7d9f1e%40wealthy.
Re: [weewx-user] Re: Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 9 Mar 2021 14:31:33 -0600 Chuck Rhode wrote: > This appears to be a bug with Python 3.5. > You may wish to upgrade to Python 3.6+. No, no, no! I take it all back. It's silly of me not to try to fix it. The only place where "trailing comma after arbitrary arguments" occurs is in the growing_degrees.py module, and I can change that easily! I'll make an updated tarball ready soon that will work under Python 3.5. You don't have to do anything except reinstall it. I'll let you know when. Thanks for bringing this to my attention. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 50° — Wind S 9 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEfhoQAKCRBg2/xipKOW UqtNAJsGYsNjB44qNj8NYVKbOQ58Nhc/TwCbBkPGFgKv2hRV2t2CoTuIG9i9idg= =+Ihj -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210309145913.5a0112bb%40wealthy.
Re: [weewx-user] Re: Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 10 Mar 2021 07:55:49 -0800 (PST) "hesf...@gmail.com" wrote: > but the calculations are made in a mixture of degrees C and degrees F. Carsten Bitter reported the problem with the Cumulative Growing Degree-Days report. This is fixed in weewx-phenology-1.2 available at: o http://lacusveris.com/Phenology/weewx-phenology-1.2.tar.gz Full documentation is at: o http://lacusveris.com/Phenology/index.shtml Thanks for your interest in the Phenology Extension to WeeWX and for sticking with it. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEmLAAAKCRBg2/xipKOW Ul2EAJ90/L3cbALSb5oryMWmGz0sYOwbqQCfYwueokrJlBnbb5nhNPh5gMtnMbs= =p9j4 -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210310211408.4866e194%40wealthy.
Re: [weewx-user] Re: Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 10 Mar 2021 22:09:33 -0800 (PST) "hesf...@gmail.com" wrote: > please a note too "cumulative_growing_degree_days.html.tmpl" > #if $model.name_scientific == $model.name_common > $model.name_scientific > <-->#else > $model.name_scientific ($model.name_common) > <-->#end if name_scientific == name_common > Yes, I use *emacs* as a code editor, and it doesn't know what to make of *.tmpl files. It chooses odd tab settings. Thanks for the suggestion. This is fixed in the next release ... unless I make some more changes, and then the tabs will go back to defaults on the lines I change. It's stupid; I know. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 42° — Wind W 8 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYErkBAAKCRBg2/xipKOW UsKrAJ9DPAH0j2GgofAhu2JjyxHAYn4W3ACfZhura6jdM82ZzUHXDNh50oKXwgI= =mZsk -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210311214612.1da5e279%40wealthy.
Re: [weewx-user] Re: Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 13 Mar 2021 03:21:37 -0800 (PST) "hesf...@gmail.com" wrote: > 1. in skins.conf > [Extras] > # generation_date = 2018, 6, 30, 0, 0 >phenologies = phenology.conf >models = M001, C0004, C0023, C0101 > > [ImageGenerator] > > [[four-week_images]] >[[[Codling Moth]]] >M001_accum > [[[Apple Maggot]]] > C0004_accum > [[[Cabbage Maggot]]] > C0023_accum > [[[Pea Aphid]]] > C0101_accum > then the error follows > Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: > weewx.UnknownType: C0101 > I am a little at a loss You have to restart PhenologyServices.py. Did you do this? >sudo /etc/init.d/weewx stop >sudo /etc/init.d/weewx start - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 50° — Wind W 10 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYE1cVQAKCRBg2/xipKOW UsXpAJ0Zg9+fk9TDf7njX7yvGK3HVzh6rACeMV2Y3FedEhS8CF1pIdF/v+EK1ok= =YfMD -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210313184405.514a47ca%40wealthy.
Re: [weewx-user] Re: Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 13 Mar 2021 22:20:03 -0800 (PST) "hesf...@gmail.com" wrote: > Why is the calculation only shown for one month, although the > calculation on 01.01. begins. I'm glad you asked. In terms of cumulative Growing Degree-Days, detail is important. Decisions about when to spray chemicals, for example, are made day-to-day. Five days spans the time between "too early" and too late." If the chart is too wide, the time detail and the difference between starting cumulative GDD and ending is not so obvious, so the chart is only 28 days wide. For the sake of the model the accumulation, however, must begin on the "start date," whenever that is, even though it may be farther than 28 days in the past. You can try making the "time_length" for the "four-week_images" longer, but this probably will cause the x-axis limits to snap to month boundaries. You will lose the daily granularity of the 28-day charts. You can change the same time constant (2419200 seconds) in the $SKIN_ROOT/Phenology/cumulative_growing_degree_days.html.tmpl to print a longer history, too. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 31° — Wind NE 18 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYE69pQAKCRBg2/xipKOW UljKAJ4/OSdcstp/ZcaT/uLlOUVwAIHqUgCfW72U4J5tlKSak79jmfiNhKE+wVc= =qi4A -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210314205133.11ec1aeb%40wealthy.
[weewx-user] Phenology Extension
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For, lo, the winter is past, the rain is over and gone; the flowers appear on the earth; the time of the singing of birds is come, and the voice of the turtle is heard in our land. KJV Song Sol. 2:11—12 It's time to spray for insects. Your schedule depends on how warm the weather is, which can be measured with a backyard weather station. The data extracted from the station drives models of insect development that predict when sprays will be most effective. This announces an update to my WeeWX extension that calculates insect development stages. WeeWX Users may download the "tarball" from: * http://lacusveris.com/Phenology/weewx-phenology-1.2.tar.gz For the mildly interested, complete and utter documentation is at: * http://lacusveris.com/Phenology/ Many insect models are supported, including several for the following species: * Apple Maggot * Codling Moth * Corn Leaf Aphid * Leafrollers * Gypsy Moth * Green Peach Aphid * Oriental Fruit Moth * Peachtree Borer * San Jose Scale * Squash Bug * and many, many more In the wake of the Plague, folks are turning to backyard gardening and orcharding in droves for the benefits of social distance and to reduce reliance on commercial food sources. Some even hope to save money by growing their own. They're building up immunity in the sunlight and fresh air, too, maybe. If you're thinking about doing the same, now's the time to secure sources of plant materials, gardening and preservation supplies, and agricultural chemicals because these things have been and will continue to be in short supply. Quick! Before evenings get too short, bone up now on how to start this season with resolve. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 34° — Wind E 10 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYE+/6wAKCRBg2/xipKOW UukaAJ9Knpc0AG7EFaFnYXdxsOq9ElI9OwCePj7ap+QjTb2dOsarnabAt+GRtWk= =sqOz -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210315151331.2b13add0%40wealthy.
Re: [weewx-user] Bar graph with multiple data sources
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 3 Jun 2021 16:39:20 -0700 (PDT) "jszit...@gmail.com" wrote: > This works when one gauge has a higher value than the other, > but not vice-versa. The Phenology extension to WeeWX comes equipped with an alternate image generator that does transparency. Bars would overlay one another, but you could color them so that they show through one another ... I think. o http://lacusveris.com/Phenology/phenology_image_generator.shtml#4.7.2 - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 83° — Wind W 16 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYLpOBQAKCRBg2/xipKOW UtmpAJ4u89dQXIXORGn/0f6UNURXTbCfrQCfXPh7Dv8Zg8P9RyvslMQnixr2o/M= =NkTb -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210604110004.7e2be1a7%40wealthy.
Re: [weewx-user] Included Alpha Channel graphic Images
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 9 Jun 2021 13:16:08 -0700 (PDT) José Cervera wrote: > It would be quite a detail that in future versions the possibility of > adding hexadecimal colors with Alpha channel will be included. The Phenology extension to WeeWX comes equipped with an alternate image generator that does composition with transparency. o http://lacusveris.com/Phenology/phenology_image_generator.shtml - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 81° — Wind Calm -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYMIyHgAKCRBg2/xipKOW UrldAJ9D1ExR09TVs1MqI9vcudQpuAqn3wCbBvhc4aJ4sP0WfeTawfQHMFJoSn8= =sDxA -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210610103910.0544a0de%40wealthy.
Re: [weewx-user] Included Alpha Channel graphic Images
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 19 Jun 2021 11:48:28 -0700 (PDT) José Cervera wrote: > The Phenology extension is perfect but, offering more possibilities > in basic skin is the objective. There must be some *javascript* modules that already exist for producing real-time graphs from hypertext markup similar to the way algebraic formulae are rendered by MathJax: o https://www.mathjax.org/ Then WeeWX could provide Cheetah *.tmpl files for the charts without having to provide the *imagegenerator.py*. ... but I haven't found any *javascript* charting modules that seem robustly supported. This surely is **not** the focus of *pillow* or *matplotlib*. These are both module libraries for creating image files, not necessarily for rendering charts in *.html. The "P" in *pillow* stands for Python, and it can be used online from well-formed Python *cgi* scripts. If your goal is to force the reader to spend his own machine cycles to render your graphics, then *pillow* is not for you because it runs on the server side, not the client. In the case of WeeWX, *pillow* is called by the *imagegenerator.py*. Then, the resulting offline image files are uploaded to wherever your web page(s) can get at them. You are, however, stuck with whatever functionality is baked into *imagegenerator.py*. *matplotlib* is similar, but with higher-level instructions for rendering different kinds of plots. Neither *pillow* nor *matplotlib* seem to provide any native scripting language for building charts. Instead, they provide libraries of Python object classes for you to use in your own Python scripts. *Gimp* does provide a scripting function, though. It just doesn't seem to be well documented. I believe you're expected to record scripts during a live *Gimp* session and edit them afterward. I gather it's mostly useful for applying a fixed repertoire of filters to photos gathered from the wild. You can use *netpbm* and *imagemagick* for that, too. Both of those can be manipulated from *shell* scripts. It comes down to this IMNSHO: Producing graphs with any degree of flexibility is deucedly difficult because of the wordiness required. The graph options are certainly countable, but they tend toward the infinite. The Phenology Image Generator uses about 70 (a great deal more than the WeeWX Image Generator), and they both produce a fixed repertoire of graphs limited to time-series data. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 71° — Wind E 7 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYM5UfAAKCRBg2/xipKOW UmsGAJ4xnnu87cV1smQGqLmti1ci9CRkSACeLi4mvm58VRC9QZD7luWbkGnjqU8= =nGbx -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210619153259.6936c6a2%40wealthy.
Re: [weewx-user] Included Alpha Channel graphic Images
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 19 Jun 2021 11:48:28 -0700 (PDT) José Cervera wrote: It's merely possible that your browser can be rigged to interpret "R" code for rendering charts. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 70° — Wind NE 9 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYM5YmQAKCRBg2/xipKOW UiBtAJ9jJ5zu6cSk6kDn0/k1v68IOqzyrgCZAf5wRjQ8ub+2yoaBFKr4Dlx5VMs= =LEYE -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210619155033.330f297e%40wealthy.
Re: [weewx-user] Opening a SQLite session on my Rasp Pi 4 to look around in the WeeWx database
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 4 Apr 2022 08:04:06 -0500 DR wrote: > I have been looking for some way to open a command line or browser > driven version of SQLite to snoop around inside the WeeWx database > just to become more familiar with the layout. The thing you want is *sqlitebrowser*. Install it. Then, just type that at the command prompt. Alternatively, you can start it as a Gnome application by searching for "DB Browser." Try F)ile O)open Database Read Only. You're shooting for the WeeWX "Archive" folder. To see the *.sdb file, you'll need to toggle to the "All Files" filter on the "Choose Database File" dialog. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 38° — Wind SSE 12 mph — Sky overcast. Mist. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYkr8AAAKCRBg2/xipKOW UqW/AJ4lcQFlVz7Nho+pc+MOFvUct4Sf2wCcD/bljSptW50d66AfmUsx3cj491w= =F4PK -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20220404090904.6a0ad7d6%40wealthy.
Re: [weewx-user] Opening a SQLite session on my Rasp Pi 4 to look around in the WeeWx database
On Mon, 4 Apr 2022 08:04:06 -0500 DR wrote: > I have been looking for some way to open a command line or browser > driven version of SQLite to snoop around inside the WeeWx database > just to become more familiar with the layout. The thing you want is *sqlitebrowser*. Install it. Then, just type that at the command prompt. Alternatively, you can start it as a Gnome application by searching for "DB Browser." Try F)ile O)open Database Read Only. You're shooting for the WeeWX "Archive" folder. To see the *.sdb file, you'll need to toggle to the "All Files" filter on the "Choose Database File" dialog. -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 43° — Wind WNW 16 mph — Sky overcast. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20220404160831.54b755d1%40wealthy.
Re: [weewx-user] DegreeDays accessible by a third-party application
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 18 May 2022 09:29:08 -0700 (PDT) PC wrote: > Why make it simple when you can make it complicated!? Well, you could probably lift degree-days (DD) from the so-called NOAA Summary Reports, which are *.txt files under $HTML_ROOT/NOAA. See the "Customization Guide." If you want to make it really complicated, you could install the Phenology WeeWX Extension: o http://lacusveris.com/Phenology/models.shtml#3.3.4.2 This extension produces an $HTML_ROOT/phenology/cumulative_growing_degree_days.html file that you could scrape. - - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 58° — Wind E 10 mph — Sky overcast. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYoVSrgAKCRBg2/xipKOW UhHdAJ95EiFi4DQt68xgXXRdu6Uoaz7PZQCeOKeYD3ZQvO/k0WindGdj4GHTMkg= =8tNh -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20220518151022.6e829016%40wealthy.
Re: [weewx-user] Re: wee_trend 1.10 is available
On Sun, 9 Oct 2022 11:50:43 -0700 (PDT) WindnFog wrote: > And this is why wee_trend ought to be interpreted carefully! > https://ve1dx.net/wee_plots/ Exactly! Trend is more frequently in the eye of the beholder than in the data. Here are further examples. Of course you'll have the good taste not to mention I've provided a Climate Skeptic reference. o https://wattsupwiththat.com/2022/08/17/fun-with-trends/ -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 54° — Wind E 7 mph -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20221010102044.49ecea83%40wealthy.
Re: [weewx-user] accumulated 24h - rain in Seasons skin - how to instruct the imagegenerator
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 21 Oct 2022 11:16:31 +0200 Rainer Lang wrote: > how can I make the imagegenerator create a plot where the rain is > shown as accumulated rain by ... a line as top delimiter and the > area below filled with some color It's trivial to generate a cumulative bar plot. > [[[dayrain]]] > yscale = None, None, 0.02 > plot_type = bar > rain > aggregate_type = cumulative > aggregate_interval = 900 # 15 minutes > label = Rain (hourly accumulation) It is not so trivial to replace the WeeWX Image Generator with mine that I ship with my Phenology Extension. This adds support for the fill_curve option ... among a great many other things. > [[[dayrain]]] > yscale = None, None, 0.02 > plot_type = line > fill_curve = True > fill_color = "#72b2c420" > rain > aggregate_type = cumulative > aggregate_interval = 900 # 15 minutes > label = Rain (hourly accumulation) Which produces the following screenshot seen here dressed in my "Sperry 1100" theme: o https://lacusveris.com/Screenshot%20from%202022-10-21%2011-23-42.png "How to" details may be found at: o https://lacusveris.com/Phenology/weewx_extension.shtml One might say, though, that this approach is overkill in every sense. Not only is installation and use of the Phenology Extension a fraught process, but the Phenology Image Generator itself operates at somewhat below peak efficiency. And I note from the above screenshot that I have not stretched the curve fill to include the ramp-up from the last missing value on the left. Oh, well - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 57° — Wind SSW 15 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCY1LOxgAKCRBg2/xipKOW UrAEAJ9BfRavrD9rRgUhpM/koj6FrCExkACfdhC6IKMYr+ae5mvHwegbaHtKXJI= =bBp6 -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20221021115430.7c06e97c%40wealthy.
Re: [weewx-user] Daily Archive ARC files like wview
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 2 Jan 2023 13:42:53 -0800 (PST) Chris Alemany wrote: > Doing a little addition. Could someone point me in the direction of > how to generate Lat Long in decimal degrees? (ie. as they are in the > weewx.conf file controlling for decimal point) Try this: https://www.earthpoint.us/Convert.aspx - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 33° — Wind N 5 mph — Sky overcast. Mist. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCY7NSEQAKCRBg2/xipKOW Umr0AJ9YB/B2U30HMxoH87d07kOQ3qvPGQCdFiMcEF9eyu4ws90ZQUlQci1WixA= =+vDB -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20230102155217.4bc3c742%40wealthy.
Re: [weewx-user] Re: weewx server?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 3 Jan 2023 21:40:43 -0500 Doug Jenkins wrote: > My checklist will use CloudFlare (free). They have a bunch of > services that we are going to use to make this happen. I have a "burr under my tail" about CloudFlare. This four-year-old blog entry echos my objections. - - Walsh, Ray. "How CloudFlare and ReCaptcha Are Ruining the Net (and What to Do)." Blog. 8 Nov. 2018. ProPrivacy. 4 Jan. 2023 <https://proprivacy.com/privacy-news/cloudflare-recaptcha-nightmare>. > Everyone has suffered that annoying moment when CloudFlare serves > them a Google reCaptcha. Often, the captcha can be a little tricky — > resulting in failure and multiple attempts. If you are particularly > unlucky, you could be asked to click images of traffic lights, > street signs, or zebra crossings — up to five times — before > Google’s reCaptcha finally accepts that you are human. This is > totally infuriating and a massive waste of time. I know this isn't WeeWX-related, but it has to be said wherever CloudFlare is being promoted. Basically, CloudFlare does not serve Web pages such as your weather site equally to all comers. In the name of squelching nefarious 'bot traffic, CloudFlare insists that some requesters submit to Turing tests to assess their humanity before serving results. In an ideal Internet world, all requesters would be treated equally, but CloudFlare feels it is their mission to treat some more equally than others. In particular CloudFlare singles out blocks of IP addresses from certain Internet Service Providers (ISPs) domestically and over seas for special treatment — not Google, of course — because, in CloudFlare's sole judgment, CloudFlare deems them to be sources of spam or hacking activity. The wall of text posted by commenter Irma Dalakanitzkova is more specific. In part it reads: > Unfortunately, using proxy servers, The Onion Browser (TOR), or a > VPN will NOT DIMINISH but INCREASE the number of CloudFlare's > reCaptchas! > [A] simple comparison of IP addresses is easy to do and > spells a curse of doom for users of the TOR browser: One gets > bombarded with that reCaptcha crap — first to access the site, then > to view links, later to post a comment — SEVERAL TIMES on the same > page. Furthermore, it's not just two or three pages of stamp-sized > grainy pictures, but up to a dozen per set. Even if the check-mark is > placed, after clicking the button, it may very well disappear, and > the same harassment begins again — up to three to five times. My > personal record so far were 27 pages of «try again» crosswalks, > traffic lights, parking meters ... and the time can be up to 10 — 15 > minutes, because each individual little square on each page of a > sequence of pages takes a painstakingly slow 3 — 5 seconds to change > from one picture to the next. > CloudFlare goes to great lengths to make life for their users > impossible under the pretext of «bad things are usually being done > using proxies or VPNs». Guess what, idiots, somebody who has really > devious intentions will go through the hassle anyway, but, for > hundreds of millions of ordinary users, this bullshit is a > curse. CloudFlare's & Google's unholy alliance, forcing educated > grown-ups to waste hours per week clicking on hardly decipherable, > grainy, tiny thumbnails, is a perfect example of a cure that's worse > than the disease. Especially for merely passive use of websites > (reading, following a link, looking at graphics/pictures). Ask yourself what you have that a 'bot or a hacker would want to purloin or interfere with. If you can afford to block readers from accessing your weather page from an arbitrary but long list of VPNs around the world, by all means, go ahead then and patronize CloudFlare. You won't have any trouble from 'bots and hackers. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 38° — Wind SW 9 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCY7Wp6QAKCRBg2/xipKOW UsrKAJ9rgfaIU9VkMEMeMQBGoUtO1arosgCfYpciCWGNyF3KS9RXhNWrlI2VQyU= =T7HW -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20230104103137.0f37df74%40wealthy.
Re: [weewx-user] How to use SQlite database to generate date to date images ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 7 Jan 2023 07:35:47 -0800 (PST) Jean-Luc kligler wrote: > I'm searching for a solution to generate images from "old" months or > "date to date." > Do you know an external software, a weewx-plugin or maybe another > weewx-skin that can extract the datas in the sqlite database and > generate the picture? It's overkill and a lot to install, but I believe the Phenology Extension has the capability. - - https://lacusveris.com/Phenology/research.shtml#4.6.1 I've used it on day plots but not month plots. It may — perhaps — work for you. Good luck! - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 26° — Wind NNW 6 mph — Sky overcast. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCY7mejAAKCRBg2/xipKOW Uve6AJ9rp9n2660svV5gsis3txV44rTO9QCfd4TqA5DFcg/qWrJ2sNOI/ShU9/w= =zxCZ -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20230107103212.6b74795a%40wealthy.
[weewx-user] Cydia pomonella
A couple of years ago, I developed growing-degree-day graphs to display codling moth development using *weeWX*. o http://lacusveris.com/cydia/index.shtml I've been lurking on the weewx-user@googlegroups.com mailing list since then. Now, I'm finally ready to upgrade to *weeWX 4*, but I have some embroidery on the *python 2* code that I need to migrate to *python 3*. The magnitude of this task causes me to rethink my two-year-old approach. I cloned weeWX's *ImageGenerator* to access its own database, do its own growing-degree-day calculations, and generate its own Python Imaging Lib (PIL) images. This was not easy, but it was good enough ... then. Today, I'm bedeviled by notions that perhaps a more general approach would be nearly as easy (or hard) to achieve and might find utility for other *weeWX* applications. I guess you'd say I've fallen in love with *cheetah* and have taken to looking at all problems as templating applications. (Full disclosure: I seem to recall that, in a previous life, I was a SPERRY (Univac/UNiSYS) *SKEL* programmer.) ... so I ask this somewhat rhetorical question: Has there been any discussion about templating image generation through *cheetah*? I don't recall seeing any such discussion although I've seen some talk about others' frustrations with the limitations of *ImageGenerator* that mirror my own. Apparently the limitation of not being able to draw y-axis horizons has been lifted in *weeWX 4*, but limitations such as not being able to apply a second y-axis have not. To be sure, these limitations do not wreck the whole notion of *weeWX* or prevent users' workarounds like mine. On the other hand, they are examples only and surely don't exhaust the kinds of drawings that *ImageGenerator* in particular and PIL in general are NOT suited to. In my mind templating is for text only, so I'm mystified by what I'm asking. I can't feature what an imaging template would look like. On the other hand, I'm attracted to the notion of providing the growing-degree-day calculations through *get_extension_list* for use by *cheetah* in templates for ... generating images. o Perhaps images could be conjured in real-time using something like Google Chart's Visualization JavaScript APIs. Embedding the JavaScript (and data) in *cheetah* templates should be straightforward. This relies on (an indeterminate amount of) client horsepower being available to conjure the images. Also, the host site will wish to serve the (huge burden of) JavaScript on every access to avoid the appearance of cross-site scripting if possible. And it makes any such application dependent on a big, fickle outside software-development organization, which will be forever totally oblivious of the needs of the *weeWX* community among others. o Perhaps images could be conjured ahead of time as they are now using a *python* script, but the script itself would be a *cheetah* template. This would allow specially calculated data to be embedded. Images could then be uploaded and served to all comers without further modification until the next generation cycle with great savings of client-side and server-side resources. I'm not talking here about a generalized image-scripting language, but a *python* module that imports some handy special-purpose classes to make *weeWX* image generation fairly terse. Of course, images are deceptively simple things that hide excruciatingly detailed specs. Templating images will not be easy. It will not replace *ImageGenerator*, nor will it ever be for the faint-of-heart. I think generating a *python* image-generation script from *cheetah* has the advantage, though, of abstracting image generation from the database structure, reporting cycles, and *weeWX* implementation details. It would promote *weeWX* extensibility. Also, it opens the possibility of using plotting packages other than PIL. My inclination is to use *matplotlib* instead. Would those who have used both recommend something else? > If you can looke into the Seedes of Time, > And say, which Graine will grow, and which will not, > Speake then to me, who neyther begge, nor feare > Your fauors, nor your hate. I'd like my development not to conflict with previous or future *weeWX* development. Are there things that have been tried and abandoned that would impact image templating? Are there things in the works that would conflict with using *matplotlib*? Are there better options for image templating? -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20200622123641.08a30e2c%40quixote.LacusVeris.com.
Re: [weewx-user] Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 22 Jun 2020 18:39:28 -0700 Tom Keffer wrote: > First, "growing degree days > <http://www.weewx.com/docs/customizing.htm#[[DegreeDays]]>" is now a > first-class type, analogous to heating- and cooling-degree days. Thanks for your reply. Yes, but it's more than analogous; it's the identical code to cooling-degree days. This is the max-min calculation used in crop science. What I refer to as growing-degree-days is a wide family of insect-development models. These depend on temperature but, like max-min, are non-linear at the threshold. Whether they become independent of temperature above the cutoff or actually decline is up to the modeler's interpretation of the behavior of his favorite insect (sub)species, and he has various mathematical techniques with which to work his will. I hope to be able to provide *python* functions for growing-degree-days on daily max/min temps, threshold, and cutoff that will exhaust the research literature. Here is why I regard growing-degree-days models superior to max-min. For me in Sheboygan: The growing degree-days (GDD) calculated by Baskerville and Emin's single sine horizontal cutoff method outruns the conventional degree-days (DD) calculated by the max-min method by about a week. o http://lacusveris.com/cydia/models.shtml#x83 > Second, see issue #341 <https://github.com/weewx/weewx/issues/341>, > which discusses support for generating JSON series using the Cheetah > generator. The intention was to use these series to drive things like > Highchart plots. Nothing much has happened to the issue recently > (it's nearly 2 years old), but perhaps this is what you had in mind? Yes, *json* or *csv*-formatted strings (wrapped to sensible margin widths, of course) would be nifty. This would make *html*-embedded *javascript* code very terse. I'm under the impression the absence of the patch is not a stopper because I've been generating *.csv files from *cheetah* all along ... with *for* loops, of course. I'm also under the impression that *cheetah* can generate *python* code from a template. I'd hope to keep all the specs for an image or a suite of images together in one *python* module including the data, cutoff dates, curve names, colors, axis labels, titles, etc, etc, etc. It's not something you'd do with a compiled language, but interpreted languages almost beg to be abused in this way. I haven't tried any of this, yet. I reserve the right to change my mind. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. -BEGIN PGP SIGNATURE- Version: GnuPG v2 iEYEARECAAYFAl7yPqAACgkQYNv8YqSjllLjDgCdHq+dKB0k8gLDjZU5dMJHaJlF dKQAni3fbSe33utKBToZ6ojJtFA6xcmd =iQZf -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20200623124048.5f5ff7e9%40quixote.LacusVeris.com.
Re: [weewx-user] Cydia pomonella
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 23 Jun 2020 10:46:56 -0700 Tom Keffer wrote: > I don't see why the new xtypes facility > <https://github.com/weewx/weewx/wiki/WeeWX-V4-user-defined-types> > can't be used to calculate your version of growing degree days. It > allows you to define new types. I'll pursue this. Thanks. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 60° — Wind W 3 mph -BEGIN PGP SIGNATURE- Version: GnuPG v2 iEYEARECAAYFAl70i9oACgkQYNv8YqSjllI8eACcDmQ3yTAz5E332lvzWNwybCUv ab4AnizLC2ju1cahhgnZ+7qVy4Oomzoe =X3b9 -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20200625063450.21f61449%40quixote.LacusVeris.com.
Re: [weewx-user] Re: Chill Hours Extension
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 18 Jan 2022 17:05:33 -0800 Tom Deffer wrote: > Upon reflection, the biggest difference seems to be that > cooling-degree days are weighted by the temperature difference from > the baseline. You just want the total number of hours. > This is best done as an XTypes extension > . I've fooled around with XTypes for my Phenology extension. * [weewx-phenology](HTTP://LacusVeris.com/Phenology) — Growing Degree-Days development models for various insect pests, showing when to apply control strategies to minimize crop damage. The Growing Degree-Days calculation(s) are compute-intensive relative to the Cooling Degree-Days calculation. XTypes exposes three entry points that return values: scalar, series, and aggregate. I implement only the "series" entry point, and I keep a running tally of cumulative Degree-Days. It seems that, if I had implemented "aggregate," each cumulative step would have meant recalculating previous steps at factorial cost, but that's just me. I agree the Chilling Hours calculations seem relatively simple, but never let it be said that researchers in the Life Sciences can leave any particularly elegant concept uncluttered. Here is a more or less grammatical overview of various kinds of Chilling Hours calculations. You may overlook the Climate Change hysteria at the end. The Utah method obviously requires quite a few machine cycles, but matching the Queensland method's curve might require quite a few more. * [Chill Hours and Fruit Trees](https://practicalprimate.com/chill-hours/) — Many deciduous fruit trees will not give you the fruit yields you want unless your property receives adequate chill hours. But what are chill hours and why are they so important? ... so both Chill Hours and Growing Degree-Days potentially challenge WeeWX's data collection, calculation, reporting, and image generation capabilities. I developed a kludge to handle Growing Degree-Days because treating orchard insects and disease is a season-to-season battle and many treatments depend on such calculations. I am not so interested in Chill Hours because that has more to do with orchard siting and choice of cultivars, which tend to be one-off decisions. However, Chill Hours (in whatever manifestation) does keep coming up here and on the other discussion group I frequent. Perhaps this is due to ongoing Climate-Change concerns. * [Growing Fruit](https://growingfruit.org/search?q=chill%20hours) I wonder whether I have gone down the right chute with the Phenology Extension's Growing Degree-Days calculation and imaging capacity. Does adding Chill Hours call for a more general approach? I sadly fear the appetite for reporting Chill Hours does not necessarily imply the desire or ability to configure WeeWX to do the appropriate calculations or interpret the results. These are not straightforward things. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 15° — Wind WNW 22 mph — Sky mostly clear. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYegsMQAKCRBg2/xipKOW UuoSAJ4kvvWrCWqDkEZ8tl2yDzAPXU3LnQCeO5z01CamBSnFAr677iJNzwgf15U= =aptL -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20220119091910.5661af6a%40wealthy.
[weewx-user] All You Ever Wanted to Know About Phenology But Were Afraid to Ask
I've updated my Phenology Extension to v1.3 for WeeWX 4.6.2. There are no new features. My WeeWX extension may be downloaded from its own Web site, which assumes the reader has already installed WeeWX and is familiar with its architecture and configuration. o http://lacusveris.com/Phenology The discussion on the Web site about phenology in general and the need for models of insect and plant development is aimed at enthusiasts. Casual readers may, of course, skip the boring bits. Suffice it to say that phenology is the study of seasonal biological development. Growth of plants and animals is dependent on food, nutrients, water, and light. Assuming that these are abundant, the factor that determines the speed of development is temperature. Models of crop and insect development are thus based on daily temperatures. Developmental stages are observed to follow the product of temperature and time: Growing Degree-Days. The Web site delves into chemical treatments for apple codling moth, using this insect as an example of applying a Growing Degree-Day developmental model to a real-world problem. The data from a weather station tracks daily minimum and maximum temperatures, and my WeeWX extension charts when egg laying is likely to be occurring based on cumulative Growing Degree-Days. Then orchard spraying can begin with less risk of waste due to starting too early or too late. -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 40° — Wind NW 5 mph — Sky overcast. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20220216192459.7fcded3e%40wealthy.
Re: [weewx-user] Re: All You Ever Wanted to Know About Phenology But Were Afraid to Ask
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 17 Feb 2022 10:27:48 -0800 (PST) Seth Ratner wrote: > I doesn't look like you keep your extension on GitHub. What did you > change in 1.3? I don't use GitHub because Git and GitHub are *terra incognita* to me. I've tried to grok them but to no avail ... yet. How did you learn it? I really need to order the Dummies book. The new version of the *WeeWX Phenology* extension is at: o http://lacusveris.com/Phenology/weewx-phenology-1.3.tar.gz The old version is at: o http://lacusveris.com/Phenology/weewx-phenology-1.2.tar.gz There are no new features. Most of the changes were to bin/user/phenologygenerator.py, which is a reimplementation of bin/imagegenerator.py. I thought I needed a more featureful plotting package. The updates this time around are due to calling-sequence changes in the functions defined in imagegenerator and in weewx.reportengine, weewx.xtypes, weeutil.config, weeutil.weeutil, and weeplot.utilities. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 22° — Wind N 10 mph — Sky overcast. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYg6iDQAKCRBg2/xipKOW UsByAJ4zNk/Bqolgfs0o7ViofDI84Fcn4gCfVrzfk1s9Aoe+hWDIdRgaQoMlTO0= =tvEY -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20220217132917.2cd17233%40wealthy.
Re: [weewx-user] Re: All You Ever Wanted to Know About Phenology But Were Afraid to Ask
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You mentioned Chill Hours. This keeps coming up, and I've wondered whether I ought to try to tackle it, but it's not a hot-button issue for me. I'm aware that most apple varieties require differing amounts of "chill hours" to bloom. However, the consideration of chill hours available in any given location is usually moot once an orchard is planted. I suppose it's possible that chill hours must be calculated annually for other kinds of crops. Also, people are sensitive to supposed climate shifts nowadays. They want to verify government figures for chill hours, so desire to do these calculations has some currency. There are other types of calculations similar to chill hours and growing degree-days. Have you looked into Pollen Tube Growth Models? o http://weather.wsu.edu/PollenModel/PollenTubeModel.pdf The *.pdf file has an internal date of 18 Mar 2014. It's impossible to tell from the presentation foils whether this remains an active locus of research, but I thought it was an intriguing idea. You count open apple blossoms, and, when you have enough for a good crop, you wait until the pollen tubes from the first blooms have had enough growing degree-days to reach the ovules. Then you repeatedly nuke all the blooms chemically to be sure there isn't any excessive fruit set. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 2° — Wind WNW 20 mph -BEGIN PGP SIGNATURE- iFwEARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYhD3aAAKCRBg2/xipKOW UmX2AJiyfDT4F8fqfuqoG5NecImhwn7ZAJ9LyPZ1EOr3wBnXyaIr9UuJWr/3xw== =e8a5 -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20220219075800.608dc1d1%40wealthy.
[weewx-user] How to Stop Posting Results from Bad Sensor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 "Wind direction" has gone bad. "The South Wind's the North Wind's baker." Until I can replace (or clean) the sensor, is there an easy way to begin posting null readings without deleting previously recorded historical data? - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 61° — Wind N 13 mph — Sky mostly cloudy. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZO9TZwAKCRBg2/xipKOW UqfVAJ4tyj698nmaWUb6GStx82xhfTdSTACdE+VRDiysmbpYu25ztnhe3J10RM0= =4Z0u -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20230830093415.60815976%40BigTimber.LacusVeris.com.
Re: [weewx-user] How to Stop Posting Results from Bad Sensor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 30 Aug 2023 07:46:21 -0700 Tom Keffer wrote: > [StdCalibrate] > [[Corrections]] > ... > windDir = None Easy Peasy! Thanks! - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 65° — Wind NE 12 mph — Sky mostly clear. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZO+HGgAKCRBg2/xipKOW Urg5AJ0WwJOrA8xbsiOQWnEywig9ap5EzQCbBKvtErNVTkxNpPWsqhQHucimQS0= =99KO -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20230830131450.5a866c56%40BigTimber.LacusVeris.com.
Re: [weewx-user] Re: That's what we call "Föhn"
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 20 Oct 2023 08:53:48 -0700 (PDT) "michael.k...@gmx.at" wrote: > Another fun fact: at least where I come from, we use "Fö(h)n" if we > want to name the device you know as "hair dryer". Fön is, or was, a > registered trademark for hair dryers and the name was inspired by > the Föhn. Both produce warm, dry air. ... so that's what Peter Sellers was trying to convey in the *Return of the Pink Panther*. + http://www.rosswalker.co.uk/movie_sounds/sounds_files_20150201_1096714/pink_panther/trouble.wav - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 57° — Wind NNW 18 mph — Sky mostly cloudy. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZTLJzAAKCRBg2/xipKOW UlL4AJ98T5Zmc6zPS1S9u9I9kczbHhiZFACeJb811aTJC4TQFeiLx+6ayDzgWQg= =2hCp -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20231020134116.1f5b70e5%40BigTimber.LacusVeris.com.
Re: [weewx-user] locale FTP template and belchertown theme
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 29 Nov 2023 08:34:17 -0800 Tom Keffer wrote: > It's a bit of a hack, but one thing you could try is to put something > like this at the top of a template (NOT TESTED): > #import locale > #locale.setlocale(locale.LC_ALL, 'es_ES') > This would set the locale. It will stay set until the next call to > setlocale(). Note that this will set the locale for *every* time that > the template is used. My understanding is that the call to locale.setlocale has global effect and impacts all running processes, but maybe I'm misinterpreting the "not thread safe" warnings. The OP seems to want to run out of two locales simultaneously — one for FTP and one for Belchertown. So long as these skins are single threaded (one being complete before the other begins), then each can call its own locale.setlocale. I'm not sure how *weewxd* runs its "services" repertoire, though. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 31° — Wind W 13 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZWdx/AAKCRBg2/xipKOW UqyOAJ4jbejtywEIrb6Q5Vwfb1fhVQVtQQCeKGNM4KanMdpiRvRoe1Hdpbs0xYo= =+cD5 -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20231129111644.7f54a290%40BigTimber.LacusVeris.com.
Re: [weewx-user] Localization,cn--->zh_cn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 6 Jan 2024 04:57:04 -0800 (PST) "'michael.k...@gmx.at' via weewx-user" wrote: > Another thing is that NotoSansSC is a bit large when it comes to > e.g. shipping it bundled with a skin. Not my field (Web design), but I'm under the impression you can load an (optimized) font over the wire by placing a "link" metatag in your HTML HEADers. + https://www.w3schools.com/csS/css_font_google.asp I believe your content-delivery network (CDN — everybody has one) will cache the common fonts. In your reader's browser, supposing modern high-speed Internet connection and sufficient bandwidth, it matters little whether it loads a font from the local harddrive or over the wire. Everyone can and does load fonts over the wire, so this is a way to economize the size of software packages. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 31° — Wind ESE 5 mph — Sky overcast. Light snow; mist. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZZmc7QAKCRBg2/xipKOW UhTKAJ0UsDhjEjlNBiICEjkUAr6hITxIeQCfVaF5EGH/CPEHBD0jDMMoLZJb168= =6Xer -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20240106123317.23f72837%40BigTimber.LacusVeris.com.
Re: [weewx-user] Test - Please ignore
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 2 Mar 2024 04:42:09 -0800 (PST) "'Jon Fear' via weewx-user" wrote: > Please ignore this message. I have had to rebuild my mailserver and I > am testing why I am not seeing much from groups... Ignorance is bliss! You may be aware (or not) that Google recently dropped USENET traffic from Google Groups. Depending on your Groups subscriptions, this may (or may not) have been a significant portion of your Groups traffic. On the uk.rec.motorcycles USENET news group, the policy shift brought an immediate blissful relief from spam by GMail-based dope dealers. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 44° — Wind SSW 10 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZeNQLgAKCRBg2/xipKOW UgdYAJ4+v7LlHxtlUXb2xqqGzn/S7DW4oQCdEDGILfz4lE/aHTEFN6QeywCKo3o= =wUJl -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20240302101333.3a0b1d94%40BigTimber.LacusVeris.com.
[weewx-user] Belling the Cat — Was: Launching Weewx
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 12 Apr 2024 08:43:04 -0500 DR wrote: > THE most often made comment from the developers is to turn on debug > and then furnish the log. Humpf! If it's that easy, why not put it in a script like a client-side *bugzilla*? Seems like a good idea to me. All us mice could approve, wouldn't we? Of course, it takes only one mouse to put a bell on this (apparently) sleepy cat. What scope should the script have? + NO PARAMETERS! + NO *.ini*! + Import *configobj*. + Get write authority to ~/weewx-data/weewx.conf. Not so easy because it could be in any number of locations. + Save *debug* option status. + Set *debug* option. + Ask real-time User of this script for *root* authority and escalate to it, telling User what we're doing and making doubly sure of his approval. Danger, Will Robinson! + Do *systemctl restart weewx*. If this fails, throw up hands. + Keep User on hold for an hour. + Reset *debug* option. + Do *systemctl restart weewx*. Expect success. + Checkpoint current log file. Not so easy because it could be in any number of locations. Allow read-only access to User. + Relinquish *root* authority. + Checkpoint the output of *weectl debug*. + Ask for the User's favorite code editor. Give Newbies *emacs*. + Conjure authority to send eMail. * What is your name? * What is your eMail address? * Which is your SMTP server? * What port is allowed? * What password is required? * What is your quest? * What's your favorite color? + Present a template for a well-formed Bug report. * What happened that prompted you to make this bug report? * What did you expect to happen? * What did you do to make it happen? * What was the most recent change you made? + Checkpoint the template and amendments. + Compose eMail to weewx-user@googlegroups.com. + Show the User what we're going to send (with attachments) and ask for approval. + Import *smtplib*. + Import *email.message*. + Do *SMTP.send_message()*. If this fails, throw up hands. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 53° — Wind NNW 25 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZhltfgAKCRBg2/xipKOW UuySAJ95fU4/3AMb+PFfbW90Zt+dPL9p/QCdHytzG+LsiviUTPGQJ+PQXd74aLI= =KydE -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20240412122101.3a35b3ca%40BigTimber.LacusVeris.com.
Re: [weewx-user] Using venv for weewx 5.0
On Fri, 14 Jun 2024 14:38:59 -0700 (PDT) vince wrote: > install ... prerequisite module(s) ... with pip just like you did > for v4 I note that Debian (and presumably downstream) packaging for the *python* development and run-time environments changed in v12 (Bookworm). The package *python3-pip* exists alike in v11 (Bullseye) and v12 (Bookworm), but, whereas *pip* was installed by default as part of *python* in v11 (Bullseye), in v12 (Bookworm) it is not. It must be installed via the above package, and *pip* will not actually run outside a virtual environment. This is to avoid conflicts between what *apt* installs in the Debian system environment and what *pip* installs in whatever environment. ... so *pip* installations in virtual environments, being good things, are being enforced, too. *WeeWX*'s installation instructions for *pip* in virtual environments (and for *apt* system-wide installations for that matter) seem correct. I believe I'm right in saying that *pip* is no longer packaged with *python*, but I can't find any good, concise summary of the situation in *python* release notes, Debian release notes, or on the 'Net. MEGO, looking But see: file:///usr/share/doc/python3.11/README.venv ... if you have python3.11 installed. Or look at: https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#python3-pep-668 These documents don't, IMNSHO, give background or much explanation and their prescriptions seem a trifle "over defined." -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 65° — Wind ESE 10 mph -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20240615110505.156f07ba%40BigTimber.LacusVeris.com.
Re: [weewx-user] Loading Xtides with Forecast
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 16 Jun 2024 10:17:11 -0700 "'John Kline' via weewx-user" wrote: > Note: current versions of debian (bookworm) do not include xtide. Apparently, it is available in the "Unstable (Sid)" repository. + deb http://ftp.us.debian.org/debian/ unstable main contrib I'm not sure how it's being built. There seems to be an outstanding year-old compile bug: + https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026439 - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 69° — Wind SSE 21 mph -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZm8v6AAKCRBg2/xipKOW UhjrAJ9aoTA2VgyXyRsIjaoGj1yOn0EibQCfcIW6iZXHNwDfP3RkKQy5gauOlQM= =QpY5 -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20240616133312.4a7bb828%40BigTimber.LacusVeris.com.
Re: [weewx-user] Re: It struck me like a lightning
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 29 Jul 2024 11:11:42 -0700 (PDT) Karen K wrote: > Heftig. > (I don't know how to say in English.) It's heavy, man! - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 79° — Wind NW 3 mph — Sky partly cloudy. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZqg6IAAKCRBg2/xipKOW UrICAJ4szofYNmlXQAhEgYY1jdIE2TuyngCePVBkCJsv1TVaz4vXp6YfIBXqdxg= =kWAi -END PGP SIGNATURE- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20240729195559.0754d7d4%40BigTimber.LacusVeris.com.