IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 16, 2010, 5:30:27 PM (16 years ago)
Author:
watersc1
Message:

merge of stack association and warp/stack/diff jpegs

Location:
trunk
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ippTools/share/stacktool_associationdefine_select.sql

    r28338 r28375  
    22       sass_id,
    33       data_group,
     4       projection_cell,
    45       tess_id,
    5        filter,
    6        CASE WHEN LOCATE('.',skycell_id,9) > 0 THEN
    7             SUBSTRING_INDEX(skycell_id,'.',2) ELSE
    8             SUBSTRING_INDEX(skycell_id,'.',1) END
    9        AS projection_cell
     6       filter
     7       FROM stackAssociation
     8RIGHT JOIN (
     9      SELECT
     10             data_group,
     11             tess_id,
     12             filter,
     13             CASE WHEN LOCATE('.',skycell_id,9) > 0 THEN
     14                  SUBSTRING_INDEX(skycell_id,'.',2) ELSE
     15                  SUBSTRING_INDEX(skycell_id,'.',1) END
     16             AS projection_cell
    1017       FROM stackRun
    11        LEFT JOIN stackAssociationMap USING (stack_id)
    12        WHERE stackRun.stack_id = @STACK_ID@
     18       WHERE stackRun.stack_id = @STACK_ID@
     19             ) AS RUN USING (data_group,tess_id,filter,projection_cell) LIMIT 1
Note: See TracChangeset for help on using the changeset viewer.