function [time,u_errors,v_errors,rho_errors] = err_read (errname);

error_data = load (errname);

time = error_data (:,1)./60;

urmserr = error_data (:,2);
uabserr = error_data (:,3);
uabsmax = error_data (:,4);
uabsmin = error_data (:,5);

vrmserr = error_data (:,6);
vabserr = error_data (:,7);
vabsmax = error_data (:,8);
vabsmin = error_data (:,9);

rhormserr = error_data (:,10);
rhoabserr = error_data (:,11);
rhoabsmax = error_data (:,12);
rhoabsmin = error_data (:,13);


u_errors = struct ('rms',urmserr, ...
                   'abs',uabserr, ...
                   'max_abs',uabsmax, ...
                   'min_abs',uabsmin);

v_errors = struct ('rms',vrmserr, ...
                   'abs',vabserr, ...
                   'max_abs',vabsmax, ...
                   'min_abs',vabsmin);

rho_errors = struct ('rms',rhormserr, ...
                     'abs',rhoabserr, ...
                     'max_abs',rhoabsmax, ...
                     'min_abs',rhoabsmin);

