That's a lot of questions! Answer to a few of them: Wettest day of the month: $month.rain.maxsum Time of the wettest day of the month: $month.rain.maxsumtime Driest day of the month: $month.rain.minsum Time of the driest day of the month: $month.rain.minsumtime
Similar pattern for the wettest / driest day of the year. Similar pattern for the wettest / driest day for all time (use tag $alltime) To get wettest/driest month or year would require some custom code (aggregates like ".maxsum" work only for days). You can either write a custom search list extension <http://www.weewx.com/docs/sle.html>, or a custom xtypes aggregation <https://github.com/weewx/weewx/wiki/WeeWX-V4-user-defined-types>. See the xtypes extension weewx-xtypes <https://github.com/tkeffer/weewx-xaggs>. You may find it useful if for no other reason than as a guide to how to write a custom aggregation. It wouldn't be hard to extend it to do things like historical highs and lows for months and years. -tk On Sun, Sep 25, 2022 at 6:00 AM michael.k...@gmx.at < michael.kainzba...@gmx.at> wrote: > How to calculatate the maximum or minimum daily/monthly/yearly sum of a > value? > > E.g.: the wettest day of the month (so far)? The wettest month of the > year(so far)? The wettest day of the year (so far)? The wettest year? The > wettest month of all time? The wettest day of all time? > > The dryest day of the month? The dryest month of the year? The > dryest year? The dryest month of all time? > > And how to exclude the current month, year for these calculations? From > the 1st of January's point of view, the current year is probably the dryest > year of all time, from the 1st of the current month's view, the current > month is probably the dryest of the year, at least ex aequo. > > -- > 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/8cf127e5-209e-482f-a1cb-5778eb9efbdan%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/8cf127e5-209e-482f-a1cb-5778eb9efbdan%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPq0zEDNFnwhg%3DHQ_CtAD82K_5xxw9tjnU9R%2BJwfrKde4zOBCg%40mail.gmail.com.