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>
On Thu, Dec 17, 2020 at 9:13 AM Chuck Rhode <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, 23 Jun 2020 10:46:56 -0700 > Tom Keffer <[email protected]> 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/20201217111350.7db804b9%40wealthy > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAUiby46LdWJsKka6fkOGcXCjJMmTphDROD%3DkG0L7p9jw%40mail.gmail.com.
