The aggregation ".last" will return the last non-null value in the
aggregation period. So, for example, you could use $day.pressure.last

On Tue, Apr 2, 2024 at 2:08 PM Kevin Key <kevin...@gmail.com> wrote:

> Hi,
>
> How do I get Weewx to always report the last non-null value?
>
> I've tried...
>
> [StdCalibrate]
>     [[Corrections]]
>         pressure = last.pressure
>
> and also
>
>     pressure = last(pressure)
>
>
> with no luck.
>
> What am I doing wrong?
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/611aedb8-a5a6-435f-a67b-c0b04ae42ac1n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/611aedb8-a5a6-435f-a67b-c0b04ae42ac1n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEA6ExD8iOi5x2R__zUD12VsqjLmcWtNA6ON297UEjGaqA%40mail.gmail.com.

Reply via email to