Package invocations :: Package cu29 :: Module cu29 :: Class Cu29
[hide private]

Class Cu29

source code

Ingest internal catalogues and create neighbour and lookup join tables for a given programme.

Nested Classes [hide private]
    Nested Errors and Exceptions

Inherited from wsatools.DbConnect.CuSession.CuSession: CuError

Instance Methods [hide private]
Ingest internal catalogues and create neighbour and lookup join tables.
source code
areVariableTypes(self, externCatInfo)
Checks to see if there is a set of variables tables that should be merged into variable types table
source code
ingestCats(self, externCat)
Checks to see if catalogues have been ingested
source code
createIngestableFile(self, notIngFile, externCat, mainTableName)
Create a csv file that is ingestable
source code
breakIntoParts(self, line, externFileHeaderInfo)
Breaks line into correct parts
source code
parseHeader(self, fileData)
Parse the header to get information
source code
matchCats(self, externCat)
Match to source table - either directly or with neighbour table.
source code
setProgrammeTable(self, externCat)
Set entry in ProgrammeTable if it does not exist.
source code
setupSchema(self, externCat)
Create schema from template.
source code

Inherited from wsatools.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 wsatools.DbConnect.CuSession.CuSession: logException

Class Variables [hide private]
  cuNum = 29
Curation task number.
  _autoCommit = True
Should this curation task auto-commit database transactions?
  _isPersistent = True
Should this curation task try to re-open broken database connections?
  _outgester = None
A DbSession.Outgester object for performing outgests.

Inherited from wsatools.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]


source code 

Ingest internal catalogues and create neighbour and lookup join tables.

Overrides: wsatools.DbConnect.CuSession.CuSession._onRun