11 |
nItMx=1e10*ones(1,Nexp); %nItMx(3)=11; |
nItMx=1e10*ones(1,Nexp); %nItMx(3)=11; |
12 |
%nItMx=60*ones(1,Nexp); |
%nItMx=60*ones(1,Nexp); |
13 |
namLg=namA ; namLg=strrep(namLg,'_','\_'); |
namLg=namA ; namLg=strrep(namLg,'_','\_'); |
14 |
|
undef=123456.7; |
15 |
%----------- |
%----------- |
16 |
%- test if the variable krd is define : |
%- test if the variable krd is define : |
17 |
if size(who('krd'),1) > 0, |
if size(who('krd'),1) > 0, |
33 |
[ntA(n),rList,tim,vv1,listV,kList] = ... |
[ntA(n),rList,tim,vv1,listV,kList] = ... |
34 |
read_StD(prefix,namA(n,:),listV); |
read_StD(prefix,namA(n,:),listV); |
35 |
nIt=ntA(n); nk=size(vv1,1); nRg=size(vv1,3); |
nIt=ntA(n); nk=size(vv1,1); nRg=size(vv1,3); |
36 |
|
vv1(find(vv1==undef))=NaN; |
37 |
%- set global dims: & load vvA --> vvB |
%- set global dims: & load vvA --> vvB |
38 |
nbV=size(listV,2); |
nbV=size(listV,2); |
39 |
nrec=nIt; n3d=nk; nReg=nRg; |
nrec=nIt; n3d=nk; nReg=nRg; |
44 |
[ntA(n),rList,tim,vv1,listV] = ... |
[ntA(n),rList,tim,vv1,listV] = ... |
45 |
read_StD(prefix,namA(n,:),listV); |
read_StD(prefix,namA(n,:),listV); |
46 |
nIt=ntA(n); nk=size(vv1,1); nRg=size(vv1,3); |
nIt=ntA(n); nk=size(vv1,1); nRg=size(vv1,3); |
47 |
|
vv1(find(vv1==undef))=NaN; |
48 |
if (nrec < nIt), |
if (nrec < nIt), |
49 |
fprintf('\n'); |
fprintf('\n'); |
50 |
error([' Nb of records=',int2str(nIt),' exceeds nrec=',int2str(nrec)]); |
error([' Nb of records=',int2str(nIt),' exceeds nrec=',int2str(nrec)]); |