Changeset 35075
- Timestamp:
- Jan 31, 2013, 12:21:01 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20121219/ippToPsps
- Files:
-
- 2 edited
-
doc/upgrade.txt (modified) (2 diffs)
-
jython/config.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20121219/ippToPsps/doc/upgrade.txt
r35072 r35075 1 2 2012.01.29 3 4 I'm trying to re-work the operational model. First, make sure we have correct names for concepts: 5 6 * region : unit of spatial partition within DVO : a single region (eg, 7 n0000/0020.01) has bounds of lines of constant RA & DEC, and is 8 associated with 4 files containing dvo database tables for that part 9 of the sky. 10 11 * batch : the unit of data sent to psps (1 camera-stage smf, 1 stack-stack cmf, 1 region-worth for obj, 1 init batch) 12 13 * box: an area on the sky for which we are generating / have generated 14 batches. 15 16 * config : an area on the sky for which we are generating batches in boxes 17 XXX : this name is somewhat confused & overloaded in ipptopsps -- it 18 encompases both the static configuration information and the 19 information about a processing chunk. 20 21 * client : an instance of an ipptopsps running proccess 22 23 Example sequence: 24 25 * ippjython queue.py edit : create a new 'config' 26 1 27 2 28 2012.01.27 … … 7 33 8 34 I need to change the way ippToPsps works at the operational level. 9 currently, the concept is that a 'config' is once and the boundaries10 / aspect changed to trigger different processing. this is poor11 because it leaves no tracking, and it means the current situation12 change change too easily. in addition, the rules for triggering dvo13 ingest are not completely clear, and probably not enforceable from14 within ippToPsps35 currently, the concept is that a 'config' is created once and the 36 boundaries / aspect changed to trigger different processing. this 37 is poor because it leaves no tracking, and it means the current 38 situation can change too easily. in addition, the rules for 39 triggering dvo ingest are not completely explicit, and probably not 40 enforceable from within ippToPsps for parallel DVOs 15 41 16 42 alternatively, I'd like to have the following sequence: -
branches/eam_branches/ipp-20121219/ippToPsps/jython/config.py
r34971 r35075 13 13 class Config(object): 14 14 15 16 15 ''' 17 16 Constructor … … 26 25 27 26 # self.configdir is set in ipptopsps.jy on init based on env(IPPTOPSPS_DATA) 27 # for test purposes, an uninstalled system may use the config information from 28 # a relative path 28 29 if self.configDir is None: 29 30 self.settingsPath = "../config/settings.xml" # TODO … … 35 36 self.settingsDoc = ElementTree(file=self.settingsPath) 36 37 self.logPath = self.settingsDoc.find("logPath").text 38 39 # XXX this is poor -- the czartool stuff is not related to 40 # ipptopsps and should be moved elsewhere 37 41 self.czarPlotsPath = self.settingsDoc.find("czarPlotsPath").text 38 42 39 43 # this is the border (in degrees) that we place around any loading box of 40 44 # PS1 pointings to ensure we pull a large enough area out of DVO 45 # XXX this is a poor place to put this information -- it is completely gpc-specific. 46 # probably should go elsewhere 41 47 self.BORDER = 1.65 42 48 self.isLoaded = False
Note:
See TracChangeset
for help on using the changeset viewer.
