IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 10, 2022, 5:16:45 PM (4 years ago)
Author:
eugene
Message:

first cut at fpcamtool code (it builds at least)

Location:
branches/eam_branches/ipp-20220316/ippTools/share
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20220316/ippTools/share/Makefile.am

    r42097 r42197  
    543543        remotetool_listcomponent.sql \
    544544        remotetool_doneprep.sql \
    545         remotetool_updatepoll.sql
     545        remotetool_updatepoll.sql \
     546        fpcamtool_addprocessedexp.sql \
     547        fpcamtool_find_cam_and_chip_id.sql \
     548        fpcamtool_find_cam_id.sql \
     549        fpcamtool_find_processedexp.sql \
     550        fpcamtool_pendingexp.sql \
     551        fpcamtool_queue_cam_id.sql \
     552        fpcamtool_revertprocessedexp.sql \
     553        fpcamtool_revertupdatedexp.sql
     554
  • branches/eam_branches/ipp-20220316/ippTools/share/fpcamtool_find_cam_and_chip_id.sql

    r42195 r42197  
    44(
    55 SELECT
    6      chipRun.chip_id,
    7      rawExp.ra,
    8      rawExp.decl
     6     exp_id,
     7     chip_id,
    98 FROM chipRun
    109 JOIN rawExp
     
    1211 WHERE
    1312      chipRun.state = 'full'
    14  -- AND exp_id = 162
    15  -- AND chip_id = 140
     13 -- WHERE HOOK for chip:
     14  AND %s
    1615) AS myChip
    1716JOIN
    1817(
    1918SELECT
     19    exp_id,
     20    camRun.chip_id as cam_chip_id,
    2021    camRun.cam_id,
    21     rawExp.ra,
    22     rawExp.decl
     22    camRun.state,
     23    camRun.workdir,
     24    camRun.workdir_state,
     25    camRun.label,
     26    camRun.data_group,
     27    camRun.dist_group,
     28    camRun.reduction,
     29    camRun.dvodb,
     30    camRun.software_ver,
     31    camRun.note
    2332FROM camRun
    2433JOIN chipRun
     
    2837WHERE
    2938     camRun.state = 'full'
    30 -- AND exp_id = 162
    31 -- AND cam_id = 234
     39-- WHERE HOOK for cam:
     40  AND %s
    3241) AS myCam
    3342USING(exp_id)
    34 
    35  
Note: See TracChangeset for help on using the changeset viewer.