- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tools/warp_outputs.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/tools/warp_outputs.pl
r24236 r27840 16 16 'VARIANCE' => '.wt.fits', # Variance 17 17 'SOURCES' => '.cmf', # Sources 18 'PSF' => '.psf', # Point-Spread Function 18 19 }; 19 20 … … 23 24 my ($input); # Input list 24 25 my ($products); # Products of interest 26 my ($muggle); # No magicked inputs? 25 27 26 28 GetOptions( … … 32 34 'skycell_id=s' => \$skycell_id, # Skycell identifier 33 35 'products=s' => \$products, # Products of interest 34 ) or die "Unable to parse arguments.\n"; 36 'muggle' => \$muggle, # No magicked inputs? 37 ) or 38 die "Unable to parse arguments.\n"; 35 39 die "Unknown option: @ARGV\n" if @ARGV; 36 40 die "Required options: --dbhost --dbname --dbuser --dbpass --warp_id\n" … … 79 83 80 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 81 93 my $source = `ipp_datapath.pl $file` or die "Unable to locate $file\n"; # Actual file 82 94 chomp $source;
Note:
See TracChangeset
for help on using the changeset viewer.
