Changeset 31422
- Timestamp:
- May 2, 2011, 2:58:39 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
ippScripts/scripts/stack_skycell.pl (modified) (3 diffs)
-
ippconfig/recipes/ppStack.config (modified) (2 diffs)
-
ppStack/src/ppStackArguments.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/stack_skycell.pl
r31250 r31422 181 181 my $recipe_psphot = $ipprc->reduction($reduction, 'STACK_PSPHOT'); # Recipe to use for psphot 182 182 my $recipe_ppstats = 'STACKSTATS'; 183 if ($run_state eq 'update') { 184 $recipe_ppstats = 'WARPSTATS'; 183 if ($ 184 run_state eq 'update') { 185 $recipe_ppstats = 'WARPSTATS'; 185 186 } 186 187 unless ($recipe_ppStack and $recipe_ppSub and $recipe_psphot) { … … 208 209 &my_die("Unable to not compress and logflux compress simultaneously. Check config.",$stack_id, $PS_EXIT_CONFIG_ERROR); 209 210 } 211 my $stack_type = metadataLookupStr($recipe, 'STACK.TYPE'); 212 &my_die("STACK.TYPE not found in recipe. Check config.",$stack_id, $PS_EXIT_CONFIG_ERROR) unless $stack_type; 210 213 211 214 # Generate MDC file with the inputs … … 281 284 $command .= " -recipe PSPHOT $recipe_psphot"; 282 285 $command .= " -recipe PPSTATS $recipe_ppstats" if $do_stats;; 286 $command .= " -stack-type $stack_type"; 283 287 $command .= " -F PSPHOT.PSF.SAVE PSPHOT.PSF.SKY.SAVE"; 284 288 $command .= " -F PSPHOT.OUTPUT PSPHOT.OUT.CMF.MEF"; -
trunk/ippconfig/recipes/ppStack.config
r31251 r31422 97 97 OUTPUT.REPLICATE BOOL TRUE 98 98 99 STACK.TYPE STR DEEP_STACK 100 99 101 # Recipe overrides for STACK 100 102 STACK METADATA … … 136 138 137 139 STACK_NIGHTLY METADATA 140 STACK.TYPE STR NIGHTLY_STACK 138 141 END 139 142 -
trunk/ppStack/src/ppStackArguments.c
r31158 r31422 204 204 } 205 205 psArgumentRemove (argNum, &argc, argv); 206 if (strcasecmp(argv[argNum], "NIGHTLY ") && strcasecmp(argv[argNum], "DEEP") && strcasecmp(argv[argNum], "BEST_IQ")) {206 if (strcasecmp(argv[argNum], "NIGHTLY_STACK") && strcasecmp(argv[argNum], "DEEP_STACK") && strcasecmp(argv[argNum], "IQ_STACK")) { 207 207 psErrorStackPrint(stderr, "Invalid option for -stack-type %s (must be one of NIGHTLY_STACK, DEEP_STACK, IQ_STACK)", argv[argNum]); 208 208 exit(PS_EXIT_CONFIG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
