Commit Graph

477 Commits

Author SHA1 Message Date
Tom Keffer
e12237c26d Correct print statement 2021-01-03 11:08:41 -08:00
Tom Keffer
2a9d6a2b4a Upgraded to tocbot v4.12.0 2020-12-11 16:38:58 -08:00
Tom Keffer
086558aacc Merge branch 'master' into development 2020-11-17 05:08:06 -08:00
Tom Keffer
d32b2cca19 Clarified that aggregate types first, firsttime, last, lasttime refer to non-null. 2020-11-17 05:06:26 -08:00
Tom Keffer
6456ef97fb v4.3.0a1 2020-11-11 09:07:43 -08:00
Tom Keffer
b7e33def1b Revisit issue #613. Again.
Fixed spelling of illuminance.

Removed observation type "luminosity" from any group, at least until we
understand what it means.

Added observation type "illuminance", member of "group_illuminance".
2020-10-25 04:49:46 -07:00
Tom Keffer
07bb29f6f9 Revisit issue #613.
No unit group for lightning_energy.
New group group_illuminence, with new unit lux and member luminosity.
2020-10-24 17:53:13 -07:00
Tom Keffer
2efa6b7398 Added the new data types in the extended_wview schema to the WeeWX types
system. Fixes issue #613.

New types: co, co2, lightning_energy, luminosity, nh3, no2, noise, o3,
pb, snowDepth, snowMoisture, snowRate.

New unit groups: group_db and group_fraction.

New units: dB, ppm, and mega_joule.
2020-10-24 10:32:12 -07:00
Tom Keffer
1993f13e0d 4.2.0a1 2020-10-19 06:10:14 -07:00
Tom Keffer
5ca73c2e40 Search list chain now includes class AggTypeBinder. Document it. 2020-10-19 06:06:58 -07:00
Tom Keffer
f33c489728 Added comment about the XTypes system 2020-10-18 08:35:50 -07:00
Tom Keffer
e99dd45818 Squashed commit of the following:
commit 5023ea5acdee7b7698d3f9e59118711503bbb2ab
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Sun Oct 18 04:38:05 2020 -0700

    Suggest more xtypes examples.

commit 3c8b0e77c4a0c5163bde5df513f5eda37eac9853
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Sat Oct 17 08:07:31 2020 -0700

    Added sample image of vapor_p.
    Added comment about ordering matters.

commit 9ebc989d702f66249f6caafbd9ba1e9739eb42d4
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Sat Oct 17 06:15:18 2020 -0700

    XType class Delta can now use the same cumulative type more than once.
    Added tests.

commit 47857d83817a4fb32ab645245239cf5a56c65b19
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 16:29:18 2020 -0700

    Added XType 'Delta', for calculating differences from cumulative totals.

commit bb8a07bd3e828f7cd7f20660c8702370151bbb96
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 12:11:01 2020 -0700

    Reformat xtypes documentation. Finishes fix for issue #491.

commit a27d6e1dbdee272c2a2b22bb58d162cbb7472049
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 12:09:33 2020 -0700

    Upgrade now adds new service group xtypes_services.
    Update tests to follow.

commit 611dbc60d0908294ae268019c48f2ca7693f0615
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 09:11:47 2020 -0700

    No heat index for temperatures under 40F.

commit fe9e60818295fcc8386501425b259ea2111005d7
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 08:22:37 2020 -0700

    Update comments on get_series()

commit 14f3a15cd7df2e64674d794fb375cc7e807ad91a
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 08:12:03 2020 -0700

    Add a version of get_series() that works for xtypes.
    Document it.
    Include vaporpressure.py in the examples subdirectory.

commit 0995f772e6b204b13c60af42681fdb2e54ab200b
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Thu Oct 15 17:07:52 2020 -0700

    More details about how to write an xtypes extension.

commit 1e1dce3a29f211944230119078e0108502f8f706
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Thu Oct 15 17:07:10 2020 -0700

    Add threading lock to RainRater.

commit bed387de5913e42291045b4780e8110c15229b73
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Thu Oct 15 04:49:59 2020 -0700

    Update and improve the xtypes documentation.

commit dc4f488d17a4aeaa9b9d604c500f7063c044a0af
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Thu Oct 15 04:49:31 2020 -0700

    Add service group xtype_services to weewx.conf.

commit 6f29b1a23d60189b07efae4d4ea160079eb973e8
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Wed Oct 14 13:31:43 2020 -0700

    It's OK for direction to be none, provided speed is zero

commit 034be1c968dd0bc33791d4f6559c15c7e28b6364
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Wed Oct 14 13:31:21 2020 -0700

    Check to make sure the section [Engine][[Services]] exists

commit 8cf2b3e372d1b9da948ef6caa27aadb721308850
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Wed Oct 14 08:24:13 2020 -0700

    Separate StdService from XType functionality.
    Makes XType functionality useful outside the context of WeeWX services.
    Simplifies test suites.

commit 9325e792cafa0a885f529ac15636202d518a9c61
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Wed Oct 14 08:23:07 2020 -0700

    Class DummyEngine derives from Engine.

commit 7ac31f7bd2b80c61792e0f3a5f0293ec1eb0666b
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Sat Oct 10 16:26:19 2020 -0700

    Made it easier to add new, derived types via StdWXCalculate.
    See issue #491.
2020-10-18 05:49:45 -07:00
Tom Keffer
73d8d2c89f A little info about ValueTuples 2020-09-29 05:04:02 -07:00
Brent Fraser
35cc238364 add ability to select the y-axis to label (#610)
* add ability to select the y-axis to label

* added note re ability to select the y-axis to label
2020-09-28 05:38:38 -07:00
gjr80
ce03b1b0a1 fix typo 2020-09-19 10:25:51 +10:00
Tom Keffer
90c9b640c2 New unit "kPa", included in "group_pressure". Fixes issue #596. 2020-08-27 05:08:14 -07:00
gjr80
07dcae99ef Fix incorrect schema name in electricity example 2020-08-21 10:28:42 +10:00
Tom Keffer
f62d79138e New unit "beaufort", part of group_speed. Treating beaufort as a separate type
has been deprecated. Fixes issue #591.
2020-08-06 14:56:23 -07:00
Tom Keffer
f43d2014ce Example of localizing a template file 2020-07-27 10:59:46 -07:00
dennypage
d3f6a7eeb9 Add THSW to group_temperature (#583) 2020-07-10 07:16:46 -07:00
claudobahn
864626f267 Added units for lightning_distance, lightning_disturber_count, lightning_noise_count, and lightning_strike_count and default labels for strike count / distance. Updated documentation. (#581) 2020-07-09 07:06:27 -07:00
Tom Keffer
6e843023a4 Fixed typos. Should be weewx.manager.DaySummaryManager. 2020-05-28 06:34:59 -07:00
Tom Keffer
a55c9cd22b Set Version to 4.1.0 2020-05-25 12:10:00 -07:00
Tom Keffer
d00db3195c Use minified version of cash.js 2020-03-20 06:26:21 -07:00
Tom Keffer
e2042d79b7 Updated Python links to Python 3. 2020-03-20 06:18:57 -07:00
Tom Keffer
36b9247957 Document option context. 2020-03-19 06:10:18 -07:00
Tom Keffer
fcf283faa3 Fixed some errors on customizing units and some typos. 2020-03-16 08:08:48 -07:00
Tom Keffer
d6eb7525f4 Formatting changes. Clarify a few comments.
Convert from Australianese to Americanese.
2020-02-14 08:23:55 -08:00
John Kline
9c43bedbb2 Add/fix pm1_0, pm2_5 and pm10_0 observation types. (#501)
* Add/fix pm1_0, pm2_5 and pm10_0 observation types.
2020-02-03 18:18:38 -08:00
Tom Keffer
1826d797e2 Fix typo. Change "highlight" CSS. 2020-01-28 07:17:47 -08:00
gjr80
2ccb65ef3d add maxSolarRad to Customization Guide Units appendix 2020-01-21 11:49:17 +10:00
Tom Keffer
92c6ad4a83 Changed the name of the unit "litre" to "liter".
The spelling "litre" is still accepted.
2020-01-16 14:10:10 -08:00
Tom Keffer
e2b694b853 Got rid of the obsolete appendix "Archive Types". 2020-01-15 11:55:19 -08:00
John Kline
3dca7cfa8e Add barometerRate, et. al. to weewx.units (#490)
* Robustness enhancements to cc3000 driver including py2/py3 support
cc300.py:
- changes to work on both py2/py3 (tested on both)
- change timeout to 1s (more not needed)
- retry commands when reading cmd echo times out (the signal of failure)
- use timeout of 20s for memory clear (which takes about 12s)
- various changes as assumptions of commands not currently correct (tried on 2 units)
- use weewx.wxformulas.calculate_rain for rain delta
- use weewx.crc16

engine.py:
- Failure to get time from driver is not treated as an error.

rsyncupload.py:
- Add timeout option.
- Change to allow single file to be rsynced.

util/logwatch/scripts/services/weewx:
- Changes to organize very detailed cc3000 output in logwatch reports.

* cc3000 driver cleanup and fixes

* rework genStartup, implement history-since, don't convert to unicode on py2

* fix typo

* fix typo

* Change logwatch script to match capitalization change in wxformulas.calculate_rain

* logwatch change to match engine.py log message change

* Another round of cleaning up the logwatch script.

* remove tabs in logwatch script

* Add missing commands.  Get running under debug=1 in PY3.

* A better _format_bytes.

* Make use of weeutil.y_or_n for prompting.

* rewrite function to download archive records, refactor command function

* minor changes to exec_cmd_with_retries, add all cmds to logwatch script

* Update comments.

* change/add comment

* Poll on polling_interval boundaries (rather than slowly drifting).

* Update CC3000 documentation.  Add missing headers command to CC3000 configurator.

* Update CC3000 section of User's Guide, minor changes to cc3000 driver.

* Add barometerRate to weewx.units.

* Rename barometerRate to barometricRate.

* Change barometricRate to barometerRate. Update docs.  Add default lable for barometerRate.

* Doc fix.

* Doc fix, try 2.
2020-01-15 11:14:46 -08:00
tkeffer@gmail.com
527c9a2806 Updated docs to reflect new schema. 2020-01-13 15:54:32 -08:00
tkeffer@gmail.com
8b80cf0394 Moved the data architecture section.
Still not quite satisfied with this...
2019-12-26 16:14:32 -07:00
tkeffer@gmail.com
229e13a7e9 More architectural details.
Include a figure illustrating the pipeline.
2019-12-25 11:57:09 -07:00
tkeffer@gmail.com
30a6e2836d Clarified overall architecture 2019-12-22 17:41:22 -07:00
tkeffer@gmail.com
fcb2f7100a Old way of specifying schemas will continue to be supported. 2019-12-07 17:13:09 -07:00
Tom Keffer
73b2843ffa Suppress HTML warning. 2019-11-28 17:09:39 -08:00
Tom Keffer
20af3ac0dc Reformatted. 2019-11-28 17:08:33 -08:00
Tom Keffer
f4652ef5e7 Renamed NOAA report files. Worked on docs for issue #415. 2019-11-28 16:28:22 -08:00
gjr80
4a7145dd43 Implement strftime() format codes in Cheetah template file names (#471)
Refer issue #415
2019-11-28 15:53:57 -08:00
Tom Keffer
29acf0ea51 Add kWh and Ws to unit groups 2019-11-21 08:52:15 -08:00
Tom Keffer
d5d24457a0 Document .exists and .has_data 2019-11-15 15:37:09 -08:00
Tom Keffer
a99ca2b8ad Allow day schema type to be specified in upper case.
Document new schema structure.
2019-11-15 12:55:50 -08:00
Tom Keffer
e0e2150c59 Added new aggregation type 'tderiv'. 2019-10-29 18:00:57 -07:00
Tom Keffer
f473ec6909 Added new aggregate type 'diff'. 2019-10-29 10:19:14 -07:00
Zanderama
1a8d9c63eb Changed .conf and .htm to use "#rrggbb" format rather than 0xbbggrr. Not tested, but looks sane. (#460)
Ran through the test suites, and it looks good!
2019-10-25 05:12:33 -07:00
Tom Keffer
5509ea547f Edited additions 2019-10-23 08:57:02 -07:00