Changeset 34080 for trunk/ippScripts/scripts/addstar_run.pl
- Timestamp:
- Jun 26, 2012, 11:18:50 AM (14 years ago)
- Location:
- trunk/ippScripts
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
scripts/addstar_run.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts
- Property svn:ignore
-
old new 1 MYMETA.json 2 MYMETA.yml 1 3 Build 2 4 META.yml
-
- Property svn:ignore
-
trunk/ippScripts/scripts/addstar_run.pl
r33989 r34080 261 261 262 262 my $realFile = $ipprc->file_resolve($fpaObjects) or &my_die("Unable to resolve $fpaObjects", $add_id, $PS_EXIT_SYS_ERROR); 263 264 265 263 264 # most cameras use CHIP_HEADER. other exceptions: 265 # gpc1 @ camera : PHU_HEADER 266 # gpc1 @ staticsky : NOMINAL (is uncalibrated) 267 268 # temporary hard-wired info 269 my $zeroPointOption = "CHIP_HEADER"; 270 if (($camdir =~ /gpc1/) && ($stage =~ /staticsky/)) { 271 $zeroPointOption = "NOMINAL"; 272 } 273 if (($camdir =~ /gpc1/) && ($stage =~ /cam/)) { 274 $zeroPointOption = "PHU_HEADER"; 275 } 266 276 267 277 # require a defined output dvo database to run addstar (ie, refuse to use the .ptolemyrc default) … … 269 279 $command .= " -D CAMERA $camdir"; 270 280 $command .= " -D CATDIR $minidvodb_path"; 281 $command .= " -D ZERO_POINT_OPTION $zeroPointOption"; 271 282 $command .= " $realFile"; 272 283 $command .= " -use-name $fpaObjects"; # DVO wants the neb-name as a file reference … … 275 286 $command .= " -accept-astrom "; 276 287 } #careful here - this matches staticsky and staticsky_multi 288 277 289 my $mjd_addstar_start = DateTime->now->mjd; # MJD of starting script 278 290
Note:
See TracChangeset
for help on using the changeset viewer.
