Commit Graph

5578 Commits

Author SHA1 Message Date
Tom Keffer
d799faebd9 Noted that these commits address issue #341. 2021-03-14 06:37:20 -07:00
Tom Keffer
39b6e73ec9 Merge branch 'master' into series_tags 2021-03-14 06:26:49 -07:00
Tom Keffer
c0efbd397f Merge remote-tracking branch 'origin/series_tags' into series_tags
# Conflicts:
#	docs/series_tags.md
2021-03-14 05:59:24 -07:00
Tom Keffer
fdf5c43d02 Documenting code... 2021-03-14 05:57:28 -07:00
Tom Keffer
e78ab5ed02 For Python 2, insure results are returned as unicode. 2021-03-14 05:56:58 -07:00
gjr80
c44e9550e0 documented default for time_series 2021-03-14 20:32:26 +10:00
Tom Keffer
b93926a505 Updated some documentation in weewx.units. 2021-03-13 16:47:54 -08:00
Tom Keffer
1c6fa013ae Simplifed iteration of a SeriesHelper.
Updated coumentation.
2021-03-13 16:47:25 -08:00
Tom Keffer
6041a6dcc7 Simplified iterating over a ValueHelper.
Test iteration.
2021-03-13 08:04:43 -08:00
Tom Keffer
8e0e25476f Tweaked section on iteration. 2021-03-12 16:00:46 -08:00
Tom Keffer
7d7db50247 More on compass directions. 2021-03-12 15:49:37 -08:00
Tom Keffer
dabe5de8b9 Optional keyword arguments passed on to the json.dumps() call.
Some documentation on working with complex numbers.
2021-03-12 15:36:57 -08:00
Tom Keffer
b2e4133370 Extra test of converting to polar notation, using knots 2021-03-12 13:54:47 -08:00
Tom Keffer
7999f4a0b8 Add some convenience functions for working with complex series. 2021-03-12 13:48:39 -08:00
Tom Keffer
197c86028d Allow complex types to be serialized to JSON. 2021-03-10 08:31:29 -08:00
Tom Keffer
3986f20bfa Fixed problem that prevented aggregation type 'count' being used for windvec. 2021-03-10 07:38:30 -08:00
Tom Keffer
776d409929 Plots now locate the x-coordinate in the middle of the aggregation interval for
all aggregation types (not just min, max, avg). Revisits PR #232.
2021-03-10 05:19:27 -08:00
Tom Keffer
c7d52a33ec Simplify SQL statements 2021-03-10 05:03:29 -08:00
Tom Keffer
0b6959795b Added support for MySQL for series tags. 2021-03-09 16:43:29 -08:00
Tom Keffer
2fabcadc82 Refactor documentation for series tags. 2021-03-09 15:03:46 -08:00
Tom Keffer
3cd2556a28 Get rid of errant print statement 2021-03-09 06:17:37 -08:00
Tom Keffer
fe28ca81ff Merge branch 'master' into series_tags 2021-03-09 06:10:14 -08:00
Tom Keffer
4d803c012b Do not require a [StdConvert] section 2021-03-09 06:09:50 -08:00
Tom Keffer
72b607316d Merge branch 'master' into series_tags 2021-03-09 06:06:12 -08:00
Tom Keffer
4f294dc8f8 Removed dependencies on 'wx_binding' 2021-03-09 06:05:29 -08:00
Tom Keffer
2ce759ea3e Merge branch 'master' into series_tags 2021-03-08 14:42:53 -08:00
Tom Keffer
6c77b98e3b Choose a better example of daytemp_with_avg. 2021-03-08 14:30:07 -08:00
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
0a3e0f7ba9 Fixed bug that caused the incorrect label to be applied to plots where the
aggregation type changes the unit. Fixes issue #654.
2021-03-08 11:50:47 -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