Changeset 37551 for trunk/ippScripts/scripts/addstar_run.pl
- Timestamp:
- Nov 3, 2014, 2:41:20 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/addstar_run.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/addstar_run.pl
r34750 r37551 94 94 # Recipes to use based on reduction class 95 95 $reduction = 'DEFAULT' unless defined $reduction; 96 if ($stage =~/skycal/) { 97 $reduction = 'DEFAULT'; 98 } 96 if ($stage =~/diff/) { 97 $reduction = 'ADDSTAR'; 98 } 99 if ($stage =~/forcedwarp/) { 100 $reduction = 'ADDSTAR'; 101 } 102 99 103 my $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR'); 100 104 # XXX This is now not used: do we still need it? … … 132 136 print "using $fpaObjects for $stage\n"; 133 137 } 138 if ($stage =~/diff/) { 139 print "using $fpaObjects for $stage\n"; 140 } 141 if ($stage =~/forcedwarp/) { 142 print "using $fpaObjects for $stage\n"; 143 } 144 134 145 135 146 … … 177 188 } 178 189 179 if (($stage =~/stack/ || $stage =~ /skycal/ )) {190 if (($stage =~/stack/ || $stage =~ /skycal/ || $stage =~/diff/ || $stage=~/forcedwarp/)) { 180 191 $fpaObjects =~ s/smf$/cmf/; 181 192 $fpaObjectsAlt =~ s/smf$/cmf/; … … 305 316 $command .= " -quick-airmass"; 306 317 } #careful here - this matches staticsky and staticsky_multi 318 if ($stage =~ /diff/) { 319 $command .= " -accept-astrom"; 320 } 321 if ($stage =~ /forcedwarp/) { 322 $command .= " -accept-astrom -xrad"; 323 } 307 324 308 325 my $mjd_addstar_start = DateTime->now->mjd; # MJD of starting script
Note:
See TracChangeset
for help on using the changeset viewer.
