IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 11, 2008, 3:31:21 PM (18 years ago)
Author:
bills
Message:

use DISTINCT to get the right set of runs

File:
1 edited

Legend:

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

    r19092 r19526  
    1 -- results in too many output files
    2 -- is the camera needed for this?
    3 -- is the camera unique for this?
    4 SELECT
     1-- results in too many runs                 adding DISTINCT fixes this
     2-- is the camera needed for this?           YES I think so that update can define the camera
     3-- is the camera unique for this?           YES. Well, sort of.
     4--                                          stack_skycell.pl insures that the files
     5--                                          we're here to clean come from the same camera so
     6--                                          if the camera is not unique we have nothing to do
     7SELECT DISTINCT
    58    stackRun.stack_id,
    69    rawExp.camera,
Note: See TracChangeset for help on using the changeset viewer.