Commit Graph

448 Commits

Author SHA1 Message Date
Tom Keffer
71218461a1 Added the ability to do a dump from a Vantage station, using command 'DMP'.
New option for config_vp to do so.
Version 2.2.0a3
2013-02-01 13:42:59 +00:00
Matthew Wall
f10678c976 added rain rate calculation to fousb driver 2013-01-30 03:01:17 +00:00
Matthew Wall
99d904c8a1 reformat fousb code to facilitate synchronizing with pywws 2013-01-30 02:57:58 +00:00
Matthew Wall
9170a8fa98 merge packaging branch to trunk 2013-01-28 18:23:05 +00:00
Tom Keffer
24d5adc51a Added clarifying comments. 2013-01-22 15:11:08 +00:00
Tom Keffer
478e139f09 Fixed problem that caused rain totals to be misreported to RESTful stations when using a metric database. 2013-01-22 13:28:27 +00:00
Compenguy
4e0b1762b2 Fixing rainfaill measurements. Station units are mm and mm/hr while the internal metric units are cm and cm/hr.
Fixing century calculation for station datestamps.  Nobody will be able to tell the difference for another 55 years, but now it's right.
2013-01-20 13:03:14 +00:00
Tom Keffer
a328300855 Included an install strategy for old-style schemas.
Prettied up the document tables.
V2.2.0a2
2013-01-20 01:50:17 +00:00
Tom Keffer
8a81da069a Updated docs.
V2.2.0a1
2013-01-19 21:46:17 +00:00
Tom Keffer
444f33d0d1 Reintegrated with the 'generalize' branch. 2013-01-19 16:05:49 +00:00
Tom Keffer
9b13c0d9be Finished generalizing the engine. 2013-01-19 15:22:13 +00:00
Tom Keffer
6633756dcd snapshot. 2013-01-19 03:50:37 +00:00
Tom Keffer
4d5b3526bb Fixed bug for when sunset is after 24h UTC. 2013-01-18 20:23:00 +00:00
Tom Keffer
16c0d225f4 Use attribute self.stn_info for lat/lon information.
Changed function parameter ordering to lat/lon.
Added doctests for function tobool(). Moved it to weeutil.weeutil
Presently crashes if sunset is after midnight UTC.
2013-01-18 19:27:04 +00:00
Tom Keffer
912f20760f Applied day-night patch from Matthew Wall. Images show a different color for nighttime. 2013-01-18 18:16:16 +00:00
Tom Keffer
61ec809b2e Added the ability to specify color using the notations #RRGGBB or an English descriptor (eg, 'yellow'). 2013-01-18 04:21:29 +00:00
Tom Keffer
d5d55e9562 Fixed bug in weedb.sqlite3.Cursor.execute(). Value was not being returned. 2013-01-17 16:08:49 +00:00
Tom Keffer
847f83167b Added tests for a SELECT on a bad column name. 2013-01-17 15:49:51 +00:00
Tom Keffer
8308b366e2 Added 'windGustDir' to the list of types retrieved from the database for Ambient-like protocols. 2013-01-16 14:21:54 +00:00
Tom Keffer
f45bc628f1 Now bad SELECT statements raise weedb.OperationalError 2013-01-15 18:00:36 +00:00
Tom Keffer
8bc7f2c11c weeutil.weeutil._get_object now just returns the object type and does not instantiate it. 2013-01-14 22:41:30 +00:00
Tom Keffer
599772687b The accumulator factory for BaseStatsDb now returns a BaseAccum. 2013-01-14 20:50:32 +00:00
Tom Keffer
03bcfc4e1c Catch up with main trunk 2013-01-12 15:34:35 +00:00
Tom Keffer
7a5ca12aa4 WakeupError now used if unable to connect initially with the console. 2013-01-12 14:07:19 +00:00
Tom Keffer
9469dfcd68 Now catches exception raised if the USB control message fails. Converts to weewx ConnectError. 2013-01-12 14:03:19 +00:00
Tom Keffer
6339c841d7 Added the ability to specify the "maximum gap" in a plot as a fraction of the x-axis scale. If the data contains a gap bigger than this amount, no connecting line will be drawn. Contributed by M. Wall. 2013-01-12 02:58:07 +00:00
Tom Keffer
3aaddfa3ef Changed a couple comments. 2013-01-12 02:21:56 +00:00
Tom Keffer
e2e85826a4 Pulled weather specific logic out of stats.py and wxengine.py 2013-01-09 04:06:17 +00:00
Tom Keffer
f6e9917035 Broke class StatsDb into two classes, BaseStatsDb and WXStatsDb. Put all the weather specific logic into the latter. 2013-01-09 00:59:07 +00:00
Tom Keffer
75fe727d1c Removing weather specific logic from the engine 2013-01-08 02:59:49 +00:00
Tom Keffer
23bd675aed Added 'last' and 'lasttime' to list of things accumulated by the accumulators. 2013-01-06 14:44:11 +00:00
Tom Keffer
65170604b9 Initial version 2013-01-06 01:17:36 +00:00
Tom Keffer
faf7fa25ba genFakeRecords() now has arguments for start, stop time and increment 2013-01-06 01:16:47 +00:00
Matthew Wall
9c6084edb1 (re)include the description comments 2013-01-04 15:59:10 +00:00
Matthew Wall
df6a27ec43 make max-sane-rain a configuration option for fousb. report magic numbers in config_fousb. version and id were reversed in config_fousb. 2013-01-04 15:53:27 +00:00
Tom Keffer
5bf1b880be Added Fine Offset configuration utility from Matthew Wall. His version 350. 2013-01-04 15:17:16 +00:00
Tom Keffer
eb43bf16f6 Now expects a NotImplementedError exception to get raised if a station hardware does not have an archive_interval property. 2013-01-04 02:05:16 +00:00
Tom Keffer
88d24a58bf The property archive_interval is now retrieved using a property method. This allows it to appear in the abstract base class AbstractStation. 2013-01-03 21:53:58 +00:00
Tom Keffer
f49dc23455 V2.1.1 2013-01-03 00:37:25 +00:00
Tom Keffer
f25e184b9e Fixed a bug that shows itself if a value in a 'trend' is None. 2013-01-03 00:12:48 +00:00
Tom Keffer
dfd2efb9d3 V2.1.0 2013-01-02 15:57:19 +00:00
Tom Keffer
be391c2f38 Added unit test for addition and subtraction of ValueTuples. 2013-01-02 15:16:53 +00:00
Tom Keffer
604e5e99a9 Added check for 'has_key' as a work around for a Cheetah bug. 2013-01-02 15:16:10 +00:00
Tom Keffer
3760462394 Added Matthew Wall's patch that allows optional bar chart fill colors.
V2.1.0b2
2013-01-02 02:24:26 +00:00
Tom Keffer
233a7d5548 Added documentation on tag $trend.
Version 2.1.0b1
2013-01-02 01:44:05 +00:00
Tom Keffer
623eb93150 Added a tag for trends.
Introduced new unit group 'group_elapsed' and new units 'second', 'hour', and 'day'.
2013-01-02 01:10:30 +00:00
Tom Keffer
7faf25c800 Trend time delta now an option in the skin configuration file. Defaults to 3 hours. 2013-01-02 00:17:36 +00:00
Tom Keffer
9dbb8787eb Now only requires pyserial if the serial version is used. 2013-01-02 00:17:09 +00:00
Tom Keffer
e0ac785c17 Added tag $current.barometer_trend.
However, I think I can do better...
2013-01-01 23:35:06 +00:00
Tom Keffer
6946c4e583 Now imports ftpupload or rsynchupload only if they are used. 2013-01-01 16:24:37 +00:00