The "accumulators" are responsible for converting sets of LOOP packets into
archive records. The exact strategy depends on the type of observation. The
default is the average over the time period, but some types (e.g., rain)
require the sum of values, other the last value (dayRain). See the file
weewx/accum.py, variable defaults_ini
<https://github.com/weewx/weewx/blob/master/bin/weewx/accum.py#L475> for
the exact strategy for each type.

-tk

On Wed, Mar 27, 2019 at 11:50 AM Andrea Cecilia <[email protected]> wrote:

> Hi,
> I was studying what exactly the weewx database contains. I'm interested to
> 2 specific cases:
> 1) Davis datalogger connected to weewx with Davis datalogger: in this
> case, if hardware generation archive is set in weewx.conf, I'm pretty sure
> that in weewx.sdb I will just find the data as they are stored in the
> datalogger with no modifications. This means that the values are reported
> as written in the datalogger specifications
> <https://www.davisinstruments.com/product_documents/weather/spec_sheets/6510_40_44_50_60_SS.pdf>
> (mean temp, wind dir, wind speed, instantaneous humidity, total rainfall).
> 2) Davis station connected to weewx with software generation archive set
> in weewx.conf: in this case, weewx uses loop packets to generate archive
> records. And here there is my principal doubt: how are these records made?
> the weewx user's guide
> <http://www.weewx.com/docs/customizing.htm#Archive_records>isn't clear:
> it just says:
>
>> For example, for temperature, it's generally the average temperature over
>> the interval. For rain, it's the sum of rain over the interval. For battery
>> status it's the last value in the interval.
>>
>> Some hardware is capable of generating its own archive records (the Davis
>> Vantage and Oregon Scientific WMR200, for example), but for hardware that
>> does not archive data, WeeWX generates them.
>>
> So, how are the records calculated? Are the records the average values of
> all the parameters over the chosen archive interval? This would be
> obviously the better option, both because in this way there is no loop
> packet neglected, and because they are data that can be utilized for
> scientific purposes (instantaneous data every 5 minutes, for example, have
> no mean for a scientific study).
>
> Anyone can help me to solve this doubt?
>
> Thanks,
>
> Andrea
>
> --
> 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