Commit Graph

5550 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
3c489fcca1 First cut at documenting series tags. 2021-03-05 16:43:40 -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
95b3494af7 Further refinements. 2021-02-26 08:05:47 -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
340b4f2f85 Changed example for wee_database --reconfigure 2021-02-25 17:16:41 -08:00
Tom Keffer
6d81b1125c Minor reformating 2021-02-25 16:46:05 -08:00
Tom Keffer
16f1fed837 Document using wee_database to modify an existing database.
Restructure documentation on modifying a new database.
2021-02-25 16:20:37 -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
26f25945f2 - reworked --date and --from/--to stanzas of wee_import section of utilities guide
- fixed a few typos in same
2021-02-25 16:04:14 +10: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
90b96fafd7 Fix formatting issue. 2021-02-11 05:26:03 -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
f90473fb97 Added details about Debian upgrade options. 2021-02-04 06:23:31 -08:00
Tom Keffer
ca413db2f3 Corrected attribution for PR #631. 2021-01-30 16:01:33 -08:00
Tom Keffer
9bd4419936 V4.4.0 v4.4.0 2021-01-30 11:07:10 -08:00
Tom Keffer
79f4886567 Added test subdirectory to path.
Allows vapor_pressure example to run.
2021-01-30 05:41:04 -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
Tom Keffer
5e3070d4a6 Merge remote-tracking branch 'origin/master' 2021-01-29 06:44:54 -08:00
Tom Keffer
1e4bc6de3a Fixed typo for 'make test-setup' 2021-01-28 17:56:46 -08:00
gjr80
69514e9b40 Updated changelog and upgrade guide to include dirsumtime patch #642 2021-01-29 09:23:47 +10:00
gjr80
852903ab25 updated test suite 2021-01-29 00:24:10 +10:00
Tom Keffer
fb57cc47a9 Fixed typo. Commit adaf4d920b actually fixes issue #644. 2021-01-26 06:12:36 -08: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
Tom Keffer
adaf4d920b NOAA reports now use a 'utf8' encoding instead of 'strict_ascii'. This will only affect new installations. Fixes issue #654. 2021-01-26 06:09:27 -08:00
gjr80
5f972cb349 Fix v4.3.0 daily sums patch bug, implement V4.0 database 2021-01-24 18:08:13 +10:00