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

remplace NaN*ones par zeros

 tsg.([PARA{1} '_ADJUSTED_QC'])    = zeros(size(tsg.([PARA{1} '_QC'])));
la toolbox netcdf genere une exception sir on tente décrire une variable de type byte contenant des NaN
parent 145b123b
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ VALUE_CHANGED = tsg.qc.hash.VALUE_CHANGED.code;
% -------------
if isempty( tsg.([PARA{1} '_ADJUSTED']) )
tsg.([PARA{1} '_ADJUSTED']) = NaN*ones(size(tsg.(PARA{1})));
tsg.([PARA{1} '_ADJUSTED_QC']) = NaN*ones(size(tsg.([PARA{1} '_QC'])));
tsg.([PARA{1} '_ADJUSTED_QC']) = zeros(size(tsg.([PARA{1} '_QC'])));
tsg.([PARA{1} '_ADJUSTED_ERROR']) = NaN*ones(size(tsg.(PARA{1})));
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