IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 18, 2023, 7:42:26 AM (3 years ago)
Author:
tdeboer
Message:

updated desp diff verbosity logging and fixed error related to last chunk time diff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/nightly_science.pl

    r42418 r42421  
    18441844            my $chunk = $db->selectall_arrayref( $input_chunk );
    18451845            foreach my $this_chunk (@{ $chunk }) {
    1846                 $this_date = ${ $this_chunk }[0];
    1847             }
     1846                my $this_date = ${ $this_chunk }[0];
     1847            } 
    18481848 
    18491849            #compute and store some stats for potential on-the-fly desperate diffs
     
    18681868                #The conditions are: uneven nr of warps greater than 3, and the most recent observations is more than $desdiffdt hours old
    18691869                if (($nwarps % 2 != 0) && ($nwarps >= 3) && ($timediff < $desdiffdt)) {
    1870                     print STDERR "desp_diff_singles: There are potential desperate diffs to be done (nwarps = $nwarps), but the time criterium is not met ($timediff < $desdiffdt).\n";
     1870                    print STDERR "desp_diff_singles: There are potential desperate diffs to be done (nwarps = $nwarps) for $this_object, but the time criterium is not met ($timediff < $desdiffdt).\n";
    18711871                    next;
    18721872                }
    18731873                if (($nwarps % 2 == 0) || ($nwarps == 1) || ($timediff < $desdiffdt)) {
    1874                     print STDERR "desp_diff_singles: No desperate diffs will be attempted, since the number of warps is less than or equal to two ($nwarps) and/or the time criterium is not met ($timediff < $desdiffdt)\n";
     1874                    print STDERR "desp_diff_singles: No desperate diffs will be attempted for $this_object, since the number of warps is even, less than two ($nwarps) and/or the time criterium is not met ($timediff < $desdiffdt)\n";
    18751875                    next;
    18761876                }
     
    19631963           
    19641964            } else {       
    1965                 print STDERR "desp_diff_singles: There is a possibility for dirty diffs to be made, but this is not implemeted at the moment\n";           
     1965                print STDERR "desp_diff_singles: There is a possibility for dirty diffs to be made for $this_object, but this is not implemeted at the moment\n";           
    19661966                #Consider the case of on-the-fly dirty desperate diffs
    19671967                #The conditions are: uneven nr of bad quality warps greater than 3, and the most recent observations is more than $desdiffdt hours old
Note: See TracChangeset for help on using the changeset viewer.