Commit 4e33bb35 authored by Pierre Cazenave's avatar Pierre Cazenave

Fix remaining array name from the serial implementation

parent 88be7a8f
...@@ -174,10 +174,10 @@ for vv = 1:length(vars) ...@@ -174,10 +174,10 @@ for vv = 1:length(vars)
nnans1 = sum(isnan(tmp_fvcom_node(:, i))); nnans1 = sum(isnan(tmp_fvcom_node(:, i)));
nnans2 = sum(isnan(tmp_fvcom_data(:, i))); nnans2 = sum(isnan(tmp_fvcom_data(:, i)));
if nnans1 > 0 if nnans1 > 0
warning('%i NaNs in the interpolated node data. This won''t work with FVCOM.', nnans(1)) warning('%i NaNs in the interpolated node data. This won''t work with FVCOM.', nnans1)
end end
if nnans2 > 0 if nnans2 > 0
warning('%i NaNs in the interpolated element data. This won''t work with FVCOM.', nnans(2)) warning('%i NaNs in the interpolated element data. This won''t work with FVCOM.', nnans2)
end end
end end
% Transfer the temporary arrays back to the relevant struct and % Transfer the temporary arrays back to the relevant struct and
......
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