IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 27, 2011, 11:34:14 AM (15 years ago)
Author:
heather
Message:

this records which camRun smfs are ingested (0 = uncensored, # = magicked, but
it foudn the uncensored one), and fixes reverts for all

File:
1 edited

Legend:

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

    r33023 r33027  
    3838}
    3939my $minidvodb_path;
     40my $stage_extra1;
    4041my ( $add_id, $camera, $stage, $stage_id, $multi_num, $outroot, $stageroot, $dbname, $reduction, $dvodb, $minidvodb, $minidvodb_name, $minidvodb_group, $image_only, $verbose, $no_update,
    4142     $no_op, $redirect, $save_temps);
     
    151152        #is this cam_id magicked or not?
    152153        if ($magicked) {
     154            $stage_extra1 = $magicked;
    153155            $fpaObjects = $ipprc->destreaked_filename("$fpaObjects") or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR);
    154156            print "cam_id is magicked, using $fpaObjects for the cam smf\n";
     
    251253$fpaCommand .= " -dvodb_path $minidvodb_path" if defined $minidvodb_path;
    252254$fpaCommand .= " -minidvodb_name $minidvodb_name" if defined $minidvodb_name;
     255$fpaCommand .= " -stage_extra1" if defined $stage_extra1;
    253256$fpaCommand .= " -dbname $dbname" if defined $dbname;
    254257print $fpaCommand;
     
    283286        $command .= " -path_base $outroot" if defined $outroot;
    284287        $command .= (" -dtime_addstar " . ((DateTime->now->mjd - $mjd_start) * 86400));
    285         $fpaCommand .= " -minidvodb_name $minidvodb_name" if defined $minidvodb_name;
     288   #     $command .= " -minidvodb_name $minidvodb_name" if defined $minidvodb_name; don't think we want it recorded (not sure)
     289        $command .= " -stage_extra1 $stage_extra1" if defined $stage_extra1;
    286290        $command .= " -dbname $dbname" if defined $dbname;
     291        print $command;
    287292        system ($command);
    288293    }
Note: See TracChangeset for help on using the changeset viewer.