IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 29, 2012, 7:39:44 AM (14 years ago)
Author:
bills
Message:

Fix bug in staticskytool -result. It was listing the filter in the
output which causes num_filters entries when a staticskyRun has
multiple filters. Change the sql to group by sky_id and list num_filters
instead. Also allow selection by tess_id and skycell_id

File:
1 edited

Legend:

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

    r28959 r33384  
    1 SELECT DISTINCT
     1SELECT
    22    staticskyResult.*,
    33    staticskyRun.state,
     
    66    stackRun.tess_id,
    77    stackRun.skycell_id,
    8     stackRun.filter
     8    count(stackRun.filter) AS num_filters
    99FROM staticskyRun
    1010JOIN staticskyResult USING(sky_id)
Note: See TracChangeset for help on using the changeset viewer.