function hs2=hs2struct(hydroscatlog);
%from hydroscatlog auv
%Snorm1, Gain 1 = 470 (Channel 1)
%Snorm2, Gain 2 = 676 (Channel 2)
%Snorm3, Gain 3 = Fl676 (Channel 3)


%open the argos infile for the HS2
%file_name=sprintf('%s%s/hs2',file_loc,char(mlab));
%file_name=sprintf('%s%s/argos/hs2',file_loc,char(mlab));
%fid=fopen(file_name);

%get rid of the oasis header and start reading in
%Dat_Loc = rm_oasis_header(fid);
%fseek(fid, Dat_Loc, 'bof');


    hs2.Time=hydroscatlog(:,1)/60/60/24 + 719529; %sdn
    hs2.Snorm1=int_signer(hydroscatlog(:,4));%signed
    hs2.Snorm2=int_signer(hydroscatlog(:,5));%signed
    hs2.Snorm3=int_signer(hydroscatlog(:,6));%signed
    hs2.Gain1=hydroscatlog(:,7);%nibble
    hs2.Gain2=hydroscatlog(:,8);%nibble
    hs2.Gain3=hydroscatlog(:,9);%nibble
    hs2.Depth=int_signer(hydroscatlog(:,10));%signed
    hs2.Temp=((int_signer(hydroscatlog(:,11)))/5)-10;%signed|count to actual


    