function forMultipleCurvesMinimumDataIntoTemplateFunc(curves_to_skip,prebuilt_minimal_styles_by_curvename){
var array_of_jsons_for_what_to_plot = []
var array_curvenames = Object.keys(well_log_curves_reformatted_for_d3_2[0])
var UWI_index = array_curvenames.indexOf("UWI")
array_curvenames.splice(UWI_index, 1)
for (var i = 0; i < array_curvenames.length; i++) {
if(curves_to_skip[0]["curves_to_skip_if_present"].includes(array_curvenames[i])){}
else{
if(curves_to_skip[0]["only_curves_to_include_if_present"].includes(array_curvenames[i]) || curves_to_skip[0]["only_curves_to_include_if_present"].length == 0 ){
var style = prebuilt_minimal_styles_by_curvename[0]["styles"]["all_others"]
if(prebuilt_minimal_styles_by_curvename[0]["mapping_curvename_to_stylename"][array_curvenames[i]]){
var stylename = prebuilt_minimal_styles_by_curvename[0]["mapping_curvename_to_stylename"][array_curvenames[i]]
style = prebuilt_minimal_styles_by_curvename[0]["styles"][stylename]
}
var json_template_for_plotting = wellioviz.minimumDataIntoTemplateFunc(example_template,well_log_curves_reformatted_for_d3_2,[uwi2], [array_curvenames[i]],[style["line_color"]],[""],[
{"curve_name":array_curvenames[i],"fill":style["fill"],"fill_direction":style["fill_direction"],"cutoffs": style["cutoffs"],"fill_colors": style["fill_colors"],"curve2":""}],"well_holder_1A",200,400,depth_curve_name)
array_of_jsons_for_what_to_plot.push(json_template_for_plotting)
}
}
}
return array_of_jsons_for_what_to_plot
}