Changeset 20428 for trunk/ippScripts/scripts/stack_skycell.pl
- Timestamp:
- Oct 27, 2008, 4:44:49 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/stack_skycell.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/stack_skycell.pl
r20369 r20428 77 77 } 78 78 79 # Recipes to use based on reduction class80 $reduction = 'DEFAULT' unless defined $reduction;81 my $recipe_ppStack = $ipprc->reduction($reduction, 'STACK_PPSTACK'); # Recipe to use for ppStack82 my $recipe_ppSub = $ipprc->reduction($reduction, 'STACK_PPSUB'); # Recipe to use for ppSub83 my $recipe_psphot = $ipprc->reduction($reduction, 'STACK_PSPHOT'); # Recipe to use for psphot84 unless ($recipe_ppStack and $recipe_ppSub and $recipe_psphot) {85 &my_die("Couldn't find selected reduction for STACK_PPSTACK, STACK_PPSUB and STACK_PSPHOT: $reduction\n", $stack_id, $PS_EXIT_CONFIG_ERROR);86 }87 88 79 # Get list of components for stacking 89 80 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files … … 139 130 &my_die("Can't find camera", $stack_id, $PS_EXIT_SYS_ERROR) unless defined $camera; 140 131 $ipprc->define_camera($camera); 132 133 # Recipes to use based on reduction class 134 $reduction = 'DEFAULT' unless defined $reduction; 135 my $recipe_ppStack = $ipprc->reduction($reduction, 'STACK_PPSTACK'); # Recipe to use for ppStack 136 my $recipe_ppSub = $ipprc->reduction($reduction, 'STACK_PPSUB'); # Recipe to use for ppSub 137 my $recipe_psphot = $ipprc->reduction($reduction, 'STACK_PSPHOT'); # Recipe to use for psphot 138 unless ($recipe_ppStack and $recipe_ppSub and $recipe_psphot) { 139 &my_die("Couldn't find selected reduction for STACK_PPSTACK, STACK_PPSUB and STACK_PSPHOT: $reduction\n", $stack_id, $PS_EXIT_CONFIG_ERROR); 140 } 141 141 142 142 # Generate MDC file with the inputs
Note:
See TracChangeset
for help on using the changeset viewer.
