Commit f6e4d1a4 authored by Dany Dumont's avatar Dany Dumont

mise a jour de tr_sort sur mingan

parent 0a12a48d
......@@ -21,10 +21,12 @@ function tr_sort(num_spot,mission,debut,h1,fin,h2)
% Enregistrements sous forme de structure sur Brandypot:
% sas/usagers/share_lasso/data/MEOPAR/drifter
rootdir = '/sas/usagers/share_lasso/data/MEOPAR';
%rootdir = '/sas/usagers/share_lasso/data/MEOPAR';
rootdir = '/share/archives/partage_lasso/spot';
fid1 = fopen([ rootdir 'spots_pos_clean.csv']);
spot_clean = textscan(fid1,'%f %f %f %f %s', 'delimiter',';');
fid1 = fopen([ rootdir '/spots_pos_flag_clean.csv']);
header = textscan(fid1,'%s;%s;%s;%s;%s;%s',1);
spot_clean = textscan(fid1,'%f %f %f %f %s %s','Delimiter',';');
fclose(fid1);
spot = spot_clean{1,1};
......@@ -67,7 +69,9 @@ for i = 1:length(num_spot);
'start',{''},'end',{''},'mission',{''},...
'name',{''},'spot',{''});
data.timeM = tmp(K,1); data.lon = tmp(K,2); data.lat = tmp(K,3);
data.timeM = tmp(K,1);
data.lon = tmp(K,2);
data.lat = tmp(K,3);
data.timeU = tmp(K,4);
data.start = [datestr(data.timeM(1)) ' UTC'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment