Skip to content

How Does Rain (archive db) Work? #150

Answered by bellrichm
tomdotorg asked this question in Q&A
Discussion options

You must be logged in to vote

We may want to bounce this by the experts in the WeeWX Google Group. Here is some background information.

The field rain in WeeWX is a delta field. Prior to a 4.x release, WeeWX did not have the concept of a cumulative rain observation and it was the responsibility of the driver or service to convert from cumulative to delta. MQTTSubscribe provides this via a conntains_total option. Also see,
issue 149

I couldn't find much documentation on it, but it appears that WeeWX now has a rainTotal field. Here is some additional info.
weewx/weewx#491 (comment)
https://github.com/weewx/weewx/blob/a55892e1d5cd41167d7eff9635f5a1750ad2a850/bin/weewx/wxxtypes.py#L557

Net, I think this is what you want

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@tomdotorg
Comment options

@tomdotorg
Comment options

@tomdotorg
Comment options

@bellrichm
Comment options

@bellrichm
Comment options

Answer selected by tomdotorg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants