Changeset 42068
- Timestamp:
- Feb 24, 2022, 5:05:17 PM (4 years ago)
- Location:
- branches/eam_branches/ipp-20211108/ippScripts/scripts
- Files:
-
- 1 deleted
- 3 edited
-
ipp_cleanup.pl (modified) (1 diff)
-
night_report.pl (deleted)
-
nightly_science.pl (modified) (3 diffs)
-
warp_overlap.pl (modified) (2 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20211108/ippScripts/scripts/ipp_cleanup.pl
r40416 r42068 70 70 } 71 71 72 $ipprc->redirect_ output($logfile) or72 $ipprc->redirect_to_logfile($logfile) or 73 73 &my_die("Unable to redirect ouput", $stage, $stage_id, $PS_EXIT_UNKNOWN_ERROR) if $logfile; 74 74 -
branches/eam_branches/ipp-20211108/ippScripts/scripts/nightly_science.pl
r41893 r42068 1518 1518 my $this_quality = ${ $this_warp }[5]; 1519 1519 my $this_state = ${ $this_warp }[4]; 1520 if (($this_quality != 0) || ($this_state eq ' fail') ) {1520 if (($this_quality != 0) || ($this_state eq 'drop') ) { 1521 1521 print STDERR "diff_queue: excluding $this_exp_id for $this_object due to non-zero cam.quality $this_quality or state $this_state\n"; 1522 1522 } … … 1708 1708 my $this_quality = ${ $this_warp }[5]; 1709 1709 my $this_state = ${ $this_warp }[4]; 1710 if (($this_quality != 0) || ($this_state eq ' fail') ) {1710 if (($this_quality != 0) || ($this_state eq 'drop') ) { 1711 1711 print STDERR "desp_diff_singles: excluding $this_exp_id for $this_object due to non-zero cam.quality $this_quality or state $this_state\n"; 1712 1712 } … … 1925 1925 my $this_quality = ${ $this_warp }[5]; 1926 1926 my $this_state = ${ $this_warp }[4]; 1927 if (($this_quality != 0) || ($this_state eq ' fail') ) {1927 if (($this_quality != 0) || ($this_state eq 'drop') ) { 1928 1928 print STDERR "desp_diff_queue: excluding $this_exp_id for $this_object due to non-zero cam.quality $this_quality or state $this_state\n"; 1929 1929 } -
branches/eam_branches/ipp-20211108/ippScripts/scripts/warp_overlap.pl
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/IPP-308_move_backups_folder/ippScripts/scripts/warp_overlap.pl merged eligible /branches/czw_branch/20160809/ippScripts/scripts/warp_overlap.pl merged eligible /branches/czw_branch/20170908/ippScripts/scripts/warp_overlap.pl merged eligible /branches/eam_branches/ipp-20191011/ippScripts/scripts/warp_overlap.pl merged eligible /branches/eam_branches/ipp-dev-20210817/ippScripts/scripts/warp_overlap.pl merged eligible /tags/ipp-ps1-20210510/ippScripts/scripts/warp_overlap.pl merged eligible /tags/ipp-ps1-20210708/ippScripts/scripts/warp_overlap.pl merged eligible /tags/ipp-ps2-20210802/ippScripts/scripts/warp_overlap.pl merged eligible /trunk/ippScripts/scripts/warp_overlap.pl merged eligible /branches/ipp-259_genericise_backups/ippScripts/scripts/warp_overlap.pl 40910-40966
r41893 r42068 130 130 my @matchlist = get_overlaps($astromFile, $tess_dir_abs, $astromAccept,$maxCerror); # List of overlaps 131 131 if (! @matchlist) { 132 &my_die("Unable to perform dvoImageOverlaps: missing astrometry", $warp_id, $PS_EXIT_DATA_ERROR); 132 # OLD: &my_die("Unable to perform dvoImageOverlaps: missing astrometry", $warp_id, $PS_EXIT_DATA_ERROR); 133 warn("no overlaps found (bad astrometry); setting warpRun state to 'drop'\n"); 134 135 # Add the processed file to the database 136 unless ($no_update) { 137 my $command = "$warptool -updaterun -set_state drop -warp_id $warp_id"; # Command to run warptool 138 $command .= " -dbname $dbname" if defined $dbname; 139 140 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 141 run(command => $command, verbose => $verbose); 142 unless ($success) { 143 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 144 warn("Unable to perform warptool -updaterun -set_state fail: $error_code\n"); 145 exit($error_code); 146 } 147 } 148 exit(0); 133 149 } 134 150 # Match each of the imfiles to this list (the input images may be split, but the astrometry is not) … … 154 170 # we set the warpRun state to 'fail' since no warpSkyCellMap can be generated. 155 171 if (scalar @overlaps == 0) { 156 warn("no overlaps found (bad astrometry); setting warpRun state to ' fail'\n");172 warn("no overlaps found (bad astrometry); setting warpRun state to 'drop'\n"); 157 173 158 174 # Add the processed file to the database 159 175 unless ($no_update) { 160 my $command = "$warptool -updaterun -set_state fail"; # Command to run warptool176 my $command = "$warptool -updaterun -set_state drop -warp_id $warp_id"; # Command to run warptool 161 177 $command .= " -dbname $dbname" if defined $dbname; 162 178 -
Property svn:mergeinfo
set to (toggle deleted branches)
Note:
See TracChangeset
for help on using the changeset viewer.
