IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30653


Ignore:
Timestamp:
Feb 16, 2011, 2:31:22 PM (15 years ago)
Author:
bills
Message:

Use the camera mask file for streaksrelease since it isn't cleaned up like
the chip masks are

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/dist_bundle.pl

    r30489 r30653  
    287287        # we can use the chip mask because disttool demands that magic have been run
    288288        # and so the camera mask and the chip mask are the same
    289         $mask = $ipprc->filename("PPIMAGE.CHIP.MASK", $chip_path_base, $component);
     289        #$mask = $ipprc->filename("PPIMAGE.CHIP.MASK", $chip_path_base, $component);
     290        # XXX: hack the pending query passes in the camera path base
     291        $mask = $ipprc->filename("PSASTRO.OUTPUT.MASK", $chip_path_base, $component);
    290292        my $mask_resolved = $ipprc->file_resolve($mask);
    291293        my $fh = open_with_retries($mask_resolved);
  • trunk/ippTools/share/disttool_pending_raw.sql

    r30387 r30653  
    1212    TRIM(TRAILING '.fits' FROM rawImfile.uri) AS path_base,
    1313    CAST(NULL AS CHAR(255)) AS alt_path_base,
    14     chipProcessedImfile.path_base as chip_path_base,
     14    -- pass camera stage path base since we want the camera mask file. The script knows what to do
     15    camProcessedExp.path_base as chip_path_base,
    1516    CAST(NULL AS CHAR(255)) AS state,
    1617    CAST(NULL AS CHAR(255)) AS data_state,
     
    2627JOIN chipProcessedImfile
    2728    USING(chip_id, class_id)
     29JOIN camRun USING(chip_id)
     30JOIN camProcessedExp using(cam_id)
    2831LEFT JOIN distComponent
    2932    ON distRun.dist_id = distComponent.dist_id
     
    3639    AND distComponent.dist_id IS NULL
    3740    AND (rawExp.magicked OR distRun.no_magic)
     41    -- need to have magicked the chip image which makes the camera mask
     42    AND chipProcessedImfile.magicked != 0
     43    AND camRun.magicked > 0
    3844    AND (Label.active OR Label.active IS NULL)
    3945UNION
     
    5258    TRIM(TRAILING '.fits' FROM rawImfile.uri) AS path_base,
    5359    magicDSFile.backup_path_base AS alt_path_base,
    54     chipProcessedImfile.path_base AS chip_path_base,
     60    -- pass camera stage path base since we want the camera mask file. The script knows what to do
     61    camProcessedExp.path_base AS chip_path_base,
    5562    CAST('full' AS CHAR(255)) AS state,
    5663    CAST('full' AS CHAR(255)) AS data_state,
     
    7784    AND distRun.clean = 0
    7885    AND distComponent.dist_id IS NULL
    79     AND chipProcessedImfile.data_state = 'full'
    80     AND chipProcessedImfile.magicked > 0
     86    AND chipProcessedImfile.magicked != 0
     87    AND camRun.magicked > 0
    8188    AND (Label.active OR Label.active IS NULL)
    8289UNION
Note: See TracChangeset for help on using the changeset viewer.