25 |
|
|
26 |
%set more optional paramaters to default values |
%set more optional paramaters to default values |
27 |
global myparms; year0=myparms.yearInAve(1); year1=myparms.yearInAve(2); |
global myparms; year0=myparms.yearInAve(1); year1=myparms.yearInAve(2); |
28 |
listData={'argo_june2012_1992_to_2007*','argo_june2012_2008_to_2010*',... |
listData={'argo_*_1992_to_2007*','argo_*_2008_to_2010*',... |
29 |
'argo_june2012_2011_to_2012*','climode_june2012*',... |
'argo_*_2011_to_2012*','climode_*',... |
30 |
'ctd_june2012*','itp_june2012*','seals_june2012*','xbt_june2012*'}; |
'ctd_*','itp_*','seals_*','xbt_*'}; |
31 |
listVar={'T','S'}; |
listVar={'T','S'}; |
32 |
%shorter test case: listData={'argo_in*'}; listVar={'T'}; |
%shorter test case: listData={'argo_in*'}; listVar={'T'}; |
33 |
dirData='mat/profiles/output/'; |
dirData='mat/profiles/output/'; |
80 |
|
|
81 |
else; |
else; |
82 |
|
|
83 |
|
if isdir([dirMat 'cost/']); dirMat=[dirMat 'cost/']; end; |
84 |
|
|
85 |
eval(['load ' dirMat 'insitu_misfit' suffMat '.mat;']); |
eval(['load ' dirMat 'insitu_misfit' suffMat '.mat;']); |
86 |
|
|
87 |
nk=size(vecDepth,1); |
nk=size(vecDepth,1); |