IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 27, 2007, 10:13:31 AM (19 years ago)
Author:
Paul Price
Message:

Changing from b1_uri as the output root filename and path to path_base.

File:
1 edited

Legend:

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

    r12021 r12079  
    125125    $workdir = $ipprc->convert_filename_absolute( $workdir );
    126126} else {
    127     my $example = ${$files}[0]->{b1_uri}; # Example original root name
     127    my $example = ${$files}[0]->{path_base}; # Example original root name
    128128    my ($vol, $dir, $file) = File::Spec->splitpath( $ipprc->convert_filename_absolute( $example ) );
    129129    $workdir = $dir;
     
    151151my $chipObjects;
    152152foreach my $file (@$files) {
    153     # use the b1_uri as OUTPUT root and convert the filenames
    154     # with ipprc->filename:
     153    # use the path_base as OUTPUT root and convert the filenames with ipprc->filename:
    155154    my $class_id = $file->{class_id};
    156     my $origRoot = $ipprc->convert_filename_absolute( $file->{b1_uri} ); # Original root name
     155    my $origRoot = $ipprc->convert_filename_absolute( $file->{path_base} ); # Original root name
    157156
    158157    # if there is only one chip, we use this name for the input to addstar
     
    230229# XXX keep the same outroot as the input
    231230# Add the result into the database
    232 $outputRoot = $ipprc->convert_filename_relative($outputRoot);
    233 $jpeg1  = $ipprc->convert_filename_relative($jpeg1);
    234 $jpeg2  = $ipprc->convert_filename_relative($jpeg2);
     231$outputRoot = $ipprc->convert_filename_relative( $outputRoot );
    235232
    236233unless ($no_update) {
    237234    my $command = "$camtool -addprocessedexp -exp_tag $exp_tag -uri UNKNOWN " .
    238         "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $outputRoot " .
     235        "-recip " . RECIPE1() . "," . RECIPE2() . " -path_base $outputRoot " .
    239236        "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev " .
    240237        "-sigma_ra 0.0 -sigma_dec 0.0 -nastro 0 -zp_mean 0.0 -zp_stdev 0.0"; # Command to run
Note: See TracChangeset for help on using the changeset viewer.