Changeset 15690 for trunk/ippScripts/scripts/warp_skycell.pl
- Timestamp:
- Nov 26, 2007, 2:43:31 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/warp_skycell.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/warp_skycell.pl
r15618 r15690 14 14 15 15 use IPC::Cmd 0.36 qw( can_run run ); 16 use File::Spec; 17 use File::Temp qw( tempfile ); 18 use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt ); 19 use Pod::Usage qw( pod2usage ); 16 20 use PS::IPP::Metadata::Config; 17 21 use PS::IPP::Metadata::Stats; … … 29 33 caturi 30 34 ); 35 use PS::IPP::Operations qw( skycell_file ); 36 31 37 my $ipprc = PS::IPP::Config->new(); # IPP configuration 32 use File::Spec;33 use File::Temp qw( tempfile );34 35 use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt );36 use Pod::Usage qw( pod2usage );37 38 38 39 my ($warp_id, $skycell_id, $tess_id, $camera, $dbname, $workdir, $no_update, $no_op, $save_temps); … … 123 124 my $outputBin2 = $ipprc->filename("PSWARP.BIN2", $outputRoot, $skycell_id ); 124 125 my $outputStats = $outputRoot . '.stats'; 125 my $skyFile = caturi( $workdir, $skycell_id ); # Target sky cell file 126 127 my $skyFile = skycell_file($tess_id, $skycell_id, $workdir) or 128 &my_die("Unable to get name of skycell file", $warp_id, $skycell_id, $tess_id, $PS_EXIT_SYS_ERROR); 129 &my_die("Unable to find skycell file", $warp_id, $skycell_id, $tess_id, $PS_EXIT_SYS_ERROR) unless 130 $ipprc->exists( $skyfile ); 126 131 127 132 my $traceDest = 'file:' . $ipprc->file_resolve($outputRoot) . ".trace"; # Trace messages
Note:
See TracChangeset
for help on using the changeset viewer.
