Skip to content
Snippets Groups Projects
Commit cc309390 authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

mis test de dimensions declarees a unlimited, a completer par la suite

parent 765a7b47
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ fprintf('...writing %s : ', filename);
% Variable dimensions
% -------------------
nc('DAYD') = numel(tsg.DAYD); % number of TSG measurements
nc('DAYD') = numel(tsg.DAYD);
nc('DAYD_WS') = numel(tsg.DAYD_WS); % number of water samples
nc('DAYD_EXT') = numel(tsg.DAYD_EXT); % number of external SSPS or SSTP comparison
nc('NCOEF_CAL') = 5; % number of calibration coefficients
......@@ -142,6 +142,8 @@ for i=1:numel(ncv_keys)
% variable dimension, nc was corrupted to double object
% works well on windows
if ~isempty(tsg.(ncv_keys{i}))
%ncv_keys{i}
%nc{ncv_keys{i}}(1:length(tsg.(ncv_keys{i}))) = tsg.(ncv_keys{i});
nc{ncv_keys{i}}(:) = tsg.(ncv_keys{i});
end
end
......
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