IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 11, 2026, 3:12:08 PM (2 months ago)
Author:
eugene
Message:

fix simtest suite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/ippTasks/simtest.pro

    r42486 r43016  
    7676      # the labels "wait" and "proc" are special names used in automate.pro
    7777   
    78       # make a reference database
     78      # make a reference database using refcat.fits
     79      #
    7980      mkref refcat 10
    8081
    81       $ppsim = "ppSimSequence $SIMTEST_SEQUENCE simtest.mkimages simtest.inject -path $SIMTEST_RAWDIR -workdir $SIMTEST_WORKDIR -dbname $dbname -label wait -dvodb DVO -tess_id TESS -refcat refcat.catdir"
     82      local mySeq
     83      $mySeq = $SIMTEST_SEQUENCE
     84      file $mySeq isFound
     85      if (not($isFound))
     86        $mySeq = $MODULES:0/$SIMTEST_SEQUENCE
     87        file $mySeq isFound
     88        if (not($isFound))
     89          echo "cannot find the SIMTEST_SEQUENCE file $SIMTEST_SEQUENCE"
     90          break
     91        end
     92      end
     93
     94      $ppsim = "ppSimSequence $mySeq simtest.mkimages simtest.inject -path $SIMTEST_RAWDIR -workdir $SIMTEST_WORKDIR -dbname $dbname -label wait -dvodb DVO -tess_id TESS -refcat refcat.catdir"
    8295      if ("$PPSIM_RECIPE" != "default")
    8396         $ppsim = $ppsim -ppsim_recipe $PPSIM_RECIPE
     
    8598      $ppsim = $ppsim -camera $SIMTEST_CAMERA
    8699
     100      echo $ppsim
    87101      exec $ppsim
    88102
     
    106120  module automate.pro
    107121
    108   module.tasks
     122  if (1)
     123    module register.pro
     124    module detrend.process.pro
     125    module detrend.stack.pro
     126    module detrend.norm.pro
     127    module detrend.resid.pro
     128    module detrend.reject.pro
     129    module detrend.correct.pro
     130#   module flatcorr.pro
     131    module chip.pro
     132    module camera.pro
     133#   module addstar.pro
     134    module fake.pro
     135    module warp.pro
     136    module diff.pro
     137    module stack.pro
     138  else
     139    module.tasks
     140  end
    109141
    110142  add.label proc
     
    120152  automate.load $SIMTEST_AUTO $SIMTEST_CAMERA $dbname
    121153
    122   tasks.revert.off
     154  # module.tasks loads these
     155  if (1)
     156    register.revert.off
     157    detrend.revert.off
     158  # flatcorr.revert.off
     159    chip.revert.off
     160    camera.revert.off
     161  # addstar.revert.off
     162    fake.revert.off
     163    warp.revert.off
     164    diff.revert.off
     165    stack.revert.off
     166  end
    123167
    124168  run
Note: See TracChangeset for help on using the changeset viewer.