IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 13, 2010, 10:55:26 AM (16 years ago)
Author:
bills
Message:

include stageRun.magicked for magicdstool -todestreak and -torevert.
(It will be -1 if the data was destreaked but cleaned up)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/magicdstool_todestreak_diff.sql

    r27476 r27945  
    1010    stage,
    1111    magicRun.diff_id AS stage_id,
     12    diffRun.magicked,
    1213    diffSkyfile.skycell_id AS component,
    1314    CAST(NULL AS CHAR(255)) AS uri,
     
    4748    magicDSRun.label,
    4849    rawExp.camera,
    49     magicMask.uri as streaks_uri,
     50    magicMask.uri AS streaks_uri,
    5051    (SELECT uri from magicMask where magic_id = inv_magic_id) AS inv_streaks_uri,
    5152    stage,
    52     magicRun.diff_id as stage_id,
    53     diffSkyfile.skycell_id as component,
     53    magicRun.diff_id AS stage_id,
     54    diffRun.magicked,
     55    diffSkyfile.skycell_id AS component,
    5456    CAST(NULL AS CHAR(255)) AS uri,
    5557    diffSkyfile.path_base,
    5658    magicRun.inverse,
    57     CAST(NULL AS CHAR(255)) as cam_path_base,
     59    CAST(NULL AS CHAR(255)) AS cam_path_base,
    5860    CAST(NULL AS CHAR(255)) AS cam_reduction,
    5961    outroot,
     
    8082    AND diffSkyfile.quality = 0
    8183    AND magicDSFile.component IS NULL
    82 ) as magicDSRun
     84) AS magicDSRun
    8385-- we need the following so this query is compatible with the other stages
    8486WHERE magic_ds_id IS NOT NULL
Note: See TracChangeset for help on using the changeset viewer.