function gpsdat=get_gps(file_loc)
%Reads in GPS data from compiled Oasis data

file_name=sprintf('%sgps',file_loc);%what file
fid=fopen(file_name);%open file
Dat_Loc=rm_oasis_header(fid);%remove the header
fseek(fid,(Dat_Loc),'bof');%start of the data
i=1;
while ~feof(fid) %read in the numbers
    X=fgetl(fid);
    
    X(findstr(X,'f'))=[];
       
    gpsdat(:,i)=sscanf(X,'%f');
    i=i+1;
end;
fclose(fid);
gpsdat(1,:)=jul2date(gpsdat(1,:),gpsdat(11,:));%change to Matlab time
gpsdat(11,:)=[];%get rid of year column