TABLE detRun
TITLE detRun
FILE  detRun.php
MENU  ipp.detrend.dat

ARGS  ARG1 detRunSummary.det_id=$det_id

ARGS  ARG2 detInputExp.det_id=$det_id
ARGS  ARG2 detInputExp.iteration=$iteration

ARGS  ARG3 detProcessedExp.det_id=$det_id

ARGS  ARG4 detResidExp.det_id=$det_id
ARGS  ARG4 detResidExp.iteration=$iteration

#     field       size  format  name            show         link to                extras
FIELD det_id,        5, %s,     det ID,       value,       detRunSummary.php,     ARG1
FIELD iteration,     3, %s,     iter
FIELD det_type,      5, %s,     type
FIELD state,         5, %s,     state
FIELD *,             5, %s,     choose,       value=input, detInputExp.php,       ARG2
FIELD *,             5, %s,     choose,       value=proc,  detProcessedExp.php,   ARG3
FIELD *,             5, %s,     choose,       value=resid, detResidExp.php,       ARG4
FIELD mode,          5, %s,     mode
FIELD filter,       10, %s,     filter     
FIELD airmass_min,  10, %s,     min airmass    
FIELD airmass_max,   5, %s,     max     
FIELD exp_time_min, 10, %s,     min exp_time   
FIELD exp_time_max,  5, %s,     max 
FIELD ccd_temp_min, 10, %s,     min ccd_temp   
FIELD ccd_temp_max,  5, %s,     max    
FIELD posang_min,   10, %s,     min posang     
FIELD posang_max,    5, %s,     max      
FIELD registered,   10, %s,     registered 
FIELD use_begin,    10, %s,     use_begin  
FIELD use_end,      10, %s,     use_end    

TD_CLASS list_off $state == 'drop'
TD_CLASS list_run $state == 'run'
