Problem with evapotranspiration after upgrade from 3.9.2 to 4.0

40 views
Skip to first unread message

IL

unread,
May 22, 2020, 9:08:40 AM5/22/20
to weewx-user
Before upgrade I had a bar diagram for ET (hourly total) in the Seasons skin showing reasonable values. After upgrade the diagram is still there, but no bars. When I look into the database there are values > 0. Today, a day with beautiful weather and bright sunshine, I see values like 0.0009. Before upgrade values were often > 1.

I would expect the bars to return when I look at a longer period (week, month, year) which includes the time before the upgrade, but that doesn't happen. I did edit the configuration files, so some of this may be my fault. But before looking into that I must get back more reasonable ET values, and those are calculated and nothing I have tempered with. Temperature, wind speed, radiation etc. are OK.

Has someone else seen this? Any ideas?

Tom Keffer

unread,
May 22, 2020, 8:47:35 PM5/22/20
to weewx-user
Let's check by calculating the ET for the last hour in your database, a time when, hopefully, there is a meaningful ET. Use this select statement:

select min(datetime), max(dateTime), max(outTemp), min(outTemp), avg(radiation), avg(windSpeed), max(outHumidity), min(outHumidity), min(usUnits), max(usUnits) from archive where dateTime>(select max(dateTime)-3600 from archive);

We'll also need the values of ET:

select ET from archive where dateTime>(select max(dateTime)-3600 from archive);

Send me the results, and I'll do the calculation.

-tk

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/27def363-689b-4e9f-b087-bcdf5a1a0a40%40googlegroups.com.

IL

unread,
May 23, 2020, 2:27:24 AM5/23/20
to weewx-user
Hi Tom,

Thanks for coming back to me. I think I have to apologize for starting this thread. I found the error that caused the bar diagram to fail and now things look quite normal. ET is similar to what I have seen before. Anyhow, I send you the output in case you would care to check that they look normal:

sqlite> select min(datetime), max(dateTime), max(outTemp), min(outTemp), avg(radiation), avg(windSpeed), max(outHumidity), min(outHumidity), min(usUnits), max(usUnits) from archive where dateTime>(select max(dateTime)-3600 from archive);
1590210900|1590214200|51.3|50.7|89.211875|4.6775|60.6|52.6|1|1
sqlite> select ET from archive where dateTime>(select max(dateTime)-3600 from archive);
0.000223473613245717
0.000229618686937834
0.00023451813434357
0.000239598357624378
0.000250680108928587
0.000266873771008581
0.000271250644152054
0.000272915521568785
0.000287344592539979
0.000291979787367749
0.00029852631520853
0.000301432150630844

// Ingemar
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages