Changeset 34265 for trunk/ippScripts/scripts/addstar_run.pl
- Timestamp:
- Jul 31, 2012, 4:55:25 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/addstar_run.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/addstar_run.pl
r34080 r34265 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 99 my $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR'); 97 100 # XXX This is now not used: do we still need it? … … 105 108 # $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR_STATICSKY'); # Recipe to use 106 109 #} 110 if ($stage =~/skycal/) { 111 $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR'); # Recipe to use 112 } 113 114 115 107 116 &my_die("Unrecognised ADDSTAR recipe", $add_id, $PS_EXIT_CONFIG_ERROR) unless defined $recipe_addstar; 108 117 … … 118 127 my $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT", $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR); 119 128 my $fpaObjectsAlt = $fpaObjects; 129 130 if ($stage =~ /skycal/) { 131 #should be ok for skycal? 132 print "using $fpaObjects for $stage\n"; 133 } 120 134 121 135 … … 162 176 } 163 177 } 164 if (($stage =~/stack/)) { 178 179 if (($stage =~/stack/ || $stage =~ /skycal/)) { 165 180 $fpaObjects =~ s/smf$/cmf/; 166 181 $fpaObjectsAlt =~ s/smf$/cmf/; 167 182 168 183 } 184 169 185 my $fpaObjects1; 170 186 my $fpaObjects2;
Note:
See TracChangeset
for help on using the changeset viewer.
