function c_flights = UTM_remove_dups(c_flights_in,CLOSED)
%

c_flights = [];

if isempty(c_flights_in)
    return
end

num_c_flights_in = length(c_flights_in(:,1));
for c = 1:num_c_flights_in
    f = c_flights_in(c,1);
    if isempty(find(f==CLOSED))
        c_flights = [c_flights; c_flights_in(c,:)];
    end
end
