IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 24, 2011, 3:28:40 PM (15 years ago)
Author:
heather
Message:

smore changes: handles -uncensored properly (well for queuing, it queues
things regardless of magicked state, as we copy a backup of the uncensored
files), and some debugging to get minidvodb's relphot'd and resorted properly
(some typos)

Location:
branches/haf_add201112/ippScripts/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/haf_add201112/ippScripts/scripts/addstar_run.pl

    r33022 r33023  
    115115# it was PSASTRO.OUTPUT
    116116
    117 my $fpaObjects;
     117my $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT", $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR);
     118
    118119if ($stage =~ /cam/) {
    119120    # if it is cam stage we need to be careful when grabbing the filename.
     
    150151        #is this cam_id magicked or not?
    151152        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);
    153154            print "cam_id is magicked, using $fpaObjects for the cam smf\n";
    154155        } else {
    155            
    156             $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT",     $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR);
    157156            print "cam_id is NOT magicked, using $fpaObjects for the cam smf\n";
    158157        }
    159158    }
    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);
    163159}
    164160if (($stage =~/staticsky/) || ($stage =~/stack/)) {
  • branches/haf_add201112/ippScripts/scripts/minidvodb_premerge.pl

    r32992 r33023  
    7979
    8080unless ($no_op) {
    81     {
     81   
    8282        #this is chopped into several parts: addstar, relphot
    8383        #addstar
    84         {
     84        {
    8585            my $command  = "$addstar -resort";
    8686            $command .= " -D CAMERA $camera";
     
    110110            print "$command\n";
    111111            my $mjd_relphot_start = DateTime->now->mjd;   # MJD of starting script
    112 
     112           
    113113            my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    114114                run(command => $command, verbose => $verbose);
     
    122122
    123123        {
    124 
     124           
    125125            $dtime_script = 86400.0*(DateTime->now->mjd - $mjd_start);
    126126            my $command = "addtool -minidvodb_id $minidvodb_id";
     
    139139            }
    140140        }
    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#}
    144144} else {
    145145    print "skipping processing for minidvodb_id = $minidvodb_id\n";
Note: See TracChangeset for help on using the changeset viewer.