That sounds about right. Note: values can be None, so the most robust expression would be
rain = rain * 1.15 if rain is not None else None etc. BTW, why 0.23mm? That's an odd number. A normal Davis bucket represents 0.01 inch, or 0.254 mm. -tk On Tue, Jan 8, 2019 at 1:03 PM Colin Larsen <[email protected]> wrote: > I agree Andrew, I guess we could call this a work in progress by the > developer :) > > One other question on rain - my bucket tip has calculated out to 0.230 mm > per tip. To allow for that I have added the following into weewx.conf. Are > they all required? Is the correction factor for the rain rate correct or > required at all? I noticed with a single tip the rainfall recorded correct > at 0.23mm but the rainRate was 0.2mm per hour, so added the conversion below > > rain = rain * 1.15 > > dayRain = dayRain * 1.15 > > monthRain = monthRain * 1.15 > > yearRain = yearRain * 1.15 > > rainRate = rainRate * 1.15 > > On Wednesday, 9 January 2019 02:37:59 UTC+13, Andrew Milner wrote: >> >> if it is a true emulator then I would have thought he should be providing >> all the fields specified by Davis for LOOP packets in their comms protocol >> >> https://www.davisinstruments.com/support/weather/download/VantageSerialProtocolDocs_v261.pdf >> >> >> On Tuesday, 8 January 2019 12:01:53 UTC+2, Colin Larsen wrote: >>> >>> Yep :) >>> >>> On Tue, 8 Jan 2019, 22:32 gjr80 <[email protected] wrote: >>> >>>> On Tuesday, 8 January 2019 19:01:13 UTC+10, Colin Larsen wrote: >>>>> >>>>> Hi m >>>>> >>>>> Wow, thanks for all that information! The developer in the end did >>>>> give me the fix to add monthRain into the Loop data (he took a little >>>>> convincing) and I think it all looks good now. I need to do some db >>>>> cleanup >>>>> to get rid of some untidy data, but that will be easy enough. >>>>> >>>>> The station is Arduino based and most users use Cumulus/CumulusMx >>>>> which is apparently quite happy without that Loop record. >>>>> >>>> >>>> Hmm, OK, so it was half an emulator then :) >>>> >>>> Gary >>>> >>>> -- >>>> 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. > -- 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.
