The job of the --rebuild-daily option is to rebuild the daily summaries
from the archive data. If a value is not in the archive data, then it will
not appear in the daily summaries.

Unfortunately, you'd have to go back through your historical archive
records and calculate apparent temperature for all those old records. That
would require some Python and SQL programming.

I suppose it could be added as an option to wee_database, but I'd have to
say that's a low priority. Still, a well-written Pull Request would be
welcome.

-tk


On Tue, Apr 4, 2017 at 6:13 AM, Christopher McAvaney <
[email protected]> wrote:

> O.K. - some success (I think).
>
> I took the approach of creating a new schema file wview_apptemp.py (i.e.
> weewx/schemas/wview_apptemp.py) which consists of:
>     import schemas.wview
>     schema = schemas.wview.schema + [('appTemp', 'REAL')]
>
> I then modified the binding, checked database permissions, created and
> populated the new database, changed the weewx.conf to point to the new
> database and ran the wee_database script:
> wee_database /etc/weewx/weewx.conf --rebuild-daily
>
> But it doesn't appear to have calculated the appTemp for each archive
> record.
> Is there a way/tool to invoke that calculation on archive records?
>
> Regards,
> Christopher
>
> On Saturday, 1 April 2017 10:37:26 UTC+11, Christopher McAvaney wrote:
>
>> Righto. Will give that a go and let you know how it goes.
>>
>> Thanks,
>> Christopher
>>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to