On Thursday, December 28, 2023 at 5:26:09 AM UTC-8 Tom Keffer wrote:

Alternatively, one could write a specialized algorithm for windchill. The 
sensible thing to do would be to read a year's worth of temperature and 
wind speed, all in one go --- one database access. Then use the results to 
calculate the year's worth of windchill. The downside is that it's not 
general at all: it would only know how to calculate windchill. The upside 
is that the existing xtypes API can be used right now to do this. You'd 
have to write extensions for all of your missing synthesized types. 


I see two things here.  One is extension(s) to handle the missing 
synthesized types in archive periods moving forward.  The second is some 
kind of standalone utility to 'one time' catch up a legacy db with those 
items that you wished it would have calculated in the ancient past.  Have 
the standalone utility to get the legacy pain over with 'once' so you don't 
have to feel that pain every 5 minutes moving forward....

Kinda like how rebuild-daily or calc-missing work (?)

-- 
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/d07cd082-dd2c-42bf-bef0-a051241b5388n%40googlegroups.com.

Reply via email to