Commit Graph

3213 Commits

Author SHA1 Message Date
Tom Keffer
d00a03bb39 Take care of the case where this is no aggregation.
When using the daily summaries.
2021-03-08 14:28:06 -08:00
Tom Keffer
84ea236a7e JSON formatting now allows specifying which time series to use. 2021-03-08 12:26:08 -08:00
Tom Keffer
0458b00e40 First pass at using daily summaries for get_series().
SQLite only.
2021-03-08 08:11:37 -08:00
Tom Keffer
515fc1ce60 Tests for tags involving series. 2021-03-05 15:04:39 -08:00
Tom Keffer
1016e39d89 Allow aggregation intervals to be specified using descriptive strings.
Example: 'day', or 'week'
2021-03-05 14:07:13 -08:00
Tom Keffer
cc1dd44f45 Merge branch 'master' into series_tags 2021-03-05 12:44:10 -08:00
Tom Keffer
793a6f5324 Fixed problem where iterating over a time period with aggregation would
wrongly include the record on the left.
2021-03-05 12:38:36 -08:00
Tom Keffer
40488bc704 Allow formatting like $day.outTemp.series.format(order_by='column') 2021-03-05 10:23:03 -08:00
Tom Keffer
1758ffc9d4 Allow tags like $month.outTemp.series.max(aggregation_interval=86400).json(order_by="column") 2021-03-04 20:20:51 -08:00
Tom Keffer
b0ce382070 Allow iterating over ValueHelpers containing series 2021-03-03 14:59:06 -08:00
Tom Keffer
bc39d9c74b First stab at tags for creating and formatting series. 2021-03-03 14:35:13 -08:00
Tom Keffer
a8094227af Merge branch 'master' into development 2021-02-25 18:35:56 -08:00
Tom Keffer
792e568bd0 Removed obsolete reference to archive_schema. 2021-02-25 18:35:24 -08:00
Tom Keffer
8084b8d381 Changed the way of expressing the old "wview" schema to the new V4 way.
Fixes issue #651.
2021-02-25 18:32:49 -08:00
Tom Keffer
f71f6a0b01 Check for too many positional arguments.
Prettier formatting of what --drop-column is about to do.
2021-02-25 17:17:09 -08:00
Tom Keffer
6d81b1125c Minor reformating 2021-02-25 16:46:05 -08:00
Tom Keffer
d537d5495d Catch and log exceptions resulting from attempting to drop a non-existent column 2021-02-25 13:17:57 -08:00
Tom Keffer
cb53af9b65 It's now an error to drop a non-existing column. 2021-02-25 13:14:36 -08:00
Tom Keffer
f36caea530 wee_database gets new option --drop-columns
(in addition to --add-column and --rename-column).
2021-02-25 10:58:03 -08:00
Tom Keffer
3541680520 Merge remote-tracking branch 'origin/development' into development 2021-02-25 10:36:17 -08:00
gjr80
402db1f446 rework comments to clarify inclusivity/exclusivity of import --from and --to date-times 2021-02-25 13:11:54 +10:00
Tom Keffer
17dfe8d66a Merge branch 'master' into development
# Conflicts:
#	docs/changes.txt
2021-02-23 06:09:21 -08:00
Tom Keffer
f1d46a9b38 wee_database gets new options --add-column and --rename-column. 2021-02-22 12:20:38 -08:00
Tom Keffer
9605ec91c8 Fixed bug that prevented the Vantage driver from waiting before a wakeup retry. 2021-02-18 05:08:08 -08:00
Tom Keffer
bada58c979 Uploads to PWSWeather and WOW now use HTTPS. Fixes issue #650. 2021-02-16 17:48:36 -08:00
Tom Keffer
f2b20931cb Plots longer than 2 years use a 6 month time increment. 2021-02-12 14:07:15 -08:00
Tom Keffer
cb0d0e5036 Changed encoding of NOAA templates to normalized_ascii.
Fixes issue #646.
2021-02-11 08:37:07 -08:00
Tom Keffer
1f7790d46c A time scale of two years should use a time increment of one month. 2021-02-10 07:35:25 -08:00
Tom Keffer
9bd4419936 V4.4.0 2021-01-30 11:07:10 -08:00
Tom Keffer
e4d6ac7c8f Fixed problem introduced by PR #630. 2021-01-29 15:51:20 -08:00
Tom Keffer
8f54e26646 Fixed problem with running running test suites under Python 2. 2021-01-29 15:49:46 -08:00
Tom Keffer
4bac0b0960 Fixed problem with running running test suites under Python 2.
Relates to issue #642.
2021-01-29 15:49:17 -08:00
Tom Keffer
fc950cc61a Merge branch 'master' into development
# Conflicts:
#	docs/changes.txt
2021-01-29 06:50:00 -08:00
gjr80
852903ab25 updated test suite 2021-01-29 00:24:10 +10:00
Tom Keffer
2d501adb80 Introduced new encoding type 'normalized_ascii', which replaces characters that
have accented marks with analogous ascii characters. For example, ö gets
replaced with o.
2021-01-26 06:10:30 -08:00
gjr80
5f972cb349 Fix v4.3.0 daily sums patch bug, implement V4.0 database 2021-01-24 18:08:13 +10:00
Tom Keffer
915e0a8fed Fixed minor problem when database is empty. 2021-01-22 05:20:59 -08:00
Tom Keffer
0f67337e70 Fixed --check-strings problem if there are no records in the database. 2021-01-21 14:14:13 -08:00
Tom Keffer
29b92e3733 Fixed problem that could cause program to crash if asking for deltas of a non-existent key. 2021-01-16 18:09:01 -08:00
Tom Keffer
624fb9e9fa Fixed problem that could cause reporting to fail under Python2.7 if the configuration dictionary contained a comment with a UTF-8 character.
Fixes issue #639
2021-01-16 09:42:53 -08:00
Tom Keffer
bf4da5b73e Fixed problem where plots could fail if the data range was outside of a specified axes range.
Fixes issue #638.
2021-01-15 09:50:12 -08:00
Rich Bell
b4db1782be log configuration errors (#637)
Looks good! Thanks, Rich.
2021-01-12 17:51:46 -08:00
Tom Keffer
5fbe0d51e8 Fixed problem where invalid mintime or maxtime was returned for days with no data.
Fixes issue #635.
2021-01-08 13:21:28 -08:00
Tom Keffer
102115731b Patching process is more forgiving about records with interval less than or equal to zero. 2021-01-07 15:43:41 -08:00
Tom Keffer
f7b0fda33a Introduced aggregate types "avg_ge" and "avg_le". PR #631. 2021-01-07 06:01:28 -08:00
Tom Keffer
8340cb9c8e Merge branch 'daily_average_counts' of https://github.com/edi-x/weewx into edi-x-daily_average_counts 2021-01-07 05:22:29 -08:00
edi-x
811b4314a6 Avoid division by zero and added tests and documentation. 2021-01-07 11:07:18 +01:00
Tom Keffer
34f401e718 StdWXCalculate can now do calculations for only LOOP packets, only archive
records, or both. PR #630.
2021-01-06 05:49:46 -08:00
Tom Keffer
b5ca7e15fc Merge branch 'development' of https://github.com/g-eddy/weewx into g-eddy-development 2021-01-05 06:56:46 -08:00
Tom Keffer
caac12df3f Log when backfilling daily summaries is complete 2021-01-05 05:13:47 -08:00