Skip to content

Commit

Permalink
decArgo_patch_20220401_047i commit
Browse files Browse the repository at this point in the history
  • Loading branch information
couppeym committed Nov 24, 2022
1 parent f74d436 commit c8726c0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion decArgo_soft/soft/sub/init_default_values.m
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ function init_default_values(varargin)
% the first 3 digits are incremented at each new complete dated release
% the last digit is incremented at each patch associated to a given complete
% dated release
g_decArgo_decoderVersion = '047h';
g_decArgo_decoderVersion = '047i';

% list of managed decoders

Expand Down
16 changes: 14 additions & 2 deletions decArgo_soft/soft/sub/update_float_config_ir_sbd_222_223_225.m
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,23 @@ function update_float_config_ir_sbd_222_223_225(a_floatParam, a_cycleNum)
% remove temporary static parameters
g_decArgo_floatConfig.STATIC.NAMES(idDel) = [];
g_decArgo_floatConfig.STATIC.VALUES(idDel) = [];


% check if the first MC01 cycles are done
if (floatInternalCycleNumber < nbCyclesFirstMission)
g_decArgo_doneOnceFlag = 2; % update after MC01 cycles should be considered once again
else
g_decArgo_doneOnceFlag = 1; % no need to check again until alternatePeriod or pressureIncrement are modified
end
end
end

% check if the first MC01 cycles are done
if (g_decArgo_doneOnceFlag == 2)
if (floatInternalCycleNumber >= nbCyclesFirstMission)
g_decArgo_doneOnceFlag = 1; % no need to check again until alternatePeriod or pressureIncrement are modified
end
end

% update PX00
if (floatInternalCycleNumber > 0)

Expand Down
12 changes: 12 additions & 0 deletions decArgo_soft/soft/sub/update_float_config_ir_sbd_224.m
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,18 @@ function update_float_config_ir_sbd_224(a_floatParam, a_cycleNum)
g_decArgo_floatConfig.STATIC.NAMES(idDel) = [];
g_decArgo_floatConfig.STATIC.VALUES(idDel) = [];

% check if the first MC01 cycles are done
if (floatInternalCycleNumber < nbCyclesFirstMission)
g_decArgo_doneOnceFlag = 2; % update after MC01 cycles should be considered once again
else
g_decArgo_doneOnceFlag = 1; % no need to check again until alternatePeriod or pressureIncrement are modified
end
end
end

% check if the first MC01 cycles are done
if (g_decArgo_doneOnceFlag == 2)
if (floatInternalCycleNumber >= nbCyclesFirstMission)
g_decArgo_doneOnceFlag = 1; % no need to check again until alternatePeriod or pressureIncrement are modified
end
end
Expand Down

0 comments on commit c8726c0

Please sign in to comment.