IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27301 for trunk/ippTools


Ignore:
Timestamp:
Mar 16, 2010, 12:39:45 PM (16 years ago)
Author:
Paul Price
Message:

Make destreaking care about whether we used dynamic masking (so that we need to care about the camera mask or only use the chip mask). This we get from the (current) recipe, which is not ideal, but better than simply looking whether the file exists (it may not be available over NFS or Nebulous). Though I have discussed these fixes with Bill, I have not yet tested the code.

Location:
trunk/ippTools/share
Files:
5 edited

Legend:

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

    r25419 r27301  
    55    magicDSRun.label,
    66    camera,
    7     magicMask.uri as streaks_uri,
     7    magicMask.uri AS streaks_uri,
    88    CAST(NULL AS CHAR(255)) AS inv_streaks_uri,
    99    stage,
    1010    stage_id,
    11     'exposure' as component,
     11    'exposure' AS component,
    1212    CAST(NULL AS CHAR(255)) AS uri,
    1313    camProcessedExp.path_base,
    1414    magicRun.inverse,
    15     camProcessedExp.path_base as cam_path_base,
     15    camProcessedExp.path_base AS cam_path_base,
     16    camRun.reduction AS cam_reduction,
    1617    outroot,
    1718    recoveryroot,
  • trunk/ippTools/share/magicdstool_todestreak_chip.sql

    r25419 r27301  
    55    magicDSRun.label,
    66    camera,
    7     magicMask.uri as streaks_uri,
     7    magicMask.uri AS streaks_uri,
    88    CAST(NULL AS CHAR(255)) AS inv_streaks_uri,
    99    stage,
    1010    stage_id,
    11     class_id as component,
     11    class_id AS component,
    1212    chipProcessedImfile.uri,
    1313    chipProcessedImfile.path_base,
    1414    magicRun.inverse,
    15     camProcessedExp.path_base as cam_path_base,
     15    camProcessedExp.path_base AS cam_path_base,
     16    camRun.reduction AS cam_reduction,
    1617    outroot,
    1718    recoveryroot,
     
    2122JOIN magicMask USING (magic_id)
    2223JOIN magicRun USING(magic_id)
     24JOIN camRun USING(cam_id)
    2325JOIN camProcessedExp USING(cam_id)
    2426JOIN chipRun ON chip_id = stage_id
  • trunk/ippTools/share/magicdstool_todestreak_diff.sql

    r25419 r27301  
    66    magicDSRun.label,
    77    rawExp.camera,
    8     magicMask.uri as streaks_uri,
     8    magicMask.uri AS streaks_uri,
    99    CAST(NULL AS CHAR(255)) AS inv_streaks_uri,
    1010    stage,
    11     magicRun.diff_id as stage_id,
    12     diffSkyfile.skycell_id as component,
     11    magicRun.diff_id AS stage_id,
     12    diffSkyfile.skycell_id AS component,
    1313    CAST(NULL AS CHAR(255)) AS uri,
    1414    diffSkyfile.path_base,
    1515    magicRun.inverse,
    16     CAST(NULL AS CHAR(255)) as cam_path_base,
     16    CAST(NULL AS CHAR(255)) AS cam_path_base,
     17    CAST(NULL AS CHAR(255)) AS cam_reduction,
    1718    outroot,
    1819    recoveryroot,
  • trunk/ippTools/share/magicdstool_todestreak_raw.sql

    r25419 r27301  
    1414    magicRun.inverse,
    1515    camProcessedExp.path_base as cam_path_base,
     16    camRun.reduction AS cam_reduction,
    1617    outroot,
    1718    recoveryroot,
     
    2122JOIN magicMask USING (magic_id)
    2223JOIN magicRun USING (magic_id)
     24JOIN camRun USING(cam_id)
    2325JOIN camProcessedExp USING(cam_id)
    2426JOIN rawImfile ON magicRun.exp_id = rawImfile.exp_id
  • trunk/ippTools/share/magicdstool_todestreak_warp.sql

    r25419 r27301  
    1414    magicRun.inverse,
    1515    CAST(NULL AS CHAR(255)) as cam_path_base,
     16    CAST(NULL AS CHAR(255)) as cam_reduction,
    1617    outroot,
    1718    recoveryroot,
Note: See TracChangeset for help on using the changeset viewer.