IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 16, 2010, 11:20:32 AM (16 years ago)
Author:
watersc1
Message:

This should fix the stack-stack overqueueing bug. The test case for input_label = MD03.nightlyscience now only finds stacks from data_group MD03.20100215, which do not appear to have been queued for SS diffs before.

File:
1 edited

Legend:

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

    r26927 r26958  
    3333     SELECT
    3434            diffRun.diff_id,
    35             stackRun.stack_id
     35            diffInputSkyfile.stack1,
     36            diffInputSkyfile.stack2
    3637     FROM diffRun JOIN diffInputSkyfile USING(diff_id)
    3738          JOIN stackRun ON stackRun.stack_id = diffInputSkyfile.stack1
    3839          JOIN stackSumSkyfile USING(stack_id)
    3940          WHERE 1
    40           -- diff where hook %s
    4141          -- input where hook %s
    42 ) AS diffExp ON stackRun.stack_id = diffExp.stack_id
     42) AS diffExp ON diffExp.stack1 = stackRun.stack_id AND diffExp.stack2 = template.max_stack_id
    4343WHERE
    4444        stackSumSkyfile.fault = 0 AND stackSumSkyfile.quality = 0
     45        -- diff where hook %s
    4546        -- input where hook again %s
    4647ORDER BY stackRun.data_group,stackRun.filter,stackRun.skycell_id
Note: See TracChangeset for help on using the changeset viewer.