As I read it, the code for determining length of day and the selection
of longer or shorter boilerplate phrase needs to be done once a day.
To me, best is making sure the code gets executed near the beginning of
each day, but not run more than needed. So putting it inside the
reading of loop packets is wasteful, which is as you've said not as much
of a problem as it used to be with the faster processors now.
Let me ask: Are you running this code to do this additional tweak to
make WeeWx even nicer? If you are, where did you put your snippet,
efficient or not?
The table display, as I mentioned, belongs in the current.inc, but I
don't know where to put the other code. Can you help? If you don't run
this add in, but have a guess as to where it might be evaluated, can
you share?
Dale
--
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 visit
https://groups.google.com/d/msgid/weewx-user/a1e4bc30-aa99-4618-a7ba-0cdeb1baf095%40gmail.com.