IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41177 for trunk/ippToPsps


Ignore:
Timestamp:
Nov 27, 2019, 12:10:00 PM (7 years ago)
Author:
eugene
Message:

merge updates from EAM dev branch ipp-20191011

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ippToPsps/jython/stackbatch.py

    r40294 r41177  
    422422            sqlLine.group("a.dvoRegionID",             "b.catID")                       # this is not filter dependent, but is re-written for each filter (if data exists)
    423423            sqlLine.group("a.primaryDetection",        "((b.flags & 0x10000) >> 16)")   # this is not filter dependent, but is re-written for each filter (if data exists)
     424            ### XXX : primaryDetection is wrong: it should have calculated if (b.flags & 0x10000) was set for all filters
     425            ### b.flags is the filter-dependent STACK_PRIMARY bit -- thus only true if the y-band is primary
     426
    424427            sqlLine.group("a.bestDetection",           "((b.objflags & 0x8000) >> 15)") # this is not filter dependent, but is re-written for each filter (if data exists)
     428            ### XXX : bestDetection grabs the wrong bit.  It should have been (b.filtflags & 0x8000) or (b.objflags  & 0x10000000)
    425429
    426430            sqlLine.group("a."+filter+"haveData",      "'1'")
Note: See TracChangeset for help on using the changeset viewer.