IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2009, 5:20:29 PM (17 years ago)
Author:
watersc1
Message:

Finished up my edits to the detrend cleanup, and some changes to my
copy of burntool and the pslib astrometry. Detrend cleanup has not
been tested yet. That's up next.

Location:
branches/czw_branch/cleanup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/cleanup

  • branches/czw_branch/cleanup/tools/stack_inputs.pl

    r21427 r24951  
    2424my ($stack_id);                 # Stack of interest
    2525my ($input);                    # Input list
     26my ($muggle);                   # No magicked inputs?
    2627
    2728GetOptions(
     
    3233           'stack_id=s' => \$stack_id, # Stack identifier
    3334           'input=s'  => \$input, # Input list to generate
     35           'muggle'   => \$muggle, # No magicked inputs?
    3436           ) or die "Unable to parse arguments.\n";
    3537die "Unknown option: @ARGV\n" if @ARGV;
     
    7072    print $list "INPUT METADATA\n" if defined $input;
    7173    foreach my $type ( keys %{EXTENSIONS()} ) {
     74        my $path = $warp_path;
     75        if (defined $muggle and $type ne "PSF") {
     76            my @warp = split /\//, $warp_path;
     77            my $last = pop @warp;
     78            push @warp, "SR_$last";
     79            $path = join '/', @warp;
     80        }
    7281        my $ext = ${EXTENSIONS()}{$type}; # Extension
    73         my $file = "$warp_path$ext"; # File
     82        my $file = "$path$ext"; # File
    7483        my $source = `ipp_datapath.pl $file` or die "Unable to locate $file\n"; # Resolved file name
    7584        chomp $source;
Note: See TracChangeset for help on using the changeset viewer.