IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35075


Ignore:
Timestamp:
Jan 31, 2013, 12:21:01 PM (13 years ago)
Author:
eugene
Message:

adding notes

Location:
branches/eam_branches/ipp-20121219/ippToPsps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219/ippToPsps/doc/upgrade.txt

    r35072 r35075  
     1
     22012.01.29
     3
     4I'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
     23Example sequence:
     24
     25* ippjython queue.py edit : create a new 'config'
     26
    127
    2282012.01.27
     
    733
    834  I need to change the way ippToPsps works at the operational level.
    9   currently, the concept is that a 'config' is once and the boundaries
    10   / aspect changed to trigger different processing.  this is poor
    11   because it leaves no tracking, and it means the current situation
    12   change change too easily.  in addition, the rules for triggering dvo
    13   ingest are not completely clear, and probably not enforceable from
    14   within ippToPsps
     35  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
    1541
    1642  alternatively, I'd like to have the following sequence:
  • branches/eam_branches/ipp-20121219/ippToPsps/jython/config.py

    r34971 r35075  
    1313class Config(object):
    1414
    15 
    1615    '''
    1716    Constructor
     
    2625
    2726        # 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
    2829        if self.configDir is None:
    2930          self.settingsPath = "../config/settings.xml" # TODO
     
    3536        self.settingsDoc = ElementTree(file=self.settingsPath)
    3637        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
    3741        self.czarPlotsPath = self.settingsDoc.find("czarPlotsPath").text
    3842
    3943        # this is the border (in degrees) that we place around any loading box of
    4044        # 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
    4147        self.BORDER = 1.65
    4248        self.isLoaded = False
Note: See TracChangeset for help on using the changeset viewer.