Commit Graph

21 Commits

Author SHA1 Message Date
gjr80
5a7380ee70 Moved some common init code into the base DatabaseFix class, fixed a few pycharm complaints 2019-11-26 19:02:13 +10:00
gjr80
75c3721e8f Revised calc-missing functionality should now be working. Think most corner cases have been picked up. 2019-11-25 19:06:08 +10:00
Tom Keffer
d39c0169fa Catch up merge with development
# Conflicts:
#	docs/changes.txt
2019-10-25 06:14:01 -07:00
gjr80
a02488122f - change calcmissing tranche size from 50 to 20 days
- fixed bug that caused the last day of the tranche to be skipped when calc missing
- aligned progress reporting with rebuild daily reporting (ie every 1000 records)
2019-10-24 13:23:18 +10:00
Tom Keffer
d21d288ebe Update wee_database with new calling signature for WXCalculate 2019-10-12 12:13:34 -07:00
gjr80
03f8745c5a - added class CalcMissing to calculate and store missing derived fields over a given timespan, functioning but likely some output/log formatting issues to be finalised
- fixed small formatting issue with _progress() methods
2019-10-03 13:31:14 +10:00
Tom Keffer
5fba00f08b Various formatting nits 2019-08-20 05:45:26 -07:00
Tom Keffer
9c2ee63de4 Refactored weeutil and weecfg to use Python's logging module 2019-08-16 11:38:53 -07:00
Tom Keffer
ea120ee1f3 Minor reformatting 2019-02-12 18:42:42 -08:00
Tom Keffer
6f92190f2c Machine translated using python-modernize 2019-02-12 16:51:00 -08:00
vinceskahan
701f094a59 2to3 -f except -w (#315) 2018-04-09 05:55:16 -07:00
Matthew Wall
db6bcc3cad keep PEP happy 2017-02-13 00:13:06 -05:00
Matthew Wall
d1b347fb34 more simplification 2017-02-12 23:53:12 -05:00
Matthew Wall
f23734df99 make output consistent 2017-02-12 23:37:43 -05:00
gjr80
7493536a47 Now picks up absence of windSpeed daily summary 2017-02-06 11:52:25 +10:00
Tom Keffer
f869fd9773 Got the weighting update to work on MySQL 2017-01-22 17:21:39 -08:00
gjr80
15924f1964 Removed vacuum 2017-01-21 01:18:53 +10:00
Tom Keffer
4cb7df6994 Modified weighting fix
Should not mess with lessUpdate
Delete lastWeightPatch after successful patch
2017-01-19 15:28:33 -08:00
gjr80
fcf90e4cb0 Removed the p word, patch.py is now database.py, rejigged wee_database as per skype and followup emails
- progress function for fixes included as a method in base class that
can be overridden
- much changing of logging to give consistent results/output
- believe I retained Tom's recent changes to patch.py (commit 4acf752)
2017-01-19 22:31:06 +10:00
gjr80
9ad9f4bd28 Further refinement
- max and maxtime now updated
- reworked the progress function, now a method in the class

Have left __main__ code in that has been used for testing windSpeed
recalculation fix
2017-01-16 17:28:15 +10:00
gjr80
482efe17aa First cut of de-patching patch.py and adding windSpeed recalculation
- renamed base class to remove use of the term 'patch'
- 1st cut class WindSpeedRecalculation to handle windSpeed recalculation
- interval weighting class yet to be reviewed
- patch.py to be removed in due course
2017-01-15 23:51:50 +10:00