Changeset 41996
- Timestamp:
- Jan 25, 2022, 8:40:13 AM (4 years ago)
- Location:
- tags/ipp-ps2-20210802/ippScripts/scripts
- Files:
-
- 2 edited
-
nightly_science.pl (modified) (3 diffs, 1 prop)
-
warp_overlap.pl (modified) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-ps2-20210802/ippScripts/scripts/nightly_science.pl
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/IPP-308_move_backups_folder/ippScripts/scripts/nightly_science.pl merged eligible /branches/czw_branch/20160809/ippScripts/scripts/nightly_science.pl merged eligible /branches/czw_branch/20170908/ippScripts/scripts/nightly_science.pl merged eligible /branches/eam_branches/ipp-20191011/ippScripts/scripts/nightly_science.pl merged eligible /tags/ipp-ps1-20210510/ippScripts/scripts/nightly_science.pl merged eligible /tags/ipp-ps1-20210708/ippScripts/scripts/nightly_science.pl merged eligible /trunk/ippScripts/scripts/nightly_science.pl merged eligible /branches/ipp-259_genericise_backups/ippScripts/scripts/nightly_science.pl 40910-40966
r41463 r41996 1517 1517 my $this_exp_id = ${ $this_warp }[0]; 1518 1518 my $this_quality = ${ $this_warp }[5]; 1519 if ($this_quality != 0) { 1520 print STDERR "diff_queue: excluding $this_exp_id for $this_object due to non-zero cam.quality $this_quality\n"; 1519 my $this_state = ${ $this_warp }[4]; 1520 if (($this_quality != 0) || ($this_state eq 'drop') ) { 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"; 1521 1522 } 1522 1523 else { … … 1706 1707 my $this_exp_id = ${ $this_warp }[0]; 1707 1708 my $this_quality = ${ $this_warp }[5]; 1708 if ($this_quality != 0) { 1709 print STDERR "desp_diff_singles: excluding $this_exp_id for $this_object due to non-zero cam.quality $this_quality\n"; 1709 my $this_state = ${ $this_warp }[4]; 1710 if (($this_quality != 0) || ($this_state eq 'drop') ) { 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"; 1710 1712 } 1711 1713 else { … … 1922 1924 my $this_exp_id = ${ $this_warp }[0]; 1923 1925 my $this_quality = ${ $this_warp }[5]; 1924 if ($this_quality != 0) { 1925 print STDERR "desp_diff_queue: excluding $this_exp_id for $this_object due to non-zero cam.quality $this_quality\n"; 1926 my $this_state = ${ $this_warp }[4]; 1927 if (($this_quality != 0) || ($this_state eq 'drop') ) { 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"; 1926 1929 } 1927 1930 else { -
Property svn:mergeinfo
set to (toggle deleted branches)
-
tags/ipp-ps2-20210802/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 /tags/ipp-ps1-20210510/ippScripts/scripts/warp_overlap.pl merged eligible /tags/ipp-ps1-20210708/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
r41705 r41996 150 150 } 151 151 152 # If no overlaps are found, we 153 # keep running this step over and over (a successful warptool -addoverlap prevents 154 # successive warptime -imfile from running. 155 &my_die("Unable to find any overlaps", $warp_id, $PS_EXIT_PROG_ERROR) if scalar @overlaps == 0; 152 # If no overlaps are found, the astrometry calibration was poor, but 153 # not bad enough for the camera-stage quality to be marked as bad. 154 # we set the warpRun state to 'fail' since no warpSkyCellMap can be generated. 155 if (scalar @overlaps == 0) { 156 warn("no overlaps found (bad astrometry); setting warpRun state to 'drop'\n"); 157 158 # Add the processed file to the database 159 unless ($no_update) { 160 my $command = "$warptool -updaterun -set_state drop"; # Command to run warptool 161 $command .= " -dbname $dbname" if defined $dbname; 162 163 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 164 run(command => $command, verbose => $verbose); 165 unless ($success) { 166 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 167 warn("Unable to perform warptool -updaterun -set_state fail: $error_code\n"); 168 exit($error_code); 169 } 170 } 171 exit(0); 172 } 156 173 157 174 # Generate a MDC file with the overlaps -
Property svn:mergeinfo
set to (toggle deleted branches)
Note:
See TracChangeset
for help on using the changeset viewer.
