IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2012, 11:18:50 AM (14 years ago)
Author:
eugene
Message:

changes to configure.ac to support debug-build; fixes for pedantic gcc warnings

Location:
trunk/ippScripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts

    • Property svn:ignore
      •  

        old new  
         1MYMETA.json
         2MYMETA.yml
        13Build
        24META.yml
  • trunk/ippScripts/scripts/addstar_run.pl

    r33989 r34080  
    261261           
    262262            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            }           
    266276
    267277            # require a defined output dvo database to run addstar (ie, refuse to use the .ptolemyrc default)
     
    269279            $command .= " -D CAMERA $camdir";
    270280            $command .= " -D CATDIR $minidvodb_path";
     281            $command .= " -D ZERO_POINT_OPTION $zeroPointOption";
    271282            $command .= " $realFile";
    272283            $command .= " -use-name $fpaObjects"; # DVO wants the neb-name as a file reference
     
    275286                $command .= " -accept-astrom ";
    276287            }  #careful here - this matches staticsky and staticsky_multi
     288
    277289            my $mjd_addstar_start = DateTime->now->mjd;   # MJD of starting script
    278290
Note: See TracChangeset for help on using the changeset viewer.