Changeset 25541 for trunk/ippScripts/scripts/stack_skycell.pl
- Timestamp:
- Sep 24, 2009, 1:22:56 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/stack_skycell.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/stack_skycell.pl
r25519 r25541 112 112 print "I've loaded my inputs: $stack_id\n"; 113 113 114 # Recipes to use based on reduction class115 $reduction = 'DEFAULT' unless defined $reduction;116 my $recipe_ppStack = $ipprc->reduction($reduction, 'STACK_PPSTACK'); # Recipe to use for ppStack117 my $recipe_ppSub = $ipprc->reduction($reduction, 'STACK_PPSUB'); # Recipe to use for ppSub118 my $recipe_psphot = $ipprc->reduction($reduction, 'STACK_PSPHOT'); # Recipe to use for psphot119 unless ($recipe_ppStack and $recipe_ppSub and $recipe_psphot) {120 &my_die("Couldn't find selected reduction for STACK_PPSTACK, STACK_PPSUB and STACK_PSPHOT: $reduction\n", $stack_id, $PS_EXIT_CONFIG_ERROR);121 }122 123 114 # Parse the list of input files to get the tesselation, skycell identifiers and camera 124 115 my $skycell_id; # Skycell identifier … … 149 140 &my_die("Can't find camera", $stack_id, $PS_EXIT_SYS_ERROR) unless defined $camera; 150 141 $ipprc->define_camera($camera); 142 143 # Recipes to use based on reduction class 144 $reduction = 'DEFAULT' unless defined $reduction; 145 my $recipe_ppStack = $ipprc->reduction($reduction, 'STACK_PPSTACK'); # Recipe to use for ppStack 146 my $recipe_ppSub = $ipprc->reduction($reduction, 'STACK_PPSUB'); # Recipe to use for ppSub 147 my $recipe_psphot = $ipprc->reduction($reduction, 'STACK_PSPHOT'); # Recipe to use for psphot 148 unless ($recipe_ppStack and $recipe_ppSub and $recipe_psphot) { 149 &my_die("Couldn't find selected reduction for STACK_PPSTACK, STACK_PPSUB and STACK_PSPHOT: $reduction\n", $stack_id, $PS_EXIT_CONFIG_ERROR); 150 } 151 151 152 152 my $recipe;
Note:
See TracChangeset
for help on using the changeset viewer.
