% add positions for carousel 2 on Tow 5, since it did not work

load ed5_pos_no_carousel2.mat
load SAM_006_fl

inc = mean(diff(m_st));

for ii = 25:50
    next_time = m_st(24) + inc.*(ii-24);
    indx = find(abs(yearday-next_time) <= min(abs(yearday-next_time)));
    if length(indx > 1)
        indx = indx(1);
    end
    m_st(ii) = yearday(indx);
    mlat(ii) = lat(indx);
    mlon(ii) = lon(indx);
end

save('ed5_pos.mat','-v6', 'm_st', 'mlat', 'mlon')


