Changeset 25458
- Timestamp:
- Sep 21, 2009, 12:02:57 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/tools/warp_inputs.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/warp_inputs.pl
r21427 r25458 23 23 my ($skycell_id); # Skycell of interest 24 24 my ($image, $mask, $variance); # Files to contain input lists 25 my ($muggle); # No magicked inputs? 25 26 26 27 GetOptions( … … 34 35 'mask=s' => \$mask, # File with masks 35 36 'variance=s' => \$variance, # File with variances 37 'muggle' => \$muggle, # No magicked inputs? 36 38 ) or die "Unable to parse arguments.\n"; 37 39 die "Unknown option: @ARGV\n" if @ARGV; … … 108 110 my $file = shift; # File to copy 109 111 112 if (defined $muggle) { 113 my @file = split /\//, $file; 114 my $last = pop @file; 115 push @file, "SR_$last"; 116 $file = join '/', @file; 117 } 118 110 119 my $source = `ipp_datapath.pl $file` or die "Unable to locate $file\n"; # Actual file 111 120 chomp $source;
Note:
See TracChangeset
for help on using the changeset viewer.
