Merge branch 'sp2xr_granada_code' into 'main'

Fixed compatibility issue between read_csv_files_with_dask and...

See merge request apog/sp2xr!1
This commit is contained in:
2024-10-24 14:08:13 +02:00

View File

@ -2005,7 +2005,7 @@ def process_pbp_parquet(dir_path_pbp, dir_path_hk,
list_hist = []
for idx, (name, group) in enumerate(ddf_pbp.groupby('BC mass bin')):
a, _ = process_hist_and_dist(group, 'time_lag', 'cnts_particles_for_tl_dist', 1, timelag_bins_lims, timelag_bin_ctrs, dt_str, calculate_conc=False, flow=ddf_pbp_hk['Sample Flow Controller Read (vccm)'], rho_eff=None, BC_type=None, t=1)
a, _ = process_hist_and_dist(group, 'time_lag_new', 'cnts_particles_for_tl_dist', 1, timelag_bins_lims, timelag_bin_ctrs, dt_str, calculate_conc=False, flow=ddf_pbp_hk['Sample Flow Controller Read (vccm)'], rho_eff=None, BC_type=None, t=1)
a.columns = [f'BC_mass_{inc_mass_bin_ctrs[idx]:.2f}_timelag_{i:.1f}' for i in timelag_bin_ctrs]
list_hist.append(a)