IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 23, 2013, 2:32:53 PM (13 years ago)
Author:
bills
Message:

refinements to fullForce tables. Full force run is now for a
a collection of warps with the same skycell and filter.
warp_id is removed from fullForceRun and is now contained in table
fullForceInput. The final results of the run will be stored in the
new table fullForceSummary which is also added. Run will transition
from new to full when all inputs have been processed and the summary
object is inserted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bills_branches/bills_201312/ippTools/share/fftool_definebyquery.sql

    r36386 r36409  
    11SELECT
    2     warpRun.warp_id,
    32    skycalRun.skycal_id,
    43    skycalResult.path_base,
    5     skycalRun.data_group
     4    skycalRun.data_group,
     5    stackRun.tess_id,
     6    stackRun.skycell_id,
     7    stackRun.filter
    68FROM skycalRun
    79    JOIN skycalResult USING(skycal_id)
    810    JOIN stackRun USING(stack_id)
    911    JOIN skycell USING(tess_id, skycell_id)
    10     JOIN warpRun USING(tess_id)
    11     JOIN warpSkyfile USING(warp_id, skycell_id)
    12     JOIN fakeRun USING(fake_id)
    13     JOIN camRun USING(cam_id)
    14     JOIN chipRun USING(chip_id)
    15     JOIN rawExp ON chipRun.exp_id = rawExp.exp_id and stackRun.filter = rawExp.filter
    16     LEFT JOIN fullForceRun ON fullForceRun.skycal_id = fullForceRun.skycal_id
    17         AND fullForceRun.warp_id = warpRun.warp_id
    18         AND warpSkyfile.tess_id = stackRun.tess_id
    19         AND warpSkyfile.skycell_id = stackRun.skycell_id -- join hook %s
     12    -- join hook %s
    2013WHERE
    2114    skycalRun.state = 'full' AND skycalResult.quality = 0
    22     AND warpRun.state = 'full' AND warpSkyfile.quality = 0
    23 
    24 -- an optimization might be to do cuts on distance between rawExp.ra,decl and skycell centers within some amount
    25 
    26 
Note: See TracChangeset for help on using the changeset viewer.