26 |
|
|
27 |
%set more optional paramaters to default values |
%set more optional paramaters to default values |
28 |
year0=1992; year1=2008; |
year0=1992; year1=2008; |
29 |
%listData={'WOD09_XBT*','WOD09_CTD*','argo_in*','argo_at*','argo_pa*','seals*'}; |
listData={'WOD09_XBT*','WOD09_CTD*','argo_in*','argo_at*','argo_pa*','seals*'}; |
30 |
%listVar={'T','S'}; |
listVar={'T','S'}; |
31 |
listData={'argo_in*'}; listVar={'T'}; |
%shorter test case: listData={'argo_in*'}; listVar={'T'}; |
32 |
subdirData='/profiles/output/'; |
subdirData='/profiles/output/'; |
33 |
subdirMat='mat/'; suffMat='_all'; |
subdirMat='mat/'; suffMat='_all'; |
34 |
subdirTex='tex/'; addToTex=0; |
subdirTex='tex/'; addToTex=0; |
81 |
eval(['load ' dirData '/' subdirMat 'insitu_misfit' suffMat '.mat;']); |
eval(['load ' dirData '/' subdirMat 'insitu_misfit' suffMat '.mat;']); |
82 |
|
|
83 |
nk=size(vecDepth,1); |
nk=size(vecDepth,1); |
84 |
figureL; orient tall; |
figureL; |
85 |
for vv=1:length(listVar); |
for vv=1:length(listVar); |
86 |
varCur=listVar{vv}; |
varCur=listVar{vv}; |
87 |
for kkk=1:size(vecDepth,1); |
for kkk=1:size(vecDepth,1); |
95 |
end; |
end; |
96 |
end; |
end; |
97 |
|
|
98 |
myCaption={'model minus in situ profiles'}; |
myCaption={'Time mean misfit (model-data) for in situ profiles, ',... |
99 |
|
'at various depths (rows), for T (left; in K) and S (right; in psu).'}; |
100 |
if addToTex; write2tex([dirData '/' subdirTex '/myPlots.tex'],2,myCaption,gcf); end; |
if addToTex; write2tex([dirData '/' subdirTex '/myPlots.tex'],2,myCaption,gcf); end; |
101 |
|
|
102 |
end; |
end; |