Changeset 34069
- Timestamp:
- Jun 25, 2012, 2:39:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120601/ippScripts/scripts/addstar_run.pl
r34047 r34069 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.
