Meteoclimatic
Software => WeeWX => Mensaje iniciado por: jantoni en 01 de Diciembre de 2026, 23:30:00
-
Hace unos 10 días se ha lanzado la versión 5.6 de Weewx
Os adjunto la lista de cambios (en inglés) de Weewx, el mejor software de control de estaciones meteorológicas ..... aunque el peor para corregir errores *+* *+* *+* *+* *+* (nunca he tenido que corregir ningún error en 14 años que llevo con él)
5.6.0 21-Nov-2026¶
Improved the performance of weewx.xtypes.ArchiveTable.get_series() for aggregated series (such as hourly aggregation over a long timespan). Instead of issuing one SQL query per aggregation period, it now fetches the archive data in pages of about a week each. When possible, aggregations are then performed for a whole page on the database itself. When not, aggregations are done in memory. This strategy keeps both the number of queries and the memory used small. Aggregation intervals of multiples of a day continue to come from the daily summaries, as before. PR #1154.
LOOP packet data are no longer lost when packets arrive out of order, arrive only once per archive interval, or come from a station clock that has been set back. Each archive period now has its own accumulator. PR #1209.
Predefined season type in weewx.conf. Possibility to set the season type in $alltime.seasons by parameter. PR #1206
Fixed diff and tderiv returning missing values when the first or last archive record has no value for the observation. They now use the first and last non-null values in the aggregation period. PR #1210.
Fixed tderiv raising TypeError for missing energy samples and returning incorrect units for non-energy observations. It now supports time deriviates of energy, distance, rain and pressure. Other observation groups raise UnknownAggregation. PR #1199.
Fixed incorrect values in derived series and aggregates when an XType extension returns a value in a different unit system. PR #1188.
Fixed problem when diff or tderiv use a custom archive table name. PR #1189.
Fixed unix_epoch_ns conversions, which (wrongly) used microsecond scale. PR #1190.
Fixed problem with overlapping report runs using the wrong skin directory or leaving the working directory changed. PR #1191.
Fixed monthly series and timestamp generation failing when the first boundary falls on the 29th, 30th, or 31st. PR #1193.
FTP uploads now exclude entire .git, .svn, CVS, .idea, and __pycache__ directory trees. PR #1192.
Fixed AltimeterToStationPressure raising AttributeError and added inverse conversions for all supported altimeter algorithms. PR #1194.
Fixed wind vector counts failing under MySQL when ONLY_FULL_GROUP_BY is enabled, and under SQLite with empty intervals. PR #1195.
Fixed archive records being lost or daily summaries left stale after MySQL lock errors. Other summary write errors now roll back the archive transaction and propagate to the caller. PR #1196.
Fixed daily summaries being counted twice after re-importing archive records with --update, and stale daily extrema after corrections. PR #1197.
Fixed problem that prevented the date options of weectl database from accepting times of the form YYYY-mm-ddTHH:MM. That is, without seconds. PR #1225.
Reduced database queries when reports iterate over derived observation values in archive records. PR #1201.
Fixed calculated rainRate. Under certain circumstances, some packets could be missed. PR #1198.
Reading daily summaries now combines queries for multiple observation types, reducing the number of required queries. This can lead to performance improvements particularly with remote databases. PR #1170.
Reduce database queries when iterating over archive records or calculating degree days. Nearest-record lookups now use the timestamp index instead of sorting all records in the search window. PR #1168, PR #1232.
Fixed a TypeError in aggregate type vecavg when there is no wind direction over an interval. PR #1155.
Of several equal extremes, aggregate types maxtime and mintime now give the earliest when calculated from the archive table, as they already did from the daily summaries. PR #1156.
Fixed problem when plotting data whose y-value is very small and has a very small range.
Translate database errors raised while reading table schemas. SQLite schema locks now reach the existing retry handlers during database initialization. PR #1208.
Fixed problem that prevented the utility weectl debug from running under Python 3.6.
Fixed weectl failing to start under Python 3.6 after a pip install. Module importlib-resources is now a dependency for that version of Python. PR #1228.
Month abbreviations of four characters, such as Juli on macOS, no longer shift the columns of the summary rows in yearly NOAA reports. PR #1221.