Get value of particular timestamp

29 views
Skip to first unread message

František Slimařík

unread,
Aug 17, 2022, 4:54:50 AM8/17/22
to weewx-development
Hello,

I´d like to ask if it´s possible with current WeeWX settings get temperature at particular hour or extension has to be written. I recently found in my country we count "sultry days" based on conditions at 2PM. I have also found conversion table where is given for example if temperature is 25C and humidity higher than 59% we can consider day as "sultry day". I want to add this into my NOAA reports. So question is if there is something like
$day.hours()["14"].outTemp.avg

Tom Keffer

unread,
Aug 17, 2022, 10:04:08 AM8/17/22
to František Slimařík, weewx-development
There is an aggregation for the number of days where an observation type is greater than some value. However, you would need an observation type. That is, some way of measuring "sultriness." In that case, it would be something like

$month.sultry.max_ge(40).

This would give you the number of days in the month where "sultry" reached 40 or higher.

However, if it's a conditional on multiple variables, that is, the temperature must be greater than 25 and the humidity must be higher than 59%, then you'd have to write either a search list extension, or an xtype aggregation.

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/52b14f88-5e3d-4704-9c08-84e7ffb27724n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages