Commit Graph

2002 Commits

Author SHA1 Message Date
Tom Keffer
b317a5d876 Option aggregate_interval can now be specified by using one of the "shortcuts".
That is, 'hour', 'day', 'week', 'month', or 'year'.
2021-03-22 07:47:15 -07:00
Tom Keffer
c68ebaac81 Change from aggregation_type and aggregation_interval to aggregate_type and aggregate_interval.
Makes things consistent with ImageGenerator and xtypes
2021-03-22 05:19:09 -07:00
Tom Keffer
5436730e98 Link reference for zip() 2021-03-21 12:20:08 -07:00
Tom Keffer
d2e7289086 Fixed typo in series_tags.md 2021-03-21 12:17:57 -07:00
Tom Keffer
ff25734a6b .raw is back to being a property.
No need to mention it in the Upgrading Guide.
2021-03-21 11:21:42 -07:00
Tom Keffer
bde354aa71 Updated the version of six.py included with WeeWX to 1.15.0. Fixes issue #657. 2021-03-21 11:05:48 -07:00
Tom Keffer
8c4f241293 .raw is now back to being a property.
Introduced SLE helper function $rnd()
2021-03-21 08:27:53 -07:00
Tom Keffer
5573b830c8 Document changes in as_value_tuple() in Upgrading Guide. 2021-03-20 18:48:58 -07:00
Tom Keffer
f1ef6f2aa9 Merge branch 'master' into development
# Conflicts:
#	docs/changes.txt
2021-03-20 07:32:34 -07:00
Tom Keffer
4187106230 Document the argument ndigits for .raw(). 2021-03-20 07:27:57 -07:00
Tom Keffer
6919c5e8d1 More clarifying notes on changes in V4.5. 2021-03-20 06:12:18 -07:00
Tom Keffer
4362bb2c48 Added helper function $jsonize().
The tag `.raw` has been changed from a property to a function,
which can take optional argument `ndigits`.
2021-03-20 05:27:30 -07:00
Tom Keffer
561f1cf251 Logged PR #655 in the change log. 2021-03-20 04:22:26 -07:00
Tom Keffer
663caf3fab Upgrade guide for V4.5 2021-03-19 04:56:28 -07:00
Tom Keffer
a1aa20a46d Refactored units.py to do unit conversions early.
This allows more flexibility when chaining attributes.
Made it possible to apply some limited formatting to JSON.
2021-03-18 17:38:50 -07:00
Tom Keffer
b5c3a01ee1 Added new time units 'unix_epoch_ms' and 'unix_epoch_ns'.
Allowed JSON formatting to optional specify the time unit to use.
Added tests for optional time unit.
2021-03-15 16:55:31 -07:00
Tom Keffer
d727acdb09 Version 4.5.0a1 2021-03-15 14:58:05 -07:00
Tom Keffer
625ffc9b3a Noted performance improvements in the change log. 2021-03-15 10:09:58 -07:00
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
fdf5c43d02 Documenting code... 2021-03-14 05:57:28 -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
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
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
2fabcadc82 Refactor documentation for series tags. 2021-03-09 15:03:46 -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
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
3c489fcca1 First cut at documenting series tags. 2021-03-05 16:43:40 -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
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
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
340b4f2f85 Changed example for wee_database --reconfigure 2021-02-25 17:16:41 -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
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
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