Changeset 42594 for branches/eam_branches/ipp-20230313/ippTools/share
- Timestamp:
- Jan 16, 2024, 6:55:34 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/ippTools/share/xcfftool_definebyquery.sql
r42587 r42594 13 13 JOIN skycell USING (tess_id, skycell_id) 14 14 -- join hook %s 15 -- for no-rerun: 16 -- LEFT JOIN xcForceRun ON xcForceRun.xccal_id = %s.xccalRun.xccal_id 15 17 WHERE 16 %s.xcstackCamera.camera = 'test_cam1' AND 18 -- the first %s below should be filled with the xcamera database 19 -- the second should be the name of the camera corresponding to the 20 -- database in which the tool is run 21 %s.xcstackCamera.camera = '%s' AND 17 22 %s.xccalRun.state = 'full' AND 18 23 %s.xccalResult.quality = 0 19 24 -- 'where' string is appended here 25 -- for no-rerun, also append: 26 -- AND xcff_id IS NULL 20 27 21 28 -- this query is run in the database in which the original stacks were made (e.g., gpc1) 22 -- it refers to the database used to generate the xcstacks (e.g., xcamera) 29 -- the external database (%s in front of the xcstackRun & xccalRun tables) refers to the database 30 -- used to generate the xcstacks (e.g., xcamera)
Note:
See TracChangeset
for help on using the changeset viewer.
