As I said in an earlier email It would be a large project. Not only does weewx (sensibly) assume that a > day starts at midnight, so do the underlying Python functions upon which it > relies. It would require not only rewriting all of the stats calculations, > but also providing alternatives for Python staples such as > datetime.datetime (which is used to calculate the start of a month, etc.).
I should add, it would also require either rebuilding all daily summaries to reflect a different start time, or include another daily summary with the different start time. Very useful feature, but a lot of work. Who's going to take it on? -tk On Thu, May 7, 2020 at 4:26 AM Florentin Prevost <[email protected]> wrote: > Hi, > > What do you think about this feature ? > > Best regards, > > Le mercredi 6 mai 2020 08:57:03 UTC+2, Florentin Prevost a écrit : >> >> Hi Tom, >> >> OMM have a standard method to calculate Tn, Tx, RR, etc. It is World >> Meteorological Organization if you don't know in English. >> >> Weewx calcule each day from 00AM to 00PM but WMO (OMM in French) say that >> : >> >> >> TN: 6 p.m. UTC the day before until 6 p.m. UTC the same day >> TX and RR: 6h UTC the same day at 6h UTC the next day >> Wind / Insolation / Cloudiness / Pressure: 0h UTC the same day at 0h UTC >> the next day >> >> So much people who comes from Europe that I talk with would like to have >> this option in sql database. >> >> Le mardi 5 mai 2020 23:37:51 UTC+2, Tom Keffer a écrit : >>> >>> Sorry. Can you give us more details? I do not know what the OMM standard >>> is. And, I don't know what you mean by "Weewx calculate each 00AM to 00PM" >>> >>> On Tue, May 5, 2020 at 9:07 AM Florentin Prevost <[email protected]> >>> wrote: >>> >>>> Hi, >>>> >>>> I would like to know if it possible in futur to add in database values >>>> from OMM standard. At the moment, Weewx calculate each 00AM to 00PM. >>>> >>>> Some users that I can talk with, would like to have this option on >>>> Weewx. >>>> >>>> -- >>>> 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/7b0bb1c0-17e7-437e-9989-011f5dcc44d9%40googlegroups.com >>>> <https://groups.google.com/d/msgid/weewx-development/7b0bb1c0-17e7-437e-9989-011f5dcc44d9%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/aff7a251-6ed4-4832-b382-1ea246ae5059%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/aff7a251-6ed4-4832-b382-1ea246ae5059%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/CAPq0zECi5j5P%3DBc%3D3MemjsMwtb8x2KXez3BHFWvRcavCuz8tMg%40mail.gmail.com.
