Yes, that will be it. Loading and calculating for a day will be straightforward, though it will involve a lot of complex calculations being done each time you call the aggregate (and this will occur each time you run the report, so potentially every archive interval minutes). On the other hand, adding wet bulb to the database will involve one complex calculation every archive interval and any time you use an aggregate it is a simple hit on the database. In this case I think it may be better to add wet bulb to the database.
Gary On Friday, 18 December 2020 at 06:14:05 UTC+10 [email protected] wrote: > No, i just adjustet the vaporpressure.py example. > > But i see what you mean, i have to calculate it by my own, this means i > have to load all data for a day and calculate it. > im not shure i can do this. > i quess its easyer and better to do this in the database. > > gjr80 schrieb am Donnerstag, 17. Dezember 2020 um 20:37:57 UTC+1: > >> Hi, >> >> When you wrote your xtype extension what methods did you implement? Did >> you implement get_aggregate()? >> >> Gary >> >> On Friday, 18 December 2020 at 02:41:34 UTC+10 [email protected] wrote: >> >>> Hi >>> i made a xtype extension for a wetbulp temperaur. this worsks fine with >>> the $current tag and the image generator. >>> >>> with tag $day.wetbulp_t.min the chetagenerator rise no error but >>> whrites $day.wetbulp_t.min in the file... >>> >>> do i have do add wetbulp_t in database for get this to work? >>> >> -- 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/8a9c7c5e-c135-4d10-b666-3591f241bd72n%40googlegroups.com.
