Thanks Tom,

It worked fine, I did actually try that and it returned a zero (not
realising I had a zero in the database) and thought it had not worked
correctly. So if I want to eliminate the zeros as well?

On Tue, 17 Nov 2020 at 12:38, Tom Keffer <[email protected]> wrote:

> The aggregation type 'last' should do what you want:
>
> <p>The last non-null temperature this month is: $month.outTemp.last</p>
>
>
> On Tue, Nov 17, 2020 at 4:25 AM [email protected] <[email protected]>
> wrote:
>
>> Hi,
>>
>> Trying to find a 'WeeWX way' to find the last non-NULL record from the
>> database using a .tmpl file.
>>
>> Nothing obvious jumps out for me from the documentation. Does anybody
>> have any ideas?
>>
>> Thanks,
>> Ian
>>
>> --
>> 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/6f4aed6f-824c-4ea3-8114-0c979e2e263cn%40googlegroups.com
>> <https://groups.google.com/d/msgid/weewx-user/6f4aed6f-824c-4ea3-8114-0c979e2e263cn%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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CAPq0zEDUB8krNBpD88f%3Do2ARnr5O_0%3DKd5mhvWRRMG%3DN5dotzw%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEDUB8krNBpD88f%3Do2ARnr5O_0%3DKd5mhvWRRMG%3DN5dotzw%40mail.gmail.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CADASSaQHNqwQ8RumEkeBOpSh7bEumo%3DG-hC3XuyiiHMa9tkdvg%40mail.gmail.com.

Reply via email to