Changeset 20428 for trunk/ippScripts/scripts/diff_skycell.pl
- Timestamp:
- Oct 27, 2008, 4:44:49 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/diff_skycell.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/diff_skycell.pl
r20369 r20428 61 61 warn("Can't find required tools."); 62 62 exit($PS_EXIT_CONFIG_ERROR); 63 }64 65 # Recipes to use based on reduction class66 $reduction = 'DEFAULT' unless defined $reduction;67 my $recipe_ppSub = $ipprc->reduction($reduction, 'DIFF_PPSUB'); # Recipe to use for ppSub68 my $recipe_psphot = $ipprc->reduction($reduction, 'DIFF_PSPHOT'); # Recipe to use for psphot69 unless ($recipe_ppSub and $recipe_psphot) {70 &my_die("Couldn't find selected reduction for DIFF_PPSUB and DIFF_PSPHOT: $reduction\n", $diff_id, $PS_EXIT_CONFIG_ERROR);71 63 } 72 64 … … 149 141 $ipprc->define_camera($camera); 150 142 143 # Recipes to use based on reduction class 144 $reduction = 'DEFAULT' unless defined $reduction; 145 my $recipe_ppSub = $ipprc->reduction($reduction, 'DIFF_PPSUB'); # Recipe to use for ppSub 146 my $recipe_psphot = $ipprc->reduction($reduction, 'DIFF_PSPHOT'); # Recipe to use for psphot 147 unless ($recipe_ppSub and $recipe_psphot) { 148 &my_die("Couldn't find selected reduction for DIFF_PPSUB and DIFF_PSPHOT: $reduction\n", $diff_id, $PS_EXIT_CONFIG_ERROR); 149 } 150 151 151 # print "templateMask: $templateMask\n"; 152 152 # print "templatePath: $templatePath\n";
Note:
See TracChangeset
for help on using the changeset viewer.
