IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 3, 2019, 4:04:13 PM (7 years ago)
Author:
tdeboer
Message:

updated ippMonitor queries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/def/stackInputSkyfile.d

    r30989 r40882  
    1 TABLE stackInputSkyfile, stackRun, warpRun, warpSkyfile, fakeRun, camRun, camProcessedExp, chipRun, rawExp
     1TABLE stackInputSkyfile JOIN stackRun USING (stack_id) JOIN warpRun USING (warp_id) JOIN warpSkyfile USING (warp_id) JOIN fakeRun USING (fake_id) JOIN camRun USING (cam_id) JOIN camProcessedExp USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id)
    22TITLE Stack Input Exposures
    33FILE  stackInputSkyfile.php
    44MENU  ipp.stack.dat
    55
    6 WHERE stackRun.stack_id = stackInputSkyfile.stack_id
    7 WHERE stackInputSkyfile.warp_id = warpRun.warp_id
    8 WHERE warpRun.fake_id = fakeRun.fake_id
    9 WHERE warpSkyfile.warp_id = warpRun.warp_id
    10 WHERE warpSkyfile.skycell_id = stackRun.skycell_id
    11 WHERE fakeRun.cam_id = camRun.cam_id
    12 WHERE camProcessedExp.cam_id = camRun.cam_id
    13 WHERE camRun.chip_id = chipRun.chip_id
    14 WHERE chipRun.exp_id = rawExp.exp_id
     6RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE()
     7UNRESTRICTED WHERE rawExp.dateobs >= CURDATE()
    158
    169# if no query restrictions are supplied, we want to limit the query or it is extremely long running:
    17 UNRESTRICTED AND stackRun.stack_id = 0
     10#UNRESTRICTED AND stackRun.stack_id = 0
    1811
    1912ARGS  ARG1  rawImfile.exp_id=$rawExp.exp_id
Note: See TracChangeset for help on using the changeset viewer.