IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35960 for trunk/ippTools/share


Ignore:
Timestamp:
Aug 15, 2013, 4:05:13 PM (13 years ago)
Author:
bills
Message:

various changes for support of distribution of skycal results

Location:
trunk/ippTools/share
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/Makefile.am

    r35955 r35960  
    410410        staticskytool_export_input.sql \
    411411        staticskytool_export_result.sql \
     412        staticskytool_export_skycalrun.sql \
     413        staticskytool_export_skycalresult.sql \
    412414        staticskytool_inputs.sql \
    413415        staticskytool_todo.sql \
  • trunk/ippTools/share/disttool_pending_skycal.sql

    r35955 r35960  
    3838JOIN chipRun
    3939    USING(chip_id)
    40     -- ON camRun.chip_id = chipRun.chip_id
    4140JOIN rawExp
    4241     USING (exp_id)
  • trunk/ippTools/share/disttool_toadvance.sql

    r32710 r35960  
    262262        AND distComponent.fault = 0
    263263UNION
     264-- skycal stage
     265-- NOTE this assumes that there is only one component per skycalRun
     266-- (one skycell)
     267SELECT
     268    distRun.dist_id,
     269    stage,
     270    stage_id,
     271    outroot,
     272    label,
     273    clean
     274    FROM distRun
     275    JOIN skycalResult on stage_id = skycal_id
     276    LEFT JOIN distComponent
     277        ON distRun.dist_id = distComponent.dist_id
     278    WHERE
     279        distRun.state = 'new'
     280        AND distRun.fault = 0
     281        AND distRun.stage = 'skycal'
     282        AND distComponent.component IS NOT NULL
     283        AND distComponent.fault = 0
     284UNION
    264285-- SSdiff stage
    265286SELECT
  • trunk/ippTools/share/staticskytool_skycalresult.sql

    r35952 r35960  
    22    skycalResult.*,
    33    skycalRun.stack_id,
     4    skycalRun.workdir,
    45    stackRun.filter,
    56    skycalRun.state,
Note: See TracChangeset for help on using the changeset viewer.