Ah ha, thank you!
I recently switched from wview to weewx and have TE923W hardware and was
curious about this in te923.py:
The manual says that a single bucket tip is 0.03 inches. In reality, a
single
bucket tip is between 0.02 and 0.03 in (0.508 to 0.762 mm). This driver
uses
a value of 0.02589 in (0.6578 mm) per bucket tip.
That 0.6578mm comes from the specification section of the manual, but it is
not right. Back when I installed my station years ago, I observed 36
bucket tips for 1.0 inches on the console, so I had my wview hacked like
this:
// decode rain counter:
sensors->rain = (float)(buf[31] * 0x100 + buf[30]);
// TE923 manual says resolution == 0.03 inches, not 1 millimeter
(0.039").
// But console is not divisible by 0.03 after a few tips. Each
// bucket tip is actually about 1/36" or 0.27777777" (0.705556 mm).
sensors->rain /= 36;
All TE923 owners could add [StdCalibrate][[Corrections], but I think fixing
the source would be better. I propose:
--- te923.py.orig 2019-07-14 07:12:05.000000000 -0500
+++ te923.py 2020-06-13 16:24:06.256327426 -0500
@@ -1261,7 +1261,7 @@
packet['rainTotal'] = data['rain']
if packet['rainTotal'] is not None:
- packet['rainTotal'] *= 0.06578 # weewx wants cm
+ packet['rainTotal'] *= 0.07055555 # weewx wants cm (1/36"
bucket tips)
packet['rain'] = weewx.wxformulas.calculate_rain(
packet['rainTotal'], last_rain)
Now, my 0.02778/0.02589=0.070555/0.06578 correction is only 1.073, not as
large as your reported 16.9/14.5=1.166 correction. But I think you should
try patch here and see if it matches your console. If so, I think this
should be fixed in the source unless other TE923 owners can show their rain
buckets are measuring a different amount.
I think the 0.6578 in the min/max section is wrong also. But I haven't yet
been ablt to match my historical log. I might need some rain before I can
adjust that correctly.
--
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 on the web visit
https://groups.google.com/d/msgid/weewx-user/e12b4a1d-c5fa-4689-b628-b3bb4b467546o%40googlegroups.com.