Commit Graph

3235 Commits

Author SHA1 Message Date
Tom Keffer
39b6e73ec9 Merge branch 'master' into series_tags 2021-03-14 06:26:49 -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
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
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
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
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