I am a little confused here. After looking at aprs.py it seems to me that
the extension only attempts to output rainrate and rainfall. The rainfall
since midnight appears to use an archive field called daily_rain - does
your archive have this field, and is it populated with data?? The standard
archive record has a field called rain which holds the rainfall for the
archive period.
RainRate comes either from your weather station if hardware supplied or if
software generated by weewx will be a rate calculated over a sliding window
- defaults to I think 15 minutes but you could set the window to an hour if
that is what you wanted, by a specifying it in weewx.conf . In
[[calculations]] set rain_period = sliding window size in seconds.
see this thread for details:
https://groups.google.com/forum/?fromgroups#!topic/weewx-user/gEe0fW0tQSU
So, what exactly is missing - or what has not been created? If the
extension is not creating what you want perhaps you should contact the
extension's author to see if they are willing to expand it for you!
Weewx is, I suspect, not a fault here and is working as expected and
intended. The APRS extension may well not be providing correct data, or
not what you desire - that is another story however, and may be because
your database does not have all the required fields necessary for the
extension!!
On Friday, 11 May 2018 16:39:01 UTC+3, Lorin Tremblay wrote:
>
> No problem,
>
> A)
> B) what is missing is always the since 0.0 mm 24/h and 0.0 mm since
> midnight, the difference was just a mistake.
> C) the information was never there, since I installed it
> D) NO and honestly I’m not that great a coding but I’m not even sure that
> it’s even there in the python code….
> Here is a part of the code that talks about rain.
>
> " if record.get('rainRate') is not None:
> # Rainfall (in hundredths of an inch) in the last hour
> data.append('r%03.f' % (record['rainRate'] * 100))
>
> if record.get('dailyrain') is not None:
> # Rainfall (in hundredths of an inch) since midnight
> data.append('P%03.f' % (record['dailyrain'] * 100))
> “
>
> I don’t see something that would create a 24/hrs and the part since
> midnight is there but obviously not working.
>
> You can see my beacon here.
>
> https://aprs.fi/#!mt=roadmap&z=14&call=a%2FVA2LGT-13&timerange=3600&tail=3600
>
>
> > On 10May, 2018, at 23:37, Andrew Milner <[email protected]
> <javascript:>> wrote:
> >
> > Perhaps some more info would help ….
> > eg -
> > a) what time is it/was it when you noticed this?
> > b) is there a reason why 'what is missing' is different at the top of
> the posting and the bottom of the posting?
> > c) has this just started to happen, or always happened?
> > d) is there anything in the log to assist with resolution?
> >
> >
> >
> > On Friday, 11 May 2018 05:47:02 UTC+3, Lorin Tremblay wrote:
> > Hi everyone!
> >
> > Can't isolate where the problem occurs from, but in my wx.pkt that is
> created by the extension I'm missing some rain info
> > Right now I have RAIN 0.0 mm/1hr but missing the 0.5 mm/24h 0.5 mm/since
> midnight.
> > So I only have the following
> > Rain 0.0 mm/1h
> > instead of
> > Rain 0.0 mm/1h 0.8 mm/24h 0.8 mm/since midnight.
> >
> > Can anyone help isolate the problem please.
> >
> > Thanks guys
> >
> >
> > --
> > 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] <javascript:>.
> > 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.