IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2012, 4:55:25 PM (14 years ago)
Author:
heather
Message:

skycal stage for addstar

File:
1 edited

Legend:

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

    r34080 r34265  
    9494# Recipes to use based on reduction class
    9595$reduction = 'DEFAULT' unless defined $reduction;
     96if ($stage =~/skycal/) {
     97    $reduction = 'DEFAULT';
     98}
    9699my $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR');
    97100# XXX This is now not used: do we still need it?
     
    105108#  $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR_STATICSKY'); # Recipe to use
    106109#}
     110if ($stage =~/skycal/) {
     111    $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR'); # Recipe to use                                                             
     112}
     113
     114
     115
    107116&my_die("Unrecognised ADDSTAR recipe", $add_id, $PS_EXIT_CONFIG_ERROR) unless defined $recipe_addstar;
    108117
     
    118127my $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT", $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR);
    119128my $fpaObjectsAlt = $fpaObjects;
     129
     130if ($stage =~ /skycal/) {
     131    #should be ok for skycal?
     132    print "using $fpaObjects for $stage\n";
     133}
    120134
    121135
     
    162176    }
    163177}
    164 if (($stage =~/stack/)) {
     178
     179if (($stage =~/stack/ || $stage =~ /skycal/)) {
    165180    $fpaObjects =~ s/smf$/cmf/;
    166181    $fpaObjectsAlt =~ s/smf$/cmf/;
    167182
    168183}
     184
    169185my $fpaObjects1;
    170186my $fpaObjects2;
Note: See TracChangeset for help on using the changeset viewer.