Commit Graph

2015 Commits

Author SHA1 Message Date
Tom Keffer
2f13784fe7 Do not replace the OS environment when running wee_config as a subprocess.
There's something in the environment that Python needs to encode Unicode using UTF-8.
2021-04-05 07:51:17 -07:00
Tom Keffer
d4ae3cebef Reverted the wview schema back to the V3 style. 2021-04-02 13:13:08 -07:00
Tom Keffer
575524d47a Version 4.5.0 2021-04-02 08:01:41 -07:00
Tom Keffer
4a6a87f94b StdArchive now honors log_success and log_failure. 2021-03-31 07:36:11 -07:00
Tom Keffer
035fa1ac2d Fixed mistake in the documentation of changing labels. 2021-03-31 05:07:53 -07:00
Tom Keffer
bdeb930998 Fixed a few typos in the docs. Reworded some things. 2021-03-30 12:56:47 -07:00
Tom Keffer
7f1952fd34 Correct default value of tcp_send_delay 2021-03-28 11:27:00 -07:00
Tom Keffer
16329612e2 Update documentation. 2021-03-27 11:02:15 -07:00
Tom Keffer
4673709822 Moved options time_series and time_unit to series().
Was in json()
2021-03-27 09:22:31 -07:00
Tom Keffer
776a2a1c10 Document tag ".json()" 2021-03-27 05:11:30 -07:00
Tom Keffer
8bdd2b61fb Include .round() tag in the change log. 2021-03-24 11:58:57 -07:00
Tom Keffer
57cfca4255 Implement .round() tag.
Instead of rounding in .json()
2021-03-24 11:55:47 -07:00
Tom Keffer
14f0694bda Teaser for Tags for series. 2021-03-24 07:40:27 -07:00
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