Changeset 36437
- Timestamp:
- Jan 14, 2014, 1:05:35 PM (13 years ago)
- Location:
- branches/bills_branches/bills_201312
- Files:
-
- 13 edited
-
ippScripts/scripts/ipp_apply_burntool_single.pl (modified) (1 prop)
-
ippScripts/scripts/publish_file.pl (modified) (1 prop)
-
ippScripts/scripts/stack_skycell.pl (modified) (4 diffs)
-
ippTasks/rawcheck.pro (modified) (1 diff)
-
ippTools/share/chiptool_pendingcleanuprun.sql (modified) (1 diff)
-
ippTools/src/chiptool.c (modified) (2 diffs)
-
ippTools/src/regtool.c (modified) (1 diff)
-
ippconfig/gpc1/psastro.config (modified) (1 diff)
-
ippconfig/recipes/ppSub.config (modified) (1 prop)
-
ippconfig/recipes/psastro.config (modified) (1 diff)
-
ippconfig/recipes/reductionClasses.mdc (modified) (1 diff, 1 prop)
-
psLib/src/math/psMixtureModels.c (modified) (4 diffs)
-
psphot/src/psphotStackImageLoop.c (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/bills_branches/bills_201312/ippScripts/scripts/ipp_apply_burntool_single.pl
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/bills_branches/bills_201312/ippScripts/scripts/publish_file.pl
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/bills_branches/bills_201312/ippScripts/scripts/stack_skycell.pl
r35950 r36437 40 40 } 41 41 42 my ($stack_id, $dbname, $outroot, $debug, $run_state, $threads, $reduction, $verbose, $no_update, $no_op, $redirect, $save_temps );42 my ($stack_id, $dbname, $outroot, $debug, $run_state, $threads, $reduction, $verbose, $no_update, $no_op, $redirect, $save_temps, $delete_convolved_images); 43 43 GetOptions( 44 44 'stack_id|d=s' => \$stack_id, # Stack identifier … … 55 55 'redirect-output' => \$redirect, 56 56 'save-temps' => \$save_temps, # Save temporary files? 57 'delete-convolved' => \$delete_convolved_images, 57 58 ) or pod2usage( 2 ); 58 59 … … 92 93 ); 93 94 95 94 96 my $ipprc = PS::IPP::Config->new() or my_die( "Unable to set up", $stack_id, $PS_EXIT_CONFIG_ERROR ); # IPP configuration 95 97 $| = 1; … … 360 362 361 363 if (!$quality) { 364 365 362 366 check_outputs(\@outputFiles, $replicate_outputs); 367 368 if (($convolve)&&($delete_convolved_images)) { # We made convolved products, but do not wish to keep them anymore 369 my @products_to_clear = ('PPSTACK.OUTPUT', 370 'PPSTACK.OUTPUT.MASK', 371 'PPSTACK.OUTPUT.VARIANCE', 372 'PPSTACK.OUTPUT.EXP', 373 'PPSTACK.OUTPUT.EXPNUM', 374 'PPSTACK.OUTPUT.EXPWT'); 375 foreach my $product (@products_to_clear) { 376 my $file = $ipprc->filename($product,$outroot,$skycell_id); 377 print "Deleting unwanted convolved product: $file\n"; 378 my $error= $ipprc->kill_file($file); 379 if ($error_code) { 380 print "Failed to delete unwanted convolved product: $error_code\n"; 381 } 382 } 383 } 384 363 385 } 364 386 -
branches/bills_branches/bills_201312/ippTasks/rawcheck.pro
r36372 r36437 75 75 task.exec 76 76 book npages rawcheckPending -var N 77 if ($N > 200 0)77 if ($N > 200) 78 78 process_cleanup rawcheckPending 79 79 break -
branches/bills_branches/bills_201312/ippTools/share/chiptool_pendingcleanuprun.sql
r34766 r36437 4 4 rawExp.exp_tag, 5 5 chipRun.state, 6 chipRun.workdir 6 chipRun.workdir, 7 chipRun.label, 8 IFNULL(Label.priority, 10000) AS priority 7 9 FROM chipRun 8 10 JOIN rawExp 9 11 USING (exp_id) 12 LEFT JOIN Label ON chipRun.label = Label.label 10 13 WHERE 11 14 (chipRun.state = 'goto_cleaned' OR chipRun.state = 'goto_scrubbed' OR chipRun.state = 'goto_purged') -
branches/bills_branches/bills_201312/ippTools/src/chiptool.c
r35789 r36437 1255 1255 1256 1256 psMetadata *where = psMetadataAlloc(); 1257 pxAddLabelSearchArgs (config, where, "-label", " label", "==");1257 pxAddLabelSearchArgs (config, where, "-label", "chipRun.label", "=="); 1258 1258 1259 1259 psString query = pxDataGet("chiptool_pendingcleanuprun.sql"); … … 1269 1269 } 1270 1270 psFree(where); 1271 1272 psStringAppend(&query, "\nORDER BY priority DESC, chip_id"); 1271 1273 1272 1274 // treat limit == 0 as "no limit" -
branches/bills_branches/bills_201312/ippTools/src/regtool.c
r34081 r36437 310 310 } 311 311 312 313 // CZW: 2013-12-11 A bad exposure caused this code to fail to return any rows. 314 // I don't clearly see any logic flaws, and so I fixed the issue by 315 // retricting dateobs_begin to exclude this exposure. Problem for 316 // another day. 312 317 static bool pendingburntoolimfileMode(pxConfig *config) 313 318 { -
branches/bills_branches/bills_201312/ippconfig/gpc1/psastro.config
r35723 r36437 380 380 END 381 381 382 POLE_REFCAT METADATA 383 PSASTRO.CATDIR STR SYNTH.GRIZY 384 ZERO.POINT.USE.MEAN BOOL TRUE 385 PSASTRO.GRID.MIN.ANGLE F32 -20 386 PSASTRO.GRID.MAX.ANGLE F32 +20 387 PSASTRO.GRID.DEL.ANGLE F32 0.5 388 PSASTRO.FIELD.PADDING F32 0.5 389 END 390 382 391 TEST_REFCAT METADATA 383 392 PSASTRO.CATDIR STR /data/ipp064.0/ipp/ippRefs/catdir.refcat.20120524.v0 -
branches/bills_branches/bills_201312/ippconfig/recipes/ppSub.config
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/bills_branches/bills_201312/ippconfig/recipes/psastro.config
r36426 r36437 273 273 END 274 274 275 POLE_REFCAT METADATA 276 END 277 275 278 TEST_REFCAT METADATA 276 279 END -
branches/bills_branches/bills_201312/ippconfig/recipes/reductionClasses.mdc
- Property svn:mergeinfo changed
/trunk/ippconfig/recipes/reductionClasses.mdc merged: 36404
r36375 r36437 251 251 BACKGROUND_PSWARP STR BACKGROUND 252 252 FULLFORCE_PSPHOT STR FULLFORCE_WARP 253 END 254 255 # basic science analysis 256 POLE_REFCAT METADATA 257 CHIP_PPIMAGE STR CHIP 258 CHIP_PSPHOT STR CHIP 259 JPEG_BIN1 STR PPIMAGE_J1 260 JPEG_BIN2 STR PPIMAGE_J2 261 ADDSTAR STR ADDSTAR 262 PSASTRO STR POLE_REFCAT 253 263 END 254 264 - Property svn:mergeinfo changed
-
branches/bills_branches/bills_201312/psLib/src/math/psMixtureModels.c
r36375 r36437 120 120 *Ncensored = 0; 121 121 122 int k = 0; 122 123 for (int i = 0; i < in->numRows; i++) { 123 124 int isCensored = 0; … … 130 131 *Ncensored = *Ncensored + 1; 131 132 } 132 offsets->data.S32[i] = *Ncensored; 133 } 133 else { 134 offsets->data.S32[k] = i - k; 135 k++; 136 } 137 // offsets->data.S32[i] = isCensored; 138 } 139 134 140 psImage *out; 135 141 if (*Ncensored == 0) { … … 320 326 } 321 327 } 322 i = modes->data.F32[k]; 323 counts->data.F32[i] += 1.0; 328 if (modes->data.F32[k] != -1) { 329 i = modes->data.F32[k]; 330 counts->data.F32[i] += 1.0; 331 } 324 332 } 325 333 … … 335 343 for (k = 0; k < N; k++) { 336 344 i = modes->data.F32[k]; 337 for (j = 0; j < dim; j++) { 338 means->data.F32[i][j] += D->data.F32[k][j]; 345 if (i != -1) { 346 for (j = 0; j < dim; j++) { 347 means->data.F32[i][j] += D->data.F32[k][j]; 348 } 339 349 } 340 350 } -
branches/bills_branches/bills_201312/psphot/src/psphotStackImageLoop.c
- Property svn:mergeinfo changed (with no actual effect on merging)
Note:
See TracChangeset
for help on using the changeset viewer.
