| 151 | | |
| | 151 | === dvo integrity checks === |
| | 152 | |
| | 153 | This is all Gene's checks, using /data/ipp005.0/gpc1/catdirs/SAS/20120901 |
| | 154 | |
| | 155 | {{{ |
| | 156 | dvo: skyregion 333 335 -1 1 |
| | 157 | dvo: avextract g:nphot g:ncode g:flags -v |
| | 158 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.00.cpt (0 of 16) |
| | 159 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.01.cpt (1 of 16) |
| | 160 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.02.cpt (2 of 16) |
| | 161 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.03.cpt (3 of 16) |
| | 162 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.04.cpt (4 of 16) |
| | 163 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.05.cpt (5 of 16) |
| | 164 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.06.cpt (6 of 16) |
| | 165 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.07.cpt (7 of 16) |
| | 166 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.08.cpt (8 of 16) |
| | 167 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.09.cpt (9 of 16) |
| | 168 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.10.cpt (10 of 16) |
| | 169 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.11.cpt (11 of 16) |
| | 170 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.12.cpt (12 of 16) |
| | 171 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.13.cpt (13 of 16) |
| | 172 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.14.cpt (14 of 16) |
| | 173 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.15.cpt (15 of 16) |
| | 174 | dvo: mextract nmeas photcode -v dbflags |
| | 175 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.00.cpt (0 of 16) |
| | 176 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.01.cpt (1 of 16) |
| | 177 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.02.cpt (2 of 16) |
| | 178 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.03.cpt (3 of 16) |
| | 179 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.04.cpt (4 of 16) |
| | 180 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.05.cpt (5 of 16) |
| | 181 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.06.cpt (6 of 16) |
| | 182 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/n0000/0559.07.cpt (7 of 16) |
| | 183 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.08.cpt (8 of 16) |
| | 184 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.09.cpt (9 of 16) |
| | 185 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.10.cpt (10 of 16) |
| | 186 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.11.cpt (11 of 16) |
| | 187 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.12.cpt (12 of 16) |
| | 188 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.13.cpt (13 of 16) |
| | 189 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.14.cpt (14 of 16) |
| | 190 | trying /data/ipp005.0/gpc1/catdirs/SAS/20120901/s0000/5225.15.cpt (15 of 16) |
| | 191 | dvo: vstat g:ncode |
| | 192 | mean: 0.898337, stdev: 2.45667, min: 0, max: 26, median: 0, mode: 26, Npts: 764449 |
| | 193 | dvo: echo $TOTAL |
| | 194 | 686733 |
| | 195 | dvo: echo {$TOTAL - 686619} |
| | 196 | 114 |
| | 197 | dvo: subset photcode_g_stk = photcode where (photcode == 11000) |
| | 198 | dvo: echo photcode_g_stk[] |
| | 199 | 177372 |
| | 200 | dvo: echo {photcode_g_stk[] - 176180} |
| | 201 | 1192 |
| | 202 | dvo: echo {(photcode_g_stk[] - 176180) / photcode_g_stk[]} |
| | 203 | 0.00672033917417 |
| | 204 | dvo: subset photcode_g_exp = photcode where ((photcode > 10000) && (photcode < 10100)) |
| | 205 | dvo: echo photcode_g_exp[] |
| | 206 | 521635 |
| | 207 | dvo: echo {(photcode_g_exp[] - 454940)/photcode_g_exp[] } |
| | 208 | 0.12785760158 |
| | 209 | }}} |
| | 210 | |
| | 211 | |
| | 212 | ==== summary ==== |
| | 213 | |
| | 214 | for 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 | |
| | 221 | integrity is not happy... need to investigate if there are filters in ipptopsps to block things. what are they? |
| | 222 | |
| | 223 | ahh! does integrity hold up in dvo for n detections in objects = n detections in stacks + n detections in p2 |
| | 224 | |
| | 225 | NO: 686733 != 177372 + 521635 => 686733 != 699007 |
| | 226 | |
| | 227 | however 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 | |