function idiel = QC(gdata, mission, method)
% QC is manual only right now. Can add more later.
    if ismember(method,'manualflag')
        idiel = gdata.StartProf(mission):gdata.EndProf(mission);
        QC = char(strsplit(char(gdata.QC(mission)),','));
        QC = str2num(QC)';
        idiel(QC) = [];
    end
end