IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 12, 2015, 12:37:37 PM (12 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-pv3-20140717-merge/ippScripts/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pv3-20140717-merge/ippScripts/scripts

  • branches/eam_branches/ipp-pv3-20140717-merge/ippScripts/scripts/addstar_run.pl

    r34750 r37830  
    9494# Recipes to use based on reduction class
    9595$reduction = 'DEFAULT' unless defined $reduction;
    96 if ($stage =~/skycal/) {
    97     $reduction = 'DEFAULT';
    98 }
     96#if ($stage =~/diff/) {
     97#    $reduction = 'ADDSTAR';
     98#}
     99#if ($stage =~/fullforce/) {
     100#    $reduction = 'ADDSTAR';
     101#}
     102
     103if ($stage =~/fullforce/) {
     104    $reduction='DEFAULT';
     105    #hardwired because why not
     106}
     107
    99108my $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR');
    100109# XXX This is now not used: do we still need it?
     
    132141    print "using $fpaObjects for $stage\n";
    133142}
     143if ($stage =~/diff/) {
     144    print "using $fpaObjects for $stage\n";
     145}
     146if ($stage =~/fullforce/)  {
     147    print "using $fpaObjects for $stage\n";
     148}
     149
    134150
    135151
     
    177193}
    178194
    179 if (($stage =~/stack/ || $stage =~ /skycal/)) {
     195if (($stage =~/stack/ || $stage =~ /skycal/ || $stage =~/diff/ || $stage=~/fullforce/)) {
    180196    $fpaObjects =~ s/smf$/cmf/;
    181197    $fpaObjectsAlt =~ s/smf$/cmf/;
     
    305321                $command .= " -quick-airmass";
    306322            }  #careful here - this matches staticsky and staticsky_multi
     323            if ($stage =~ /diff/) {
     324                $command .= " -accept-astrom";
     325            }
     326            if ($stage =~ /fullforce/) {
     327                $command .= " -accept-astrom -xrad";
     328            }
    307329
    308330            my $mjd_addstar_start = DateTime->now->mjd;   # MJD of starting script
Note: See TracChangeset for help on using the changeset viewer.