It's also in the NOAA files that are updated every 5 minutes. The
following works with two caveats. First, there may be a "built-in" more
straightforward way to do it within weewx AND my Python programming is in
its infancy. Second, if you do this in python 2.7 instead of Python 3.x,
you'll ha
However, the total rainfall for each day is recorded in the SQL database :
In the "archive_day_rain" section, there are the fields "dateTime" which
corresponds to the current date,
"min" which is obviously always zero,
max which most certainly corresponds to the maximum packet loop,
and "sum" whic
I think the fundamental flaw in doing this with rain is the "maximum
time." I stand to be corrected, but the maximum temperature, wind speed,
etc., is something that is measured at a point in time. I believe in the
case of weewx, to the one-second granularity. E.g., the highest daily (or
mon
*In the same genre but for the rain (not rain rate) ... Is it possible to
recover in Seasons on a period, the day of the maximum rain (the
$day.rain.sum maximum) ?*
$archive[1].rain.maxtime
$archive[1].rain.max.format(add_label=False)
$archive[1].rain.maxtime
*Give
Thanks, Tom. I always take the longest path between two point!
- Paul VE1DX
On 2021-06-05 4:32 p.m., Tom Keffer wrote:
You're making this a lot more complicated than it needs to be. Try this:
#set $mnth=$month.dateTime.format("%B")
Minimum temp for $mnth was $month.outTemp.min on
You're making this a lot more complicated than it needs to be. Try this:
#set $mnth=$month.dateTime.format("%B")
Minimum temp for $mnth was $month.outTemp.min on
$month.outTemp.mintime.format("%d %b at %H:%M")
Maximum temp for $mnth was $month.outTemp.max on
$month.outTemp.maxtime.format("%d %b a
I embellished this a bit by adding the temperature ranges:
#set t = $month.outTemp.mintime.raw
#import time
#set mnth=time.strftime("%B", time.localtime(t))
#set str_t=time.strftime("%d %b at %H:%M", time.localtime(t))
Minimum temp for $mnth was $month.outTe
Thanks for the quick response! And it actually works :-)))
Two slight corrections are however to be made to work fine :
-1 / You forgot the "$" at timestamp. We must read
$current(*$*timestamp=$t).windDir
instead of $current(timestamp=$t).windDir
-2 / The time format must be in raw to work. We
You could do something like (NOT TESTED):
#set t = $month.windSpeed.maxtime
The max wind speed this month is $month.windSpeed.max from direction
$current(timestamp=$t).windDir at time $t.
On Thu, Jun 3, 2021 at 8:38 AM Remy Lavabre wrote:
> Good morning all,
>
> To have the maximum wind gust
Good morning all,
To have the maximum wind gust over a period this works very well and also
gives the time and date of this wind gust:
Win Gust Max
#for $archive in $archive_data
$archive[1].wind.gustdir.ordinal_compass
($archive[1].wind.gustdir.f
10 matches
Mail list logo