"case_no", "no_engine", "n", "Pwot", "SM", "ASM", ) c_case_id = c_case # %% ## UNCOMMENT next command & run to DELETE the db-file, and rebuild it. if not skip_h5_write and del_h5_on_start: # !rm -f {h5fname} # %% vehdb.print_nodes(h5fname) # %% # a=xleash.lasso('VehData/calculation_parameter_all.15092019_prog_code_dev.xlsx#calculation_parameter_all!::["df"]') # b=xleash.lasso('VehData/calculation_parameter_all.20092019.xlsx#calculation_parameter_all!::["df"]') # bad_cols = (a == b).all() # bad_cols[~bad_cols] # %% veh_inputs_excel = ( Path("VehData/calculation_parameter_all.20092019.xlsx"), "calculation_parameter_all", ) specs = xleash.lasso('%s#%s!::["df"]' % veh_inputs_excel) wots_excel = (Path("VehData/TB_Pwot.20092019.xlsx"), "TB_Pwot")
# %% ## DEFINITIONS # inp_h5fname = "VehData/WltpGS-msaccess.h5" out_h5fname = "VehData/WltpGS-pyalgo.h5" # Test cars delivered by Heinz to ank on 4 Jun 2019 c_n, c_p, c_n_norm, c_p_norm = "n", "Pwot", "n_norm", "p_norm" # %% ## UNCOMMENT next command & run to DELETE the db-file, and rebuild it. if del_h5_on_start: # !rm -f {out_h5fname} # %% vehdb.print_nodes(out_h5fname) # %% def store_or_compare_python_results( inph5, outh5, vehicle_nums: Seq[int] = None, props_group_suffix="oprop", cycle_group_suffix="cycle", wots_vmax_group_suffix="wots_vmax", force_write=False, ): """ RUN PYTHON on cars that have AccDB results in /vehicles/v123/out1