% get_AO
%
% alphaomega data on drive M:
%
imet_1=[]; imet_2=[]; imet_3=[]; imet_4=[];
load [argosdir '\im_1stor.mat']
load [argosdir '\im_2stor.mat']

if exist( [argosdir '\im_3stor.mat'],'file')
    load  [argosdir '\im_3stor.mat'];
end
if exist( [argosdir '\im_4stor.mat'] ,'file')
    load  [argosdir '\im_4stor.mat];
end

% ao_to_variables creates structs sys
% if passed array imet_N exists

[sys1]=AO_to_variables(imet_1,minx,maxx);
if isstruct(sys1)
    sys1.mday=sys1.yday + day1;
end

[sys2]=AO_to_variables(imet_2,minx,maxx);
if isstruct(sys1)
    sys2.mday=sys2.yday + day1;
end

[sys3]=AO_to_variables(imet_3,minx,maxx);
if isstruct(sys3)
    sys3.mday=sys3.yday + day1;
end

[sys4]=AO_to_variables(imet_4,minx,maxx);
if isstruct(sys4)
    sys2.mday=sys4.yday + day1;
end

