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

ARGS  ARG5 det_id=$det_id

#     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,     12, %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=stack, detStackedImfile.php,  ARG5
FIELD *,             5, %s,     choose,       value=resid, detResidExp.php,       ARG4
FIELD mode,          5, %s,     mode
FIELD filter,       10, %s,     filter     
FIELD registered,   19, %s,     registered 
FIELD use_begin,    19, %s,     use_begin  
FIELD use_end,      19, %s,     use_end    
FIELD airmass_min,   5, %.2f,   min_airmass    
FIELD airmass_max,   5, %.2f,   max     
FIELD exp_time_min,  5, %.2f,   min_exp_time   
FIELD exp_time_max,  5, %.2f,   max 
FIELD ccd_temp_min,  5, %.2f,   min_ccd_temp   
FIELD ccd_temp_max,  5, %.2f,   max    
FIELD posang_min,    5, %.2f,   min_posang     
FIELD posang_max,    5, %s,     max      

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