Package wsatools :: Module QualityControl :: Class NonSurveyDeprecator
[hide private]

Class NonSurveyDeprecator

source code


Deprecates non-survey data according to quality control criteria. If supplied with a specific programmeID then deprecations are just propagated to that programme's detection table, otherwise just frame and multiframe data for all non-surveys are quality controlled.

Nested Classes [hide private]
    Nested Errors and Exceptions

Inherited from DbConnect.CuSession.CuSession: CuError

Instance Methods [hide private]
 
_onRun(self)
Perform quality control to deprecate data in the database.
source code
 
deprecateDetections(self)
Propagate deprecations to detection table of current programme.
source code
 
deprecateFrames(self)
Deprecate frames and multiframes for all non-survey data only.
source code

Inherited from DbConnect.CuSession.CuSession: __del__, __init__, logBrokenFile, run

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from DbConnect.CuSession.CuSession: logException

Class Variables [hide private]
  _autoCommit = True
Should this curation task auto-commit database transactions?
  _isPersistent = True
Should this curation task try to re-open broken database connections?
  cuNum = 20
Curation task number.
  endDate = '9999-12-31'
Final date of data to quality control.

Inherited from DbConnect.CuSession.CuSession: archive, comment, cuEventID, curator, eTypes, isDayStampedLog, onlyNonSurveys, onlySurveys, programme, programmeID, resultsFilePathName, shareFileID, sysc

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_onRun(self)

source code 

Perform quality control to deprecate data in the database.

Overrides: DbConnect.CuSession.CuSession._onRun