Skip to content
Snippets Groups Projects
Commit 468911b1 authored by Dr. rer. nat. Jürgen Mey's avatar Dr. rer. nat. Jürgen Mey :eye:
Browse files

adapted to floodos without qs

parent 1e222df4
No related branches found
No related tags found
No related merge requests found
...@@ -159,6 +159,7 @@ if allflag == 1 ...@@ -159,6 +159,7 @@ if allflag == 1
xlabel('Time') xlabel('Time')
ylabel('Slope (%)') ylabel('Slope (%)')
try
cols = contains(T.Properties.VariableNames,'qs'); cols = contains(T.Properties.VariableNames,'qs');
Stat.qs = T{:,cols}; Stat.qs = T{:,cols};
subplot(3,3,6) subplot(3,3,6)
...@@ -166,6 +167,8 @@ if allflag == 1 ...@@ -166,6 +167,8 @@ if allflag == 1
xlabel('Time') xlabel('Time')
ylabel('Sediment flux') ylabel('Sediment flux')
legend('qs_i_n','qs\_out') legend('qs_i_n','qs\_out')
catch
end
cols = contains(T.Properties.VariableNames,'rain'); cols = contains(T.Properties.VariableNames,'rain');
Stat.rain = T{:,cols}; Stat.rain = T{:,cols};
...@@ -189,6 +192,8 @@ if allflag == 1 ...@@ -189,6 +192,8 @@ if allflag == 1
ylabel('dh\_p') ylabel('dh\_p')
varargout{1} = Stat; varargout{1} = Stat;
elseif strcmp(variable,'time') elseif strcmp(variable,'time')
H = dir('*.alt'); H = dir('*.alt');
[~,index] = sortrows({H.datenum}.'); [~,index] = sortrows({H.datenum}.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment