I've been able to confirm that this is a bug. Issue #654. <https://github.com/weewx/weewx/issues/654>
Thanks, Karen. I think this bug has survived all this time because plots of aggregation types that change the unit type are rare. XTypes are changing that. On Mon, Mar 8, 2021 at 5:52 AM Karen K <[email protected]> wrote: > Ah, ok, then. That is the section in skin.conf: > [[[monthRadiationEnergy]]] > line_gap_fraction = 0.04 > [[[[radiation]]]] > label = "Sonnenenergie (täglich gesamt)" > data_type = radiation > aggregate_type = energy_integral > aggregate_interval = 86400 > > Tom Keffer schrieb am Montag, 8. März 2021 um 14:33:49 UTC+1: > >> Yes, but I was thinking more in terms of the specification for the plot >> in skin.conf. What observation type did you say to plot? Are you >> accidentally plotting "radiation" instead of "energy_integral?" >> >> -tk >> >> On Mon, Mar 8, 2021 at 4:30 AM Karen K <[email protected]> wrote: >> >>> The database query I use is that: >>> _result = db_manager.getSql( >>> "SELECT SUM(radiation*interval)/60.0, " >>> "MIN(usUnits),MAX(usUnits) FROM %s " >>> "WHERE dateTime>? AND dateTime<=?" >>> % db_manager.table_name,timespan) >>> >>> -- >>> >> You received this message because you are subscribed to the Google Groups >>> "weewx-development" 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-development/ecc0844c-2061-4efb-8fd3-93a54f00936fn%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-development/ecc0844c-2061-4efb-8fd3-93a54f00936fn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > You received this message because you are subscribed to the Google Groups > "weewx-development" 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-development/0cb6b4b7-1bab-46cc-9e6e-63ef47e28206n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/0cb6b4b7-1bab-46cc-9e6e-63ef47e28206n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/CAPq0zEAy1Sbn-oqbsm8JHpKGz4vy1%2BtT%3D17vKaiKj%2BKrNvvKqA%40mail.gmail.com.
