Commit Graph

  • 746e3a03b0 Guards against sleeping a negative length of time in the Simulator. Tom Keffer 2012-12-13 15:35:58 +00:00
  • 7fcf0ebe8a Fixed problem that prevented showing the radar image on the smartphone formatted HTML pages. Tom Keffer 2012-12-01 01:48:12 +00:00
  • 268b569d10 Added a troubleshooting section on 3rd party serial connectors to the Davis Vantage consoles. Tom Keffer 2012-11-27 21:49:54 +00:00
  • e526e868c2 config_vp.py now shows the console firmware version number iff available. Tom Keffer 2012-11-26 00:54:09 +00:00
  • b41f4ffaa8 Version 2.0.2 release v2.0.2 Tom Keffer 2012-11-23 14:23:51 +00:00
  • e33285c5f9 V2.0.2 Tom Keffer 2012-11-23 14:21:58 +00:00
  • 8effe530cd Fixed problem with installation of README.txt Tom Keffer 2012-11-23 14:02:14 +00:00
  • 04cd6eb43f Broke out the table creation logic in open_with_create into a separate method. Tom Keffer 2012-11-22 02:15:32 +00:00
  • 29dfa5ead7 The name of the table used in class Archive can now be optionally specified in the initializer. Tom Keffer 2012-11-19 17:23:06 +00:00
  • a887fe0b98 Added function VantagePro.getConsoleTime() to return the raw time off the console, uncorrected for DST or timezone. Used it in config_vp.py. Tom Keffer 2012-11-08 18:22:03 +00:00
  • f3042079c5 Older versions of ephem use attribute 'long' instead of 'lon'. Tom Keffer 2012-11-08 15:22:59 +00:00
  • a51a1a0dac Clarified documentation on MySQL. Cleaned up some CSS while I was at it. Tom Keffer 2012-11-07 23:51:15 +00:00
  • cd146f3dfc CHANGES.txt becomes README.txt V2.0.2rc2 Tom Keffer 2012-11-07 18:04:17 +00:00
  • 1c5b2683c4 Renamed CHANGES.txt to README.txt Tom Keffer 2012-11-07 17:55:46 +00:00
  • f87cd696b3 Now allows the stats and main archive database to be combined into one database. V2.0.2rc1 Tom Keffer 2012-11-07 17:53:10 +00:00
  • cfcfb31615 Fixed error where the MySQL implementation of weedb did not raise an exception if asked for the columns of a non-existent table. Fixed test suites. Tom Keffer 2012-11-06 22:25:38 +00:00
  • 4ba8c0c40e Version 2.0.1 release v2.0.1 Tom Keffer 2012-11-05 13:53:22 +00:00
  • f51c10bb86 Fixed problem with reconfiguring database. V2.0.1 Tom Keffer 2012-11-05 13:51:09 +00:00
  • 0040d7337d Corrected a glitch in the CHANGES file. Tom Keffer 2012-11-04 17:37:08 +00:00
  • 41ccb72cda Version 2.0.0 release v2.0.0 Tom Keffer 2012-11-04 17:12:55 +00:00
  • 7e7889bb1e V2.0.0 Tom Keffer 2012-11-04 17:05:51 +00:00
  • 6b901df14c Tests for DST before deciding whether timestamps are declining. No longer checks wall clock time. Tom Keffer 2012-11-04 15:12:04 +00:00
  • 902ea4f7f9 V2.0.0rc2 Tom Keffer 2012-11-04 01:48:56 +00:00
  • b026888e25 Added additional tests for scale(). Tom Keffer 2012-11-04 01:48:09 +00:00
  • 032302b359 If the min and max y values in a plot are within a small relative difference, they are now declared equal. Tom Keffer 2012-11-04 01:43:25 +00:00
  • ce49d3a9ca Fiddled with CSS file to get radar image looking nice. V2.0.0rc1 Tom Keffer 2012-11-03 20:59:51 +00:00
  • 3d143dd17e Added an example with daily high/low temperatures. Tom Keffer 2012-11-03 19:11:50 +00:00
  • d338559cd1 Merged V2.0 branch back into main trunk. Tom Keffer 2012-11-03 17:58:13 +00:00
  • 23758a5c16 Separated out the radar image from the radar hyperlink. Cleaned up some of the comments and documentation. Tom Keffer 2012-11-03 17:32:32 +00:00
  • 45f0014b4d Class Almanac is now an 'old-style' class. This gets around the 'autocall' bug in Cheetah versions prior to V2.1 V2.0.0b18 Tom Keffer 2012-11-01 18:52:29 +00:00
  • 475ddb01d3 Workaround for bug in early versions of Cheetah that causes it to choke on $almanac.hasExtras when used in a conditional. V2.0.0b17 Tom Keffer 2012-11-01 16:39:27 +00:00
  • e451710ea9 Added the ability to specify a horizon elevation in the almanac. Also, whether to use the center of the heavenly body for the calculations. Added start and stop of civil twilight to the skins. v2.0.0b16 Tom Keffer 2012-11-01 01:16:54 +00:00
  • db25b56f40 Fixed stupid parameter mistake initializing the Almanac. v2.0.0b15 Tom Keffer 2012-10-31 13:20:12 +00:00
  • b3c67be6c3 V2.0.0b14 Tom Keffer 2012-10-31 03:56:28 +00:00
  • e8fb490f80 Added horizon to the list of Observer attributes Added example to match PyEphem's "Naval Observatory" example. Tom Keffer 2012-10-31 03:43:40 +00:00
  • d7f38d5930 Added additional almanac information, such as first and last quarters. Tom Keffer 2012-10-31 01:32:33 +00:00
  • 6c4eadc54c Uses the wall clock to help determine whether DST is in effect or not. Added ability to set the onboard clock on the Vantage. V2.0.0b13 Tom Keffer 2012-10-30 19:03:15 +00:00
  • 7243cb70fa Extended the mygenerator example. Tom Keffer 2012-10-29 17:21:59 +00:00
  • 77f87d00b6 Added description of the simulator to the documentation. Tom Keffer 2012-10-29 12:53:30 +00:00
  • ba740bc6b2 Gave up on having the WMR100 return the current time. It's just too stupid. V2.0.0b12 Tom Keffer 2012-10-29 01:35:29 +00:00
  • 76903db599 Clarified the difference between the simulator start (seed) time and the resume time. Got the sim test suite to work for average (still need min, max and wind related tests). V2.0.0b11 Tom Keffer 2012-10-28 19:44:17 +00:00
  • 94987b5d1c Added wind and rain to the simulator Tom Keffer 2012-10-27 21:48:34 +00:00
  • 67470f5010 Precondition that archive delay be greater than zero. Tom Keffer 2012-10-27 15:32:59 +00:00
  • c4f329752a Continuing to refine the simulator, as well as the unittest for the accumulators. Tom Keffer 2012-10-26 14:58:19 +00:00
  • 51c82744b8 The engine now takes a configuration dictionary as its only argument (rather than parsed options). Tom Keffer 2012-10-26 14:57:25 +00:00
  • 345f2ef0c3 The VP driver no longer automatically starts the logger. Can now start/stop the logger using the utility config_vp. Tom Keffer 2012-10-26 13:28:40 +00:00
  • 9f4bfee4aa v2.0.0b10 Tom Keffer 2012-10-25 12:55:31 +00:00
  • a394892b5a Clarified comments and docstrings. Tom Keffer 2012-10-25 00:45:52 +00:00
  • bdb9666900 Updated service TestAccum. Included a section in the customization guide on porting to new hardware stations. Tom Keffer 2012-10-25 00:20:14 +00:00
  • 44ddc6da33 Launches reporting thread if a zombie thread is still alive. V2.0.0b9 Tom Keffer 2012-10-24 21:30:49 +00:00
  • d16274fb37 If a reporting thread is still active, no longer launches a new one. This allows the simulator to be used in 'generator' mode. Version 2.0.0b8 Tom Keffer 2012-10-24 18:05:18 +00:00
  • c76f8b287d Removed all references to time.time() to make way for the Simulator to run at any arbitrary start time. Tom Keffer 2012-10-24 15:57:26 +00:00
  • f527c2e030 V2.0.0b7 Tom Keffer 2012-10-23 23:59:22 +00:00
  • 8e4b33f278 Moved record_generation option to section [StdArchive] in weewx.conf Now the wxengine always tries hardware record generation then falls back to software if that doesn't work. Tom Keffer 2012-10-23 23:41:27 +00:00
  • 300c8f0b19 V2.0.0b6 Fixed error in getSqlVectorsExtended that was accidentally introduced. Tom Keffer 2012-10-21 00:39:15 +00:00
  • c60696a710 V2.0.0b5 Tom Keffer 2012-10-20 23:27:09 +00:00
  • 99ca93fa27 Got test_templates working. Tom Keffer 2012-10-20 20:22:57 +00:00
  • da3f8ac21f V2.0.0b4 Tom Keffer 2012-10-20 18:00:00 +00:00
  • ff284289b3 Got test_stats working again with the new Archive and StatsDb initializers. Tom Keffer 2012-10-20 17:58:54 +00:00
  • b78d32b8ee Fixed bug where a SELECT statement using accumulation returns a result set with timestamp == NULL. Tom Keffer 2012-10-20 13:21:06 +00:00
  • 668ca00b7b Fixed bug in GenWithPeek Tom Keffer 2012-10-20 13:19:50 +00:00
  • cc861da981 Finished over to the new Archive and StatsDb initializers. Tom Keffer 2012-10-20 00:56:45 +00:00
  • 2b5ea6cef0 better strategy for figuring out the stop time of an aggregation interval. Updated test suite. Tom Keffer 2012-10-19 16:07:27 +00:00
  • 3e32925c64 Now avoids use of non-aggregated types in a SQL aggregation statement. In particular, it calculates the time of the end of an interval, rather than SELECTing it in the SQL statement. This was to work around different interpretations between sqlite and MySQL. Tom Keffer 2012-10-19 02:04:29 +00:00
  • 221a1a6444 Cleanly separated archive tests from stats tests. Added more archive tests. Tom Keffer 2012-10-18 02:05:16 +00:00
  • 470304e082 changed name of test_dbs.py to test_archive.py Tom Keffer 2012-10-18 01:42:13 +00:00
  • 36ffa28fa4 Simplified initializers for StatsDb and Archive. Working on test suites for the two. Tom Keffer 2012-10-18 01:40:30 +00:00
  • f90118e145 Started on weedb test suites. Tom Keffer 2012-10-17 02:27:46 +00:00
  • fa93706160 Moved the weedb.py logic into the package weedb. Tom Keffer 2012-10-16 22:54:56 +00:00
  • ca58e15cf7 Renamed db to weedb Tom Keffer 2012-10-16 22:53:11 +00:00
  • 1498be4f4e Working on changing open on archive and stats databases. Tom Keffer 2012-10-16 17:02:28 +00:00
  • 50d70c4b70 Deleted unneeded tree in the debian subdirectory. Tom Keffer 2012-10-16 13:09:52 +00:00
  • 110ac91349 Corrected heating degree-day example. Tom Keffer 2012-10-16 13:08:49 +00:00
  • 570269e515 Added dayRain, hourRain, totalRain to obs_group_dict, so they come out in the right units (even though they are not generally stored in the database). Tom Keffer 2012-10-16 01:14:36 +00:00
  • d24f2ae506 Fixed error where try block did not capture a usb.USBError. Tom Keffer 2012-10-15 22:14:02 +00:00
  • 047f647216 V2.0.0b3 Tom Keffer 2012-10-14 19:27:41 +00:00
  • 92f9b625bd Updated documentation with information on reconfiguring the databases. Tom Keffer 2012-10-14 19:13:37 +00:00
  • a09b4ea96d Added the ability to change unit system to the utility config_database.py Tom Keffer 2012-10-14 16:26:03 +00:00
  • 3c89e2ab7b Alphabetized options. Tom Keffer 2012-10-13 16:09:25 +00:00
  • dc5ca33b98 Added generator wrapper GenWithConvert. Added default formatting and label for mmHg. Tidied up some examples. Tom Keffer 2012-10-13 15:40:32 +00:00
  • 4991ef5fa3 Added conversion test for mmHg Tom Keffer 2012-10-13 01:24:29 +00:00
  • 5ce1341e2c Added formatting and labeling options for mmHg. Tom Keffer 2012-10-12 23:14:59 +00:00
  • 6f4f5f6346 Now checks to make sure any incoming records use the same unit system as the database. Tom Keffer 2012-10-12 22:54:19 +00:00
  • 39c17ef1de No longer logs an error when a socket exception is thrown while flushing the input buffer. Tom Keffer 2012-10-12 22:07:03 +00:00
  • 3b542b3fed V2.0.0b2 Tom Keffer 2012-10-12 01:53:33 +00:00
  • f88fb8002c Broke out the main loop engine so it can be invoked programmatically, not just from the command line. Tom Keffer 2012-10-12 01:33:49 +00:00
  • 67f22e5d16 Ported test_template to V2. Tom Keffer 2012-10-12 01:18:31 +00:00
  • 9246292550 Now tests wind stats as well. Tom Keffer 2012-10-11 23:55:54 +00:00
  • 66f694a83d gen_fake_data and test_stats now use the new weedb database. Tom Keffer 2012-10-10 21:39:55 +00:00
  • 557747c555 stats.backfill is now a member function Tom Keffer 2012-10-10 21:39:12 +00:00
  • e80da8333e Changed response strategy. Tom Keffer 2012-10-10 15:36:49 +00:00
  • 8f6c2cec7d Added version number dependencies Tom Keffer 2012-10-09 15:41:29 +00:00
  • ecb0f1acea Started the process of creating a Debian package. Tom Keffer 2012-10-06 17:47:18 +00:00
  • b060396fde Changed hardware reference from WMR100N to the more generic WMR-USB Tom Keffer 2012-10-05 23:56:02 +00:00
  • 82b5815032 Added #encoding UTF-8 directive to the top of the Cheetah template files. Tom Keffer 2012-10-05 14:53:00 +00:00
  • 97c817ad34 stats.backfill now prints out a progress report, useful when a lot of archive records are being processed. Tom Keffer 2012-10-05 01:21:15 +00:00
  • 59c4df2111 Now passes in the configuration dictionary itself, instead of just its path, to the report engine. Got reconfigure database working. V2.0.0b1 Tom Keffer 2012-10-04 19:11:52 +00:00
  • ab760ee280 Send command START on start up. Tom Keffer 2012-10-04 15:24:16 +00:00
  • f39c2b55c4 RESTful now works with MySQL. V2.0.0a9 Tom Keffer 2012-10-03 13:49:22 +00:00
  • 382b05eaee Default transaction isolation level set to READ UNCOMMITTED for MySQL. Tom Keffer 2012-10-03 13:44:55 +00:00