Changes between Version 7 and Version 8 of ippToPsps_ScratchDatabase
- Timestamp:
- Apr 4, 2012, 2:07:10 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ippToPsps_ScratchDatabase
v7 v8 20 20 Instances of {{{loader.py}}} will cycle through all of the above until a 'free' scratch database is found. It is obviously important that two loaders do not use the same scratch database at the same time. 21 21 22 All code dealing directly with the scratch database is in the ScarcthDbclass, [browser:trunk/ippToPsps/jython/scratchdb.py here].22 All code dealing directly with the scratch database is in the '''!ScratchDb''' class, [browser:trunk/ippToPsps/jython/scratchdb.py here]. 23 23 24 == DVO tables ==24 == DVO tables == 25 25 26 Beca sue scratch databases are used to import data from DVO databases, there are a number of DVO tables. These are:26 Because scratch databases are used to import data from DVO databases, there are a number of DVO tables. These are: 27 27 28 * {{{dvoDetection}}} 29 * {{{dvoDetectionFull}}} 30 * {{{dvoDone}}} 31 * {{{dvoImages}}} 32 * {{{dvoPhotcodes}}} 33 * {{{dvoSkyTable}}} 34 35 === {{{dvoDetection}}}/{{{dvoDetecionFull}}} === 28 36 29 * dvoDetection 30 * dvoDetectionFull 31 * dvoDone 32 * dvoImages 33 * dvoPhotcodes 34 * dvoSkyTable 35 37 This table is used to store all IDs that we take from DVO, eg objID ippObjId etc. {{{dvoDetecion}}} is used when we are using the standard C-interface to access DVO (details [wiki:ippToPsps#AccessingDVO here]), whereas {{{dvoDetectionFull}}} is used when pre-ingesting large amounts of data from DVO. 36 38 39 === {{{dvoImages}}}/{{{dvoPhotcodes}}}/{{{dvoSkyTable}}} === 40 41 These tables represent the DVO FITS files Images.dat, Photcodes.dat and SkyTable.dat respectively. 37 42 == Setting up a loading machine == 38 43
