IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 30, 2007, 4:40:25 PM (19 years ago)
Author:
Paul Price
Message:

Since later functions (specifically, warping) use the camera-level
astrometry file, need to produce it even if the astrometry was done at
the chip level --- we just copy the chip-level astrometry file.

File:
1 edited

Legend:

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

    r12800 r13090  
    180180    # run psastro +mosastro on the set of chips
    181181    # XXX note that this is wrong if imfiles are cells
    182     if (@$files > 1) {
     182    if (scalar @$files > 1) {
    183183        my $command = "$psastro -list $list3Name $outputRoot +mosastro -chipastro";
    184184        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    190190        &my_die("Unable to find expected output file: $fpaObjects", $cam_id, $PS_EXIT_PROG_ERROR) unless -f $fpaObjects;
    191191    } else {
    192         $fpaObjects = $chipObjects;
     192        system "cp $chipObjects $fpaObjects";
    193193    }
    194194
Note: See TracChangeset for help on using the changeset viewer.