===================
- All recipes:  
===================
    recipe Failure Mode = $RecipeFailureMode
    $TMP_PRODUCTS_DIR
    $LOGS_DIR
    $BOOKKEEPING_DIR
    $ESORexArgs
    $BOOKKEEPING_DB

- kmos_dark :
    Set:
        Check Box "Allow Empty Inputs"
    Input Files:
        DARK
- kmos_flat :
    Set:
        Check Box "Allow Empty Inputs"
    Input Files:
        FLAT_ON,FLAT_OFF,BADPIXEL_DARK
- kmos_wave_cal :
    Set:
        Check Box "Allow Empty Inputs"
    Input Files:
        ARC_ON,ARC_OFF,XCAL,YCAL,ARC_LIST,FLAT_EDGE,REF_LINES,WAVE_BAND
    PORT: 
        order, suppress_extension, b_samples 
- kmos_illumination :
    Set:
        Check Box "Allow Empty Inputs"
    Input Files:
        FLAT_SKY,MASTER_DARK,MASTER_FLAT,XCAL,YCAL,LCAL,WAVE_BAND,FLAT_EDGE,
        FLAT_ON
    PORT: 
        b_samples,pixscale 
- kmos_std_star :
    Set:
        Check Box "Allow Empty Inputs"
    Input Files:
        STD,XCAL,YCAL,LCAL,MASTER_FLAT,WAVE_BAND,ILLUM_CORR,SOLAR_SPEC,
        ATMOS_MODEL,SPEC_TYPE_LOOKUP
    PORT: 
        startype, imethod, fmethod, neighborhoodRange, magnitude, flux, 
        xcal_interpolation, b_samples, mask_method, centre, radius, cmethod, 
        cpos_rej, cneg_rej, citer, cmax, cmin
- kmos_sci_red : 
    Default parameters:
        no-combine set to true
        collapse-reconstructed set to true
    Set:
        "File Purpose Processing" to "Do Nothing"
    Input Files:
        SCIENCE,LEVEL_CORRECTED,XCAL,YCAL,LCAL,WAVE_BAND,MASTER_FLAT,
        ILLUM_CORR,TELLURIC, OH_SPEC,TELLURIC_GEN
    PORT: 
        imethod, lcmethod, pix_scale, neighborhoodRange, flux, background, 
        xcal_interpolation, no_subratact, sky_tweak, skip_sky_oh_align, 
        stretch, stretch_degree, stretch_resampling, b_samples, obj_sky_table,
        velocity_offset
- kmos_combine : 
    Default parameters:
        collapse-combine set to true
        cmethod = header
    Input Files:
        SCI_RECONSTRUCTED, OH_SPEC, SINGLE_CUBES
    PORT: 
        name,ifus,method,fmethod,filename,flux,edge_nan,skipped_frames,cmethod,
        cpos_rej, cneg_rej, citer, cmax, cmin
- kmos_gen_telluric
    Default parameters:
    Set:
        Strip Last Purpose : Do Nothing
    Input Files:
        TELLURIC, TELLURIC_CORR, RESPONSE
    PORT: 
        method, fill_empty_ifus, b_samples
- kmos_molecfit_model
    Set:
        Check Box "Allow Empty Inputs"
	  	File purpose processing: Do Nothing
    PORT: 
		All Parameters
- kmos_molecfit_correct
    Default parameters:
    Set:
        Check Box "Allow Empty Inputs"
	  	File purpose processing: Do Nothing
    PORT:
        suppress_extension, min_threshold
- kmos_molecfit_calctrans
    Default parameters:
    Set:
        Check Box "Allow Empty Inputs"
	  	File purpose processing: Do Nothing
    Input Files:
    PORT: 
		All Parameters

When kmos.xml ready:
- Run convert_kmos_xml_to_kmos_xml_in
- Write README ... value="" in kmos.xml.in
- commit
