IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32516


Ignore:
Timestamp:
Oct 7, 2011, 10:47:42 AM (15 years ago)
Author:
rhenders
Message:

put back old code to deal with skycell/projectioncell as changes conficted with IN batch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/stackbatch.py

    r32512 r32516  
    5757       self.filter = meta[0];
    5858       self.filter = self.filter[0:1]
     59       self.skycell = meta[1];
    5960
    6061       # skycell is, eg "skycell.1133.081"
    6162       # we need 1133.081 for skycell, but store as an int, so instead store 1133081
    6263       # projection cell is just the 1133 bit
    63        self.skycell = meta[1];
    64        self.projectioncell = self.skycell[8:12]
    65        self.skycell = self.skycell[8:]
    66        self.skycell = self.skycell.replace(".", "")
     64       # this is how it should be done
     65       #self.projectioncell = self.skycell[8:12]
     66       #self.skycell = self.skycell[8:]
     67       #self.skycell = self.skycell.replace(".", "")
     68       #self.projectioncell = self.skycell[8:12]
     69
     70       # TODO this is the wrong way, but is consistent with SkyCell table in IN data
     71       self.skycell = self.skycell[8:12]
     72       self.projectioncell = self.skycell
    6773
    6874       self.analysisVer = meta[2];
Note: See TracChangeset for help on using the changeset viewer.