Commit 175829b5 authored by Pierre Cazenave's avatar Pierre Cazenave

Remove the code to skip the flux variables since it assumed we wanted net flux...

Remove the code to skip the flux variables since it assumed we wanted net flux for everything whereas in reality we only need net flux for short wave radiation.
parent a0302917
......@@ -285,18 +285,6 @@ for t = 1:nt
for aa = 1:length(fields)
% % Skip the downward/upward arrays (most of the time we'll be using the
% % NCEP-provided net values).
% if strcmpi(fields{aa}, 'dswrf') || strcmpi(fields{aa}, 'dlwrf') || strcmpi(fields{aa}, 'uswrf') || strcmpi(fields{aa}, 'ulwrf')
% if ftbverbose
% fprintf('skipping.\n')
% end
% % But only if we haven't been given a list of variables to fetch.
% if nargin ~= 3
% continue
% end
% end
% We've been given a list of variables to do, so skip those that aren't
% in the list.
if ~isempty(varlist) && max(strcmp(fields{aa}, varlist)) ~= 1
......
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