function oasisdat=get_oasis(file_loc)
%Reads in Oasis data from compiled Oasis data

file_name=sprintf('%soasis',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);
    oasisdat(:,i)=sscanf(X,'%f');
    i=i+1;
end;
fclose(fid);
[r c]=size(oasisdat);
oasisdat(1,:)=jul2date(oasisdat(1,:),oasisdat(r,:));%change to Matlab time
oasisdat(r,:)=[];%get rid of year column