function [Struct_new] = QualityControl(Struct)
% [Struct_new] = QualityControl(Struct)
% Input the struct, and pick up (1) after May 29, and (2) no time
% overlapping
% Output Struct_new

index_time = find(Struct.StartTimes>datetime(2015,5,29));

Struct_new.alpha = Struct.alpha(index_time,:);

Struct_new.alpha_err = Struct.alpha_err(index_time,:);

Struct_new.z = Struct.z(index_time,:);

Struct_new.StartTimes = Struct.StartTimes(index_time,:);

Struct_new.EndTimes = Struct.EndTimes(index_time,:);

Struct_new.ustar = Struct.ustar(index_time,:);

end