IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 3, 2014, 2:41:20 PM (12 years ago)
Author:
heather
Message:

added diff / ff stages to addstar, partially to ipptopsps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/addstar_run.pl

    r34750 r37551  
    9494# Recipes to use based on reduction class
    9595$reduction = 'DEFAULT' unless defined $reduction;
    96 if ($stage =~/skycal/) {
    97     $reduction = 'DEFAULT';
    98 }
     96if ($stage =~/diff/) {
     97    $reduction = 'ADDSTAR';
     98}
     99if ($stage =~/forcedwarp/) {
     100    $reduction = 'ADDSTAR';
     101}
     102
    99103my $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR');
    100104# XXX This is now not used: do we still need it?
     
    132136    print "using $fpaObjects for $stage\n";
    133137}
     138if ($stage =~/diff/) {
     139    print "using $fpaObjects for $stage\n";
     140}
     141if ($stage =~/forcedwarp/)  {
     142    print "using $fpaObjects for $stage\n";
     143}
     144
    134145
    135146
     
    177188}
    178189
    179 if (($stage =~/stack/ || $stage =~ /skycal/)) {
     190if (($stage =~/stack/ || $stage =~ /skycal/ || $stage =~/diff/ || $stage=~/forcedwarp/)) {
    180191    $fpaObjects =~ s/smf$/cmf/;
    181192    $fpaObjectsAlt =~ s/smf$/cmf/;
     
    305316                $command .= " -quick-airmass";
    306317            }  #careful here - this matches staticsky and staticsky_multi
     318            if ($stage =~ /diff/) {
     319                $command .= " -accept-astrom";
     320            }
     321            if ($stage =~ /forcedwarp/) {
     322                $command .= " -accept-astrom -xrad";
     323            }
    307324
    308325            my $mjd_addstar_start = DateTime->now->mjd;   # MJD of starting script
Note: See TracChangeset for help on using the changeset viewer.