2. Use aggregate type 'last'. It will return the last non-null value. For 
example,
>
>
> <p>The last measured sea temperature is $day.seaTemperature.last at 
> $day.seaTemperature.lasttime</p>
>
> You don't want to use $latest.seaTemperature because that would give you 
> seaTemperature in the last record of the database, which is likely to be 
> null.
> pond.txt for reading 60 minutes and remove it at 9:18. No data is 
> available for reading until new data is read
>
> Thanks! I am glad to confirm .last does perfectly what I mistakenly tried 
to achieve with latest. 

I have adjusted my program to provide the sea temp only when new 
measurement is available, so by tomorrow, I should have few separate rare 
data points to play with.

Doing that, I recalled I am already adding hourly temperature at this other 
location, I added it to the plot. Plot connects hourly temp points well. I 
just do not like square form of hourly data so I am off looking how to make 
lines connecting  data points round :)

Progress is made :) Many thanks for the nudge in the right direction!

-- 
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/30e8365b-8fcd-4fc6-8263-835807b496e1%40googlegroups.com.

Reply via email to