- Timestamp:
- Apr 15, 2011, 12:17:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/haf_branches/haf_add2011/ippScripts/scripts/addstar_run.pl
r31280 r31297 95 95 $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR_STACK'); # Recipe to use 96 96 } 97 if ($stage =~/staticsky/) {98 $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR_STATICSKY'); # Recipe to use99 }97 #if ($stage =~/staticsky/) { 98 # $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR_STATICSKY'); # Recipe to use 99 #} 100 100 &my_die("Unrecognised ADDSTAR recipe", $add_id, $PS_EXIT_CONFIG_ERROR) unless defined $recipe_addstar; 101 101 … … 106 106 107 107 # the camera configurations should define the psastro output to be a single file (MEF), regardless of the inputs 108 109 # it was PSASTRO.OUTPUT 108 110 my $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT", $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR); 111 112 if (($stage =~/staticsky/) || ($stage =~/stack/)) { 113 $fpaObjects =~ s/smf$/cmf/; 114 115 } 109 116 my $traceDest = $ipprc->filename("TRACE.EXP", $outroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR); 110 117 … … 182 189 $command .= " $realFile"; 183 190 $command .= " -use-name $fpaObjects"; # DVO wants the neb-name as a file reference 184 $command .= " -image" if $image_only; 185 191 $command .= " -image" if $image_only; 192 if ($stage = ~/staticsky/) { 193 $command .= " -accept-astrom "; 194 } 186 195 my $mjd_addstar_start = DateTime->now->mjd; # MJD of starting script 187 196
Note:
See TracChangeset
for help on using the changeset viewer.
