IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 9, 2013, 11:26:59 AM (13 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20130419/ippTools/share
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130419/ippTools/share

  • branches/eam_branches/ipp-20130419/ippTools/share/releasetool_definerelstack.sql

    r35196 r35546  
    66    stackRun.tess_id,
    77    stackRun.filter,
    8     0 AS mjd_obs,
     8    stackSumSkyfile.mjd_obs,
    99    0 AS zpt_obs,
    1010    0 AS zpt_stdev
     
    1212FROM ippRelease
    1313JOIN stackRun
    14 LEFT JOIN relStack AS previousRelStack USING(rel_id, tess_id, skycell_id, filter)
    15 
     14JOIN stackSumSkyfile using(stack_id)
     15LEFT JOIN relStack AS previousRelStack
     16    ON previousRelStack.rel_id = ippRelease.rel_id
     17    AND previousRelStack.tess_id = stackRun.tess_id
     18    AND previousRelStack.skycell_id = stackRun.skycell_id
     19    AND previousRelStack.filter = stackRun.filter
     20    -- JOIN hook %s
    1621WHERE previousRelStack.relstack_id IS NULL
     22    AND stackRun.state ='full'
     23    AND stackSumSkyfile.quality = 0
     24    AND stackSumSkyfile.fault = 0
Note: See TracChangeset for help on using the changeset viewer.