IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11741


Ignore:
Timestamp:
Feb 9, 2007, 3:45:50 PM (19 years ago)
Author:
Paul Price
Message:

Fixing up str --> s32 for some identification numbers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/ipptools/p4tool.txt

    r11740 r11741  
    1111
    1212Calculate overlaps for each exposure:
    13         phase4_overlap.pl --p4_id <str>
     13        phase4_overlap.pl --p4_id <s32>
    1414{
    1515        Get list of component imfiles for exposure:
    16                 p4tool -imfile -p4_id <str>
     16                p4tool -imfile -p4_id <s32>
    1717
    1818        (Calculates, in some as-yet unknown way the overlaps between imfiles
     
    2020
    2121        Set the relationship between imfiles and skycells:
    22                 p4tool -overlap -p4_id <str> -info FILE
     22                p4tool -overlap -p4_id <s32> -info FILE
    2323        where FILE contains:
    2424                imfile.0        STR     skycell.123 skycell.456
     
    3535
    3636Do the warp for each skycell:
    37         phase4_warp.pl --p4_id <str> --skycell <str>
     37        phase4_warp.pl --p4_id <s32> --skycell <str>
    3838{
    3939        Get list of imfiles for skycell:
    40                 p4tool -imfile -p4_id <str> -skycell <str>
     40                p4tool -imfile -p4_id <s32> -skycell <str>
    4141
    4242        Do the warping:
     
    4444
    4545        Register the skycell as done warping:
    46                 p4tool -warped -p4_id <str> -skycell <str> -uri <str>
     46                p4tool -warped -p4_id <s32> -skycell <str> -uri <str>
    4747}
    4848
     
    5555Register an exposure for subtraction processing.  We need to specify which warp
    5656is the input and which is the template.
    57         p5tool -definerun -skycell <str> -input_p4_id <str> -template_p4_id <str>
     57        p5tool -definerun -skycell <str> -input_p4_id <s32> -template_p4_id <s32>
    5858
    5959Give me all skycells that need to be subtracted:
     
    6161
    6262Do the subtraction for each skycell:
    63         phase5_subtract.pl --p5_id <str> --in_uri <str> --template_uri <str>
     63        phase5_subtract.pl --p5_id <s32> --in_uri <str> --template_uri <str>
    6464{
    6565        Do the subtraction:
     
    6767
    6868        Register the subtraction as done:
    69                 p5tool -done -p5_id <str> -uri <str>
     69                p5tool -done -p5_id <s32> -uri <str>
    7070}
    7171
     
    9494
    9595Do magic for each skycell:
    96         magic_skycell.pl --magic_id <str> --skycell <str> --uri <str>
     96        magic_skycell.pl --magic_id <s32> --skycell <str> --uri <str>
    9797{
    9898        Do streak finding on skycell
    9999
    100100        Register sky cell as done:
    101                 magictool -doneskycell -magic_id <str> -skycell <str> -uri <str>
     101                magictool -doneskycell -magic_id <s32> -skycell <str> -uri <str>
    102102}
    103103
     
    106106
    107107Do magic for each imfile:
    108         magic_imfile.pl --magic_id <str> --class_id <str>
     108        magic_imfile.pl --magic_id <s32> --class_id <str>
    109109{
    110110        Get list of all magic1 output relevant to this imfile
    111                 magictool -skycell -magic_id <str> -class_id <str>
     111                magictool -skycell -magic_id <s32> -class_id <str>
    112112
    113113        Do streak finding for imfile
    114114
    115115        Register imfile as done:
    116                 magictool -doneimfile -magic_id <str> -class_id <str> -uri <str>
     116                magictool -doneimfile -magic_id <s32> -class_id <str> -uri <str>
    117117}
    118118
     
    125125
    126126Do magic for each exposure:
    127         magic_exp.pl --magic_id <str>
     127        magic_exp.pl --magic_id <s32>
    128128{
    129129        Get list of all magic2 output relevant to this exposure
    130                 magictool -imfile -magic_id <str>
     130                magictool -imfile -magic_id <s32>
    131131
    132132        Do streak finding on exposure
    133133
    134134        Register exposure as done:
    135                 magictool -doneexp -magic_id <str> -uri <str>
    136 }
    137 
    138 
    139 [Need to generate masks, but we need to decide at what level: imfile, or
    140 skycell?  If imfile, we need to do the warp over again.  If skycell, we
    141 can never give out the flattened CCD images unless they've been warped.
    142 How about doing both --- it's not too hard.]
     135                magictool -doneexp -magic_id <s32> -uri <str>
     136}
     137
     138
     139[Need to generate masks, but we need to decide at what level: imfile,
     140or skycell?  If imfile, we need to do the warp over again.  If
     141skycell, we can never give out the flattened CCD images unless they've
     142been warped.  Let's do both --- it's not too expensive, and means we
     143can release both without further work.]
    143144
    144145
     
    147148
    148149Generate mask for each imfile:
    149         magic_mask_imfile.pl --magic_id <str> --class_id <str> --uri <str>
     150        magic_mask_imfile.pl --magic_id <s32> --class_id <str> --uri <str>
    150151{
    151152        Make mask
    152153
    153154        Register mask:
    154                 magictool -donemaskimfile -magic_id <str> -class_id <str> -uri <str>
     155                magictool -donemaskimfile -magic_id <s32> -class_id <str> -uri <str>
    155156}
    156157
     
    159160
    160161Generate mask for each skycell:
    161         magic_mask_skycell.pl --magic_id <str> --skycell <str> --uri <str>
     162        magic_mask_skycell.pl --magic_id <s32> --skycell <str> --uri <str>
    162163{
    163164        Make mask
    164165
    165166        Register mask:
    166                 magictool -donemaskskycell -magic_id <str> -skycell <str> -uri <str>
     167                magictool -donemaskskycell -magic_id <s32> -skycell <str> -uri <str>
    167168}
    168169
     
    182183
    183184Register skycells for combination processing:
    184         p6tool -definerun -skycell <stR> -p4_id <str> -p4_id <str> -p4_id <str>
     185        p6tool -definerun -skycell <stR> -p4_id <s32> -p4_id <s32> -p4_id <s32>
    185186
    186187Give me all pending operations
     
    188189
    189190Run phase 6:
    190         phase6.pl -p6_id <str>
     191        phase6.pl -p6_id <s32>
    191192{
    192193        Give me the list of all inputs for this run:
    193                 p6tool -inputs -p6_id <str>
     194                p6tool -inputs -p6_id <s32>
    194195
    195196        Combine:
     
    197198
    198199        Register the completion:
    199                 p6tool -done -p6_id <str> -uri <str>
     200                p6tool -done -p6_id <s32> -uri <str>
    200201}
    201202
Note: See TracChangeset for help on using the changeset viewer.