Changeset 33023
- Timestamp:
- Dec 24, 2011, 3:28:40 PM (15 years ago)
- Location:
- branches/haf_add201112
- Files:
-
- 3 edited
-
ippScripts/scripts/addstar_run.pl (modified) (2 diffs)
-
ippScripts/scripts/minidvodb_premerge.pl (modified) (4 diffs)
-
ippTools/src/addtool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/haf_add201112/ippScripts/scripts/addstar_run.pl
r33022 r33023 115 115 # it was PSASTRO.OUTPUT 116 116 117 my $fpaObjects; 117 my $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT", $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR); 118 118 119 if ($stage =~ /cam/) { 119 120 # if it is cam stage we need to be careful when grabbing the filename. … … 150 151 #is this cam_id magicked or not? 151 152 if ($magicked) { 152 $fpaObjects = $ipprc->destreak _filename("PSASTRO.OUTPUT", $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR);153 $fpaObjects = $ipprc->destreaked_filename("$fpaObjects") or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR); 153 154 print "cam_id is magicked, using $fpaObjects for the cam smf\n"; 154 155 } else { 155 156 $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT", $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR);157 156 print "cam_id is NOT magicked, using $fpaObjects for the cam smf\n"; 158 157 } 159 158 } 160 } else {161 # for non cam stages, grabe the file name like this:162 $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT", $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR);163 159 } 164 160 if (($stage =~/staticsky/) || ($stage =~/stack/)) { -
branches/haf_add201112/ippScripts/scripts/minidvodb_premerge.pl
r32992 r33023 79 79 80 80 unless ($no_op) { 81 {81 82 82 #this is chopped into several parts: addstar, relphot 83 83 #addstar 84 {84 { 85 85 my $command = "$addstar -resort"; 86 86 $command .= " -D CAMERA $camera"; … … 110 110 print "$command\n"; 111 111 my $mjd_relphot_start = DateTime->now->mjd; # MJD of starting script 112 112 113 113 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 114 114 run(command => $command, verbose => $verbose); … … 122 122 123 123 { 124 124 125 125 $dtime_script = 86400.0*(DateTime->now->mjd - $mjd_start); 126 126 my $command = "addtool -minidvodb_id $minidvodb_id"; … … 139 139 } 140 140 } 141 } else {142 &my_die("dvodb: minidvodb_id = $minidvodb_id not found", $minidvodb_id, $PS_EXIT_UNKNOWN_ERROR);143 }141 #} else { 142 # &my_die("dvodb: minidvodb_id = $minidvodb_id not found", $minidvodb_id, $PS_EXIT_UNKNOWN_ERROR); 143 #} 144 144 } else { 145 145 print "skipping processing for minidvodb_id = $minidvodb_id\n"; -
branches/haf_add201112/ippTools/src/addtool.c
r33003 r33023 292 292 } else { 293 293 //This picks only the unmagicked/uncensored ones 294 if (strcmp(stage,"cam") == 0) { 295 psStringAppend(&query, " AND (camRun.magicked = 0)"); 296 } 294 //if (strcmp(stage,"cam") == 0) { 295 //we can now properly handle the magicked case in ippScripts, so we queue camRuns in any magic state now if -uncensored. 296 //psStringAppend(&query, " AND (camRun.magicked = 0)"); 297 //} 297 298 if (strcmp(stage,"stack") == 0) { 298 299 psStringAppend(&query, " AND (stackRun.magicked = 0)");
Note:
See TracChangeset
for help on using the changeset viewer.
