pub(super) fn to_unit_data( unit_times: &[UnitTime], unit_map: &HashMap<Unit, UnitIndex>, ) -> Vec<UnitData>