Changeset 26379
- Timestamp:
- Dec 10, 2009, 6:47:06 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/tools/warp_outputs.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/warp_outputs.pl
r25859 r26379 24 24 my ($input); # Input list 25 25 my ($products); # Products of interest 26 my ($muggle); # No magicked inputs? 26 27 27 28 GetOptions( … … 33 34 'skycell_id=s' => \$skycell_id, # Skycell identifier 34 35 'products=s' => \$products, # Products of interest 35 ) or die "Unable to parse arguments.\n"; 36 'muggle' => \$muggle, # No magicked inputs? 37 ) or 38 die "Unable to parse arguments.\n"; 36 39 die "Unknown option: @ARGV\n" if @ARGV; 37 40 die "Required options: --dbhost --dbname --dbuser --dbpass --warp_id\n" … … 80 83 81 84 my $file = "$path$ext"; # File 85 86 if (defined $muggle and $ext ne ".psf") { 87 my @file = split /\//, $file; 88 my $last = pop @file; 89 push @file, "SR_$last"; 90 $file = join '/', @file; 91 } 92 82 93 my $source = `ipp_datapath.pl $file` or die "Unable to locate $file\n"; # Actual file 83 94 chomp $source;
Note:
See TracChangeset
for help on using the changeset viewer.
