[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] 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.
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] 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.
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: 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.
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.
[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.
[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: 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.
Re: [weewx-user] A new weather.gov is coming.
On Mon, 11 Nov 2024 08:45:41 -0500 Paul R Anderson wrote: > I only recently stumbled across it. > Quote from US National Weather Service: >> Over the next few years, we are working towards a site that will >> be: >> + One cohesive experience >> + Easy to navigate and understand from any device >> + Accessible to all users, regardless of location, wealth, >> education, age, or ability >> + Available in more languages >> + A valuable resource for the public, as well as partners of the >> National Weather Service >> You can find a beta version of the new site at: beta.weather.gov. I guess I'd better get my buns in gear. I have a Web page that puts a little lipstick on the pig that is the old NWS site, which was badly in need of a woke overhaul. + https://lacusveris.com/Wx I rewrote my page over the summer. It amounts to about 6500 lines of *python* scripting. Maybe I'll need to do more (or a lot less) with the new site. -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 48° — Wind WNW at 21 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 visit https://groups.google.com/d/msgid/weewx-user/2024095239.0f63d2d4%40BigTimber.LacusVeris.com.
Re: [weewx-user] A new weather.gov is coming.
On Mon, 11 Nov 2024 09:52:39 -0600 Chuck Rhode wrote: ... and, of course, I need to fix my sig for my new site. -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 47° — Wind WNW at 21 mph. Sky mostly cloudy; light rain. -- 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 visit https://groups.google.com/d/msgid/weewx-user/2024102351.04ceb18d%40BigTimber.LacusVeris.com.
Re: [weewx-user] Station Replacement Calibration Strategy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 10 Jan 2025 09:08:52 -0800 p q wrote: > I have an Acurite station, different model. ... I've built my own > temperature sensor and mounted it elsewhere and send the data via > wifi and MQTT. Thanks for replying to my post in the wrong thread. > I've also had to replace the rain gauge after 8 years of > operation. ... I don't fault Acurite for this, things wear out. My sentiments about Ambient, too > In terms of the barometer, mine is in the display unit, not the > sensor. I have no idea how accurate it is. It appears to track my > local airport pretty well. What matters for me is more changes in > pressure than the absolute value, so if it's off by a couple of > percent, it doesn't bother me. That is correct: Pressure sensor is in the indoor unit. I guess that I will try to switch to AcuRite sometime today. I appreciate your feedback. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 26° — Wind WNW at 9 mph. Sky clear. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZ4KN8AAKCRBg2/xipKOW UnY7AJsGIYmgEsoKKUko1GBiKw06zKwwDACfbFkNJaJwyz94ETvrIeZPUbQ5UgM= =YCUB -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 visit https://groups.google.com/d/msgid/weewx-user/20250111092744.006ba8d5%40BigTimber.LacusVeris.com.
Re: [weewx-user] Re: Import WeatherLinkLive exported CSV data into WeeWx
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 23 Dec 2024 12:04:09 -0800 (PST) Paul wrote: > > Invalid 'Time' field. Cannot convert '05 Dec 2024 00:00' to > > timestamp. Nothing done, exiting. Just guessing here: Your *.csv timestamps are not what SQL expects. Try something like this: > python >>> import datetime >>> FMT_IN = '%d %b %Y %H:%S' >>> time_stamp = '05 Dec 2024 00:00' >>> datetime.datetime.strptime(time_stamp, FMT_IN).isoformat(sep=' ') '2024-12-05 00:00:00' >>> quit() - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 34° — Wind NW at 3 mph. Sky overcast; snow; fog. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZ2nX4gAKCRBg2/xipKOW UmQMAJ4sm+CRzpSEpek+0UQ9jGo/MwUGhQCfbnaCkTc3rWUX0zPyemoWdWkt2jg= =Nr6+ -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 visit https://groups.google.com/d/msgid/weewx-user/20241223153633.2700eee4%40BigTimber.LacusVeris.com.
[weewx-user] Station Replacement Calibration Strategy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Santa Claus brought me a new-in-the-box, really-old-model AcuRite 02064C to replace an Ambient WS2095 that has been in service at least seven years. Both are USB tethered, so I'm confident about my hardware config, although it's viability remains to be seen. (The *weectl device* utility DOES NOT support the AcuRite although there is a *weewx* driver.) Both stations are operating. I've resisted the temptation to try to switch WeeWX to monitoring the AcuRite because there are discrepancies between the readings displayed on the indoor consoles. I don't know why I expected them to be identical, and I don't know how much precision to expect. It may well be that the discrepancies are within the limits of accuracy for this class of devices. I report to AWEKAS, CWOP, PWSWeather, WOW, and Wunderground, so I think I ought to exercise some care with my calibration in order not to contribute unnecessarily to public perceptions of Anthropogenic Global Warming (AGW). In fact I'm motivated to replace the Ambient station because the wind direction sensor failed in Aug 2023. > readingAmbient AcuRite KSBM > ---- - > outdoor temp26.2°F26°F 26.1°F > outdoor humidity53% 83% 80% > pressure29.24 inHg 29.84 inHg >barometer 29.56 inHg Right now the outdoor temp is the same on a cloudy day, but I've seen the AcuRite 2°F higher and 2°F lower. It has a small solar panel and is aspirated, so it may be more reliable. It's just merely possible that its humidity is much more nearly correct, too, because it IS CLOSE to what the Sheboygan, WI, airport is reporting. According to the WeeWX hardware pages, both stations report "pressure" so I assume that the contradiction is in the labeling on their consoles and not in what they think they are measuring. Again the AcuRite is more nearly correct, according the airport. Goodness knows how the actual altitude differs but it can't be more than a couple orders of magnitude in feet. ... so my questions are: Q1: Is this level of obsession justified? Q2: Should I attempt any calibration of the AcuRite station? Q3: Or should I just let it fly without providing any smoothing between old and new readings? Q4: Do I need to have youinses change the WeeWX map, or will my station model populate automagically? - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 25° — Wind WSW at 7 mph. Sky overcast; light snow; mist. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZ4FNnQAKCRBg2/xipKOW UkuiAJ434hOrwrf28Y3opzagIUl4MFm0gQCbB+WApkcJSJRg+pCa/Vgu8hiLhHc= =TNQQ -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 visit https://groups.google.com/d/msgid/weewx-user/20250110104101.4d98fbcf%40BigTimber.LacusVeris.com.
Re: [weewx-user] Help with image generation
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 15 Mar 2025 14:03:47 -0700 (PDT) "cric...@pobox.com" wrote: > Any suggestions are welcome. Did you say, "ANY suggestions?" This is a long shot: How about the replacement image generator that comes with the Phenology extension? + http://lacusveris.com/Phenology It's ... different. It aims to reproduce "Seasons" skin images exactly, so it probably suffers from the same magnification issues, but maybe not. Save this for a last-ditch effort, though. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 50° — Wind SW at 23 mph. Sky overcast; light rain. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZ9X/zAAKCRBg2/xipKOW UsQNAJsGEpOVAbdAWTYcxYnaCmANAA2cJwCffoBx7RE8nSquYsZY1fcS+BWbPPk= =ZESb -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 visit https://groups.google.com/d/msgid/weewx-user/20250315173140.51f43824%40BigTimber.LacusVeris.com.
Re: [weewx-user] Growing Degree Day observation use
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 17 Feb 2025 20:46:04 -0800 (PST) Andrew McGinnis wrote: > There's a dearth of information on Growing Degree Days (GDD) for > weewx. Hopefully someone out there has done it. I publish a *WeeWX* extension that produces GDD graphs for control of codling moth on apples in addition to other insect crop pests. See the list of extensions at: + https://github.com/weewx/weewx/wiki *weewx-phenology* is listed under XTypes and may be downloaded from the page at: + https://lacusveris.com/Phenology/weewx_extension.shtml Including a GDD XType in existing templates can be a bit fraught because the calculation is a cumulative one that requires iteration from some point in the past. It's not cheap, but neither is *weewx-phenology*'s image generation. At this time of year, there isn't much to see, but you can view a place-holder graphic at: + https://lacusveris.com/Weather/phenology/ ... which shows current conditions in my backyard. The GDD report is at: + https://lacusveris.com/Weather/phenology/cumulative_growing_degree_days.html Suppose you untarred the *weewx-phenology* archive to ~/weewx-phenology, then the template that produces the GDD report may be seen at ~/weewx-phenology/skins/Phenology/cumulative_growing_degree_days.html.tmpl. Be forewarned: It's messy. Mostly it's *python* variable assignments and shows the day date looping required. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. -7° — Wind WNW at 15 mph. Sky clear. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZ7SlmAAKCRBg2/xipKOW Uq0cAJ0VozcUYC9N2XBsy9N/nDiVsj/EHACcC0BNaHxdllQ7euMvcW74fGdiIMs= =xuFs -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 visit https://groups.google.com/d/msgid/weewx-user/20250218092200.6864c594%40BigTimber.LacusVeris.com.
Re: [weewx-user] Re: Extension SteelSeries Weather Gauges
On Fri, 23 May 2025 13:02:22 -0500 Chuck Rhode wrote: > > chromium --allow-file-access-from-files \ > > /home/ccrhode/weewx-data/public_html/ss/index.html Once upon a time there was a --enable-file-cookies, too, but this is gone from *chromium* nowadays apparently. I should point out that the SteelSeries Gauges Extension does set cookies for the units radio buttons so that these settings are preserved across browser sessions but only for http:// protocol URLs. It does nothing to preserve session settings for file:// protocol URLs due to limitations in jview.ajax one supposes. -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 61° — Wind E at 8 mph. Sky clear. -- 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 visit https://groups.google.com/d/msgid/weewx-user/20250525144957.5e4bc4bf%40BigTimber.LacusVeris.com.
Re: [weewx-user] Re: Extension SteelSeries Weather Gauges
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 25 May 2025 21:50:16 -0700 (PDT) gjr80 wrote: > Probably worth while noting who's who in the zoo here... I find that I've edited the following: > ./weewx.conf > ./skins/ss/scripts/gauges.js > ./skins/ss/skin.conf > ./skins/ss/css/gauges-ss.css ... so, for me, gauges are not as much carefree magic as a couple of WeeWX extensions. The black magic, of course, is in gauges.js and its included javascript libraries. There's no paramaterization of gauges' appearance or even choice of gauges in skin.conf as a WeeWX user might expect there to be. My knee-jerk reaction is that most of the top-level logic of gauges.js ought to be dragged over to ./skins/ss/index.html.tmpl, but, as a Python enthusiast, I'm disgustipated by javascript to the point that reverse-engineering it is a noisome prospect. There may be a half-way measure to be taken. I'm thinking the default gauge appearance parameters structure could be exported from gauges.js as a json file if it doesn't exist and imported to gauges.js to overlay defaults if it does exist. This json file would be edited once, but it could be created by a cheetah tmpl, too, except that means it would be recreated in every report cycle doesn't it? ... which would be stupid. Gauge selection and layout is yet another matter, though, but I'm thinking I'd tackle one or both issues ... in my spare time naturally. Gary, you've been through this rats' maze. Are there blind alleys I should avoid? - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 55° — Wind NE at 9 mph. Sky clear. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCaDR1QgAKCRBg2/xipKOW UhUHAJ9znEUgMC/tC0PfSQOMVMiNaf8TWQCePu/0/0ecindSw4/O4lYNf9oQ6/E= =Czkw -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 visit https://groups.google.com/d/msgid/weewx-user/20250526090553.07223480%40BigTimber.LacusVeris.com.
[weewx-user] Extension SteelSeries Weather Gauges
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've installed two extensions: SteelSeries Weather Gauges (https://github.com/gjr80/weewx-steelseries) and Rtgd (https://github.com/gjr80/weewx-realtime_gauge-data). A frequently updated gauges-data.txt file is found at public_html/. A less-frequently updated gauges-data.txt file is found at public_html/ss/. Both files are ftp'd to my web server, and — in fact — the page at https://lacusveris.com/Weather/ss/index.html does find the frequently updated gauges-data.txt file. The SteelSeries Weather Gauges Extension specifies (in ss/scripts/gauges.js) that, "The realtime files should be absolute paths, "/xxx.txt" refers to the public root of your web server," but the nearby specification: > realTimeUrlWeewx : 'gauge-data.txt' ... does not appear to be an absolute path. I suppose IT IS though. Of course, in weewx.conf [RealtimeGaugeData], rtgd_path is "Path to gauge-data.txt. Relative paths are relative to HTML_ROOT. If empty[,] HTML_ROOT is used." In summary, each of the two extensions has a specification for the path to the gauge-data.txt file, but one is absolute and one is relative. Is there some way I can write the ss/scripts/gauges.js specification so that gauge-data.txt can be found relative to HTML_ROOT? It doesn't look like it. I don't really want to hit my web server. Instead, I want to browse locally to file:///home/ccrhode/weewx-data/public_html/ss/index.html so that I can do away with my old Ambient USB console in favor of a new console-less Ecowitt WiFi gateway and still see near realtime indicators. Please tell me I'm being unreasonable. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 55° — Wind WNW at 13 mph. Sky overcast. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCaC+5VAAKCRBg2/xipKOW UqhyAJ9awNSwF3BcMUb2ov/bD6YyXpItqACdG5assettwh4uO+7kz5dWwlil6EI= =QzFE -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 visit https://groups.google.com/d/msgid/weewx-user/20250522185459.0fbde67c%40BigTimber.LacusVeris.com.
Re: [weewx-user] Re: Extension SteelSeries Weather Gauges
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 22 May 2025 17:23:13 -0700 (PDT) vince wrote: > A file:// url is based on your host filesystem namespace but a > https:// url is based on the webserver docroot, so unless your > webserver docroot is / which would be a massive security risk, you > are trying to do two conflicting things. Hence my vain desire for a location for gauges-data.txt relative to index.html rather than an absolute one. > Why not just run a local webserver and hit that url ? My Web Hosting Provider (WHP) takes a great deal of care to harden my webserver for me. My opening a local webserver on my desktop machine would expose me to a lot of unknown risk. I fool with *nginx* over there, not over here. P.S.: The same may be said for MQTT. I run a local (non-websockets-capable) mosquitto broker, but I find all the javascript libraries give that the horse-laugh. Would that browser support for python scripting were more prevalent - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 49° — Wind E at 9 mph. Sky overcast. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCaC/IAQAKCRBg2/xipKOW UiEpAJ9TC/K10j+V+uziG6wp6+K/lJwSdACeO9doFenrrozxZxiAcea3G3nHhqk= =9u7V -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 visit https://groups.google.com/d/msgid/weewx-user/20250522195737.41071190%40BigTimber.LacusVeris.com.
Re: [weewx-user] Re: Extension SteelSeries Weather Gauges
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 22 May 2025 18:53:00 -0700 (PDT) gjr80 wrote: > If you have installed both the weewx-steelseries and > weewx-realtime_gauge-data extensions you should disable the > weewx-steelseries generation of gauge-data.txt and delete from your > web server and WeeWX machine any gauge-data.txt files previously > generated by weewx-steelseries. This can be achieved by commenting out the [[[data]]] stanza in weewx-data/skins/ss/skin.conf: > [CheetahGenerator] > encoding = html_entities > [[ToDate]] > [[[index]]] > template = index.html.tmpl > #[[[data]]] # 2025 May 23 > #template = gauge-data.txt.tmpl I feel it's better to put the RTGD gauge-data.txt file closer to the *.html files, so I modify the [RealtimeGaugeData] stanza in weewx-data/weewx.conf, too: > [RealtimeGaugeData] # 2025 May 22 > > # Path to gauge-data.txt. Relative paths are relative to HTML_ROOT. If > # empty HTML_ROOT is used, if setting omitted altogether /var/tmp is used. > rtgd_path = ss # 2025 May 22 Then, the default setting for realTimeUrlWeewx in weewx-data/skins/ss/scripts/gauges.js is correct: > // The realtime files should be absolute > paths, > // "/xxx.txt" refers to the public root > of your web server. > realTimeUrlWeewx : 'gauge-data.txt', // *** WeeWX Users: Change to your > location of the gauge data file *** In spite of the bogus comment above, the gauge-data.txt file is loaded from the same folder as index.html. I receive a working page of gauges from my Web site at https://lacusveris.com/Weather/ss/index.html even though the rsync doesn't happen very often. Bringing up a local copy file:///home/ccrhode/weewx-data/public_html/ss/index.html in my browser doesn't work at all, though. Apparently, this is due to jquery.ajax's mistrust of local data. But wait! Hammering at the Gates of Google yields this tidbit: > chromium --allow-file-access-from-files > /home/ccrhode/weewx-data/public_html/ss/index.html ... which sidesteps the issue. Firefox solutions involve relaxing security policies with (for me) uncertain consequences. Hooray! It appears to me that I'm able to browse a realtime local gauge page and use that in place of a weather station console. Finally, I am convicted to say that the SteelSeries Gauges are heartbreakingly beautiful to look at and legible, too. And they have tons of configurable options. I think something could be done with providing a set of themes for users to play with in weewx-data/skins/ss/skin.conf — much like what I've done for the Seasons skin in my WeeWX Phenology extension: https://lacusveris.com/Phenology/phenology_image_generator.shtml - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 53° — Wind NW at 9 mph. Sky overcast. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCaDC4LgAKCRBg2/xipKOW UoB9AJ0W99M54VVq1oojbnuoTJBIJ2h8QACfahggFmdDt4932lbkiulnJrz6fB8= =0J7E -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 visit https://groups.google.com/d/msgid/weewx-user/20250523130222.7c913811%40BigTimber.LacusVeris.com.
Re: [weewx-user] https://github.com/gjr80/weewx-gw1000/wiki has disappeared from GitHub
On Sun, 1 Jun 2025 21:14:19 +0200 "'Rainer Lang' via weewx-user" wrote: > Is there a special reason why this link doesn't work anymore ? Me, too! I have an Ecowitt GW1200 half-way installed, and today is the day I reached for the WeeWX driver. Arghhh! -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 65° — Wind SE at 10 mph. Sky clear. -- 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 visit https://groups.google.com/d/msgid/weewx-user/20250601144726.3a231199%40BigTimber.LacusVeris.com.
Re: [weewx-user] Re: Extension SteelSeries Weather Gauges
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 26 May 2025 22:21:08 -0700 (PDT) gjr80 wrote: > The usual process is to make any ‘look and feel’ changes to > gauges.js and on a WeeWX restart gauges.js is uploaded to your web > server and the changes take effect. > To me the real solution is to have the SteelSeries weather gauges > author include support for ‘look and feel’ settings in a separate > file. I think you're right! ... and there ARE A LOT of settings! + https://nicolas-van.github.io/steelseries/ Click "Parameters" under , where you can tweak things and see the results in real time. ... or perhaps see: + https://www.wilmslowastro.com/steelseries/demoRadial.html > Note that some of the ‘looking feel’ config settings used in > gauges.js rely on variables in the underlying SteelSeries gauges > code, eg line 102: > lcdColour : steelseries.LcdColor.STANDARD Yeah, those things are structures, not just integer enumerators, which is pretty disturbing. Still, it should be doable to sus out the supported values by examining the non-minified SteelSeries source code. This may be that source code: + https://cdn.jsdelivr.net/npm/steelseries@2.0.7/dist/steelseries.bundled.js What we have here are constant structures that go by terse names (BEIGE, BLUE, ORANGE, ... STANDARD) that can be assigned to parameters with terse names (LcdColor). Clearly Users don't get to play with combinations unless they're willing to wallow in the messy details. To repeat previous posts, the designer did really nice work with rendition. It looks like the code has a lot of if's, and's, and but's to step around obvious conflicts between choices of values for parameters. My impression is that it should be possible to confine, to shape, and to channel User choice and expectations by providing cascading themes in skin.conf. (Necessarily terse) theme names would be provided to duplicate all the settings of all the parameters. Also, there would be theme names for more or less comprehensive combinations of detailed themes, such as reverse-color schemes with dark dial faces. Finally there would be global themes for arbitrary effects, such as steampunk. See, for example, these real-life historical steam gauges at the Cincinnati Water Works: + https://www.flickr.com/photos/33523379@N03/12879445113/in/album-72157641751207373/ One could specify a global effect and then override parts of it with more specific themes, such as pointer type and color. One could manage cascading themes in the *configobj* skin.conf file and mask global settings with more specific ones in a python script to be included in a cheetah generator *.tmpl file, and one could perhaps write a *.json parameter file for gauges.js from that. It's hard to set up, but dead easy for Users to use. The more global themes would, of course, override the background and foreground colors for the index.html page itself, which would require a mod to index.html.tmpl, too. Obviously these are just ramblings so far. You are correct, though. I don't see any way to achieve this without modifying scripts/gauges.js, which is obliterated with normal upgrades. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 59° — Wind ENE at 9 mph. Sky overcast. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCaDdIFwAKCRBg2/xipKOW Ugy1AJ46yuv3N69tTAtbeFGc9a6OHrfuwwCbBkUPSd00pnmmDMxtwi5uvLDLumY= =zFzf -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 visit https://groups.google.com/d/msgid/weewx-user/20250528122959.63bc11af%40BigTimber.LacusVeris.com.
Re: [weewx-user] Re: Extension SteelSeries Weather Gauges
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 26 May 2025 22:21:08 -0700 (PDT) gjr80 wrote: > If you want to go down the path of modifying gauges.js to use > external config settings if available, I would be sticking to those > ‘look and feel’ variables/function I mentioned above. Yes, I did need to modify gauges.js, which makes this approach inappropriate for a WeeWX extension. Nevertheless; to see examples of SteelSeries Gauge Themes, navigate to: + https://lacusveris.com/Steelseries Gauges/ ... where I provide lots of working code, instructions, and rationale such as it is. You can see (almost) live data at: + https://lacusveris.com/Weather/ss/ - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 63° — Wind W at 5 mph. Sky clear; haze. -BEGIN PGP SIGNATURE- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCaEjXQAAKCRBg2/xipKOW UucAAJ9Uhyv0B11rz3/+xUXAN3wXZ1uk0gCfQMBD2gfZgFrC/TQDtKL9C3X/Nw4= =nE6r -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 visit https://groups.google.com/d/msgid/weewx-user/20250610200920.6e27fa27%40BigTimber.LacusVeris.com.