IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 7 and Version 8 of SAS9DataIntegrity


Ignore:
Timestamp:
Oct 5, 2012, 3:03:23 PM (14 years ago)
Author:
heather
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SAS9DataIntegrity

    v7 v8  
    149149'''This integrity fails on all levels.  ng/nr/ni/nz/ny are all less than what we get from the sums of stacks and detections for those filters, and ndetection != ng + nr + ni + nz + ny.'''  These are set in the dvo. Heather suspects this is a dvo problem.
    150150
    151 
     151=== dvo integrity checks ===
     152
     153This is all Gene's checks, using /data/ipp005.0/gpc1/catdirs/SAS/20120901
     154
     155{{{
     156dvo: skyregion 333 335 -1 1
     157dvo: avextract g:nphot g:ncode g:flags -v
     158trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.00.cpt (0 of 16)
     159trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.01.cpt (1 of 16)
     160trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.02.cpt (2 of 16)
     161trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.03.cpt (3 of 16)
     162trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.04.cpt (4 of 16)
     163trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.05.cpt (5 of 16)
     164trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.06.cpt (6 of 16)
     165trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.07.cpt (7 of 16)
     166trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.08.cpt (8 of 16)
     167trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.09.cpt (9 of 16)
     168trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.10.cpt (10 of 16)
     169trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.11.cpt (11 of 16)
     170trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.12.cpt (12 of 16)
     171trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.13.cpt (13 of 16)
     172trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.14.cpt (14 of 16)
     173trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.15.cpt (15 of 16)
     174dvo: mextract nmeas photcode -v dbflags
     175trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.00.cpt (0 of 16)
     176trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.01.cpt (1 of 16)
     177trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.02.cpt (2 of 16)
     178trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.03.cpt (3 of 16)
     179trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.04.cpt (4 of 16)
     180trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.05.cpt (5 of 16)
     181trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.06.cpt (6 of 16)
     182trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.07.cpt (7 of 16)
     183trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.08.cpt (8 of 16)
     184trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.09.cpt (9 of 16)
     185trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.10.cpt (10 of 16)
     186trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.11.cpt (11 of 16)
     187trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.12.cpt (12 of 16)
     188trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.13.cpt (13 of 16)
     189trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.14.cpt (14 of 16)
     190trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.15.cpt (15 of 16)
     191dvo: vstat g:ncode
     192mean: 0.898337, stdev: 2.45667, min: 0, max: 26, median: 0, mode: 26, Npts: 764449
     193dvo: echo $TOTAL
     194686733
     195dvo: echo {$TOTAL - 686619}
     196114
     197dvo: subset photcode_g_stk = photcode where (photcode == 11000)
     198dvo: echo photcode_g_stk[]
     199177372
     200dvo: echo {photcode_g_stk[] - 176180}
     2011192
     202dvo: echo {(photcode_g_stk[] - 176180) / photcode_g_stk[]}
     2030.00672033917417
     204dvo: subset photcode_g_exp = photcode where ((photcode > 10000) && (photcode < 10100))
     205dvo: echo photcode_g_exp[]
     206521635
     207dvo: echo {(photcode_g_exp[] - 454940)/photcode_g_exp[] }
     2080.12785760158
     209}}}
     210
     211
     212==== summary ====
     213
     214for same area of sky:
     215
     216|| test   || psps  || dvo  || comment  ||
     217|| sum(ng) in object table  || 686819  ||  686733 || diff = 114   not too crazy, may be due to rounding errors ||
     218|| sum( g detections ) in stack ||  176180 || 177372 || diff = 1192  ||
     219|| sum( g detections ) in p2     || 454940  || 521635  || diff = 521635  --- what? ||
     220
     221integrity is not happy...  need to investigate if there are filters in ipptopsps to block things. what are they?
     222
     223ahh!  does integrity hold up in dvo for n detections in objects  = n detections in stacks + n detections in p2
     224
     225NO:   686733 != 177372 + 521635   => 686733 != 699007
     226
     227however we don't expect this because of overlapping skycells: dvo counts all of them and the flag to pick the primary skycell detection is not used yet (sa9 just missed it by a few days).
     228
     229