IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30257


Ignore:
Timestamp:
Jan 12, 2011, 4:46:16 PM (15 years ago)
Author:
bills
Message:

support setting recoveryroot for destreaking. Tells destreak to save the excised pixels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/survey.pro

    r29768 r30257  
    259259# user functions to manipulate destreak labels
    260260macro survey.add.destreak
    261   if ($0 != 3)
    262     echo "USAGE: survey.add.destreak (label) (workdir base)"
     261  if ($0 != 4)
     262    echo "USAGE: survey.add.destreak (label) (workdir base) (recovery root)"
    263263    break
    264264  end
    265265  book newpage SURVEY_DESTREAK $1
    266266  book setword SURVEY_DESTREAK $1 WORKDIR $2
     267  book setword SURVEY_DESTREAK $1 RECOVERYROOT $3
    267268  book setword SURVEY_DESTREAK $1 STATE PENDING
    268269end
     
    821822    book setword SURVEY_DESTREAK $label STATE DONE
    822823    book getword SURVEY_DESTREAK $label WORKDIR -var workdir
     824    book getword SURVEY_DESTREAK $label RECOVERYROOT -var recoveryroot
    823825 
    824826    $run = magic_destreak_defineruns.pl --label $label --workdir $workdir/$label
     827    if ("$recoveryroot" != "NULL")
     828        $run = $run --recoveryroot $recoveryroot/$label
     829    end
    825830
    826831    if ($DB:n == 0)
Note: See TracChangeset for help on using the changeset viewer.