Skip to content

Commit

Permalink
decArgo_20220217_047a commit
Browse files Browse the repository at this point in the history
  • Loading branch information
couppeym committed Nov 24, 2022
1 parent 323dd2f commit a7d80ac
Show file tree
Hide file tree
Showing 128 changed files with 8,636 additions and 5,521 deletions.
2,450 changes: 0 additions & 2,450 deletions DB_export_CRUISE_NAME.csv

This file was deleted.

Binary file removed DB_export_CRUISE_NAME.xlsx
Binary file not shown.
11 changes: 0 additions & 11 deletions DB_export_SPECIAL_FEATURES.csv

This file was deleted.

Binary file removed DB_export_SPECIAL_FEATURES.xlsx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified decArgo_doc/decoder_versions/_argo_decoder_versions.xlsx
Binary file not shown.
3 changes: 3 additions & 0 deletions decArgo_soft/config/_techParamNames/_tech_param_name_126.csv
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,6 @@ TECH_PARAM_DEC_ID;TECH_PARAM_MSG_ID;TECH_PARAM_MSG_LABEL;TECH_PARAM_NAME;TECH_PA
181;TECH_AUX;Date de detection de glace;TECH_AUX_CLOCK_IceDetection_YYYYMMDDHHMMSS;Time of ice detection.
182;TECH_AUX;Immersion de detection de glace;TECH_AUX_PRES_IceDetection_dbar;Pressure of ice detection.
183;TECH_AUX;End of life;TECH_AUX_CLOCK_EndOfLifeAlarm_YYYYMMDDHHMMSS;Alarm raised when the float switches to the End Of Life mode. When reported as a NUMBER, it provides the reason of the End Of Life (see float manual for details).
250;TECH_AUX;GPS time offset for BGC times;TECH_AUX_TIME_GpsTimeOffsetForBgcTimeAdj_seconds;GPS time offset used to adjust all BGC times of the cycle (it is the GPS time offset set before transmission of the previous cycle).
251;TECH_AUX;Time offset for descending profile BGC times;TECH_AUX_TIME_DescProfTimeOffsetForBgcTimeAdj_seconds;Estimated time offset used to adjust descending profile BGC times.
252;TECH_AUX;Time offset for ascending profile BGC times;TECH_AUX_TIME_AscProfTimeOffsetForBgcTimeAdj_seconds;Estimated time offset used to adjust ascending profile BGC times.
24 changes: 24 additions & 0 deletions decArgo_soft/config/_techParamNames/_tech_param_name_126.json
Original file line number Diff line number Diff line change
Expand Up @@ -1118,5 +1118,29 @@
"TECH_PARAM_MSG_LABEL" : "End of life",
"TECH_PARAM_NAME" : "TECH_AUX_CLOCK_EndOfLifeAlarm_YYYYMMDDHHMMSS",
"TECH_PARAM_DESCRIPTION" : "Alarm raised when the float switches to the End Of Life mode. When reported as a NUMBER, it provides the reason of the End Of Life (see float manual for details)."
},
"TECH_PARAM_141" :
{
"TECH_PARAM_DEC_ID" : "250",
"TECH_PARAM_MSG_ID" : "TECH_AUX",
"TECH_PARAM_MSG_LABEL" : "GPS time offset for BGC times",
"TECH_PARAM_NAME" : "TECH_AUX_TIME_GpsTimeOffsetForBgcTimeAdj_seconds",
"TECH_PARAM_DESCRIPTION" : "GPS time offset used to adjust all BGC times of the cycle (it is the GPS time offset set before transmission of the previous cycle)."
},
"TECH_PARAM_142" :
{
"TECH_PARAM_DEC_ID" : "251",
"TECH_PARAM_MSG_ID" : "TECH_AUX",
"TECH_PARAM_MSG_LABEL" : "Time offset for descending profile BGC times",
"TECH_PARAM_NAME" : "TECH_AUX_TIME_DescProfTimeOffsetForBgcTimeAdj_seconds",
"TECH_PARAM_DESCRIPTION" : "Estimated time offset used to adjust descending profile BGC times."
},
"TECH_PARAM_143" :
{
"TECH_PARAM_DEC_ID" : "252",
"TECH_PARAM_MSG_ID" : "TECH_AUX",
"TECH_PARAM_MSG_LABEL" : "Time offset for ascending profile BGC times",
"TECH_PARAM_NAME" : "TECH_AUX_TIME_AscProfTimeOffsetForBgcTimeAdj_seconds",
"TECH_PARAM_DESCRIPTION" : "Estimated time offset used to adjust ascending profile BGC times."
}
}
3 changes: 3 additions & 0 deletions decArgo_soft/config/_techParamNames/_tech_param_name_127.csv
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,6 @@ TECH_PARAM_DEC_ID;TECH_PARAM_MSG_ID;TECH_PARAM_MSG_LABEL;TECH_PARAM_NAME;TECH_PA
181;TECH_AUX;Date de detection de glace;TECH_AUX_CLOCK_IceDetection_YYYYMMDDHHMMSS;Time of ice detection.
182;TECH_AUX;Immersion de detection de glace;TECH_AUX_PRES_IceDetection_dbar;Pressure of ice detection.
183;TECH_AUX;End of life;TECH_AUX_CLOCK_EndOfLifeAlarm_YYYYMMDDHHMMSS;Alarm raised when the float switches to the End Of Life mode. When reported as a NUMBER, it provides the reason of the End Of Life (see float manual for details).
250;TECH_AUX;GPS time offset for BGC times;TECH_AUX_TIME_GpsTimeOffsetForBgcTimeAdj_seconds;GPS time offset used to adjust all BGC times of the cycle (it is the GPS time offset set before transmission of the previous cycle).
251;TECH_AUX;Time offset for descending profile BGC times;TECH_AUX_TIME_DescProfTimeOffsetForBgcTimeAdj_seconds;Estimated time offset used to adjust descending profile BGC times.
252;TECH_AUX;Time offset for ascending profile BGC times;TECH_AUX_TIME_AscProfTimeOffsetForBgcTimeAdj_seconds;Estimated time offset used to adjust ascending profile BGC times.
24 changes: 24 additions & 0 deletions decArgo_soft/config/_techParamNames/_tech_param_name_127.json
Original file line number Diff line number Diff line change
Expand Up @@ -1206,5 +1206,29 @@
"TECH_PARAM_MSG_LABEL" : "End of life",
"TECH_PARAM_NAME" : "TECH_AUX_CLOCK_EndOfLifeAlarm_YYYYMMDDHHMMSS",
"TECH_PARAM_DESCRIPTION" : "Alarm raised when the float switches to the End Of Life mode. When reported as a NUMBER, it provides the reason of the End Of Life (see float manual for details)."
},
"TECH_PARAM_152" :
{
"TECH_PARAM_DEC_ID" : "250",
"TECH_PARAM_MSG_ID" : "TECH_AUX",
"TECH_PARAM_MSG_LABEL" : "GPS time offset for BGC times",
"TECH_PARAM_NAME" : "TECH_AUX_TIME_GpsTimeOffsetForBgcTimeAdj_seconds",
"TECH_PARAM_DESCRIPTION" : "GPS time offset used to adjust all BGC times of the cycle (it is the GPS time offset set before transmission of the previous cycle)."
},
"TECH_PARAM_153" :
{
"TECH_PARAM_DEC_ID" : "251",
"TECH_PARAM_MSG_ID" : "TECH_AUX",
"TECH_PARAM_MSG_LABEL" : "Time offset for descending profile BGC times",
"TECH_PARAM_NAME" : "TECH_AUX_TIME_DescProfTimeOffsetForBgcTimeAdj_seconds",
"TECH_PARAM_DESCRIPTION" : "Estimated time offset used to adjust descending profile BGC times."
},
"TECH_PARAM_154" :
{
"TECH_PARAM_DEC_ID" : "252",
"TECH_PARAM_MSG_ID" : "TECH_AUX",
"TECH_PARAM_MSG_LABEL" : "Time offset for ascending profile BGC times",
"TECH_PARAM_NAME" : "TECH_AUX_TIME_AscProfTimeOffsetForBgcTimeAdj_seconds",
"TECH_PARAM_DESCRIPTION" : "Estimated time offset used to adjust ascending profile BGC times."
}
}
3 changes: 3 additions & 0 deletions decArgo_soft/config/_techParamNames/_tech_param_name_128.csv
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,6 @@ TECH_PARAM_DEC_ID;TECH_PARAM_MSG_ID;TECH_PARAM_MSG_LABEL;TECH_PARAM_NAME;TECH_PA
181;TECH_AUX;Date de detection de glace;TECH_AUX_CLOCK_IceDetection_YYYYMMDDHHMMSS;Time of ice detection.
182;TECH_AUX;Immersion de detection de glace;TECH_AUX_PRES_IceDetection_dbar;Pressure of ice detection.
183;TECH_AUX;End of life;TECH_AUX_CLOCK_EndOfLifeAlarm_YYYYMMDDHHMMSS;Alarm raised when the float switches to the End Of Life mode. When reported as a NUMBER, it provides the reason of the End Of Life (see float manual for details).
250;TECH_AUX;GPS time offset for BGC times;TECH_AUX_TIME_GpsTimeOffsetForBgcTimeAdj_seconds;GPS time offset used to adjust all BGC times of the cycle (it is the GPS time offset set before transmission of the previous cycle).
251;TECH_AUX;Time offset for descending profile BGC times;TECH_AUX_TIME_DescProfTimeOffsetForBgcTimeAdj_seconds;Estimated time offset used to adjust descending profile BGC times.
252;TECH_AUX;Time offset for ascending profile BGC times;TECH_AUX_TIME_AscProfTimeOffsetForBgcTimeAdj_seconds;Estimated time offset used to adjust ascending profile BGC times.
24 changes: 24 additions & 0 deletions decArgo_soft/config/_techParamNames/_tech_param_name_128.json
Original file line number Diff line number Diff line change
Expand Up @@ -1214,5 +1214,29 @@
"TECH_PARAM_MSG_LABEL" : "End of life",
"TECH_PARAM_NAME" : "TECH_AUX_CLOCK_EndOfLifeAlarm_YYYYMMDDHHMMSS",
"TECH_PARAM_DESCRIPTION" : "Alarm raised when the float switches to the End Of Life mode. When reported as a NUMBER, it provides the reason of the End Of Life (see float manual for details)."
},
"TECH_PARAM_153" :
{
"TECH_PARAM_DEC_ID" : "250",
"TECH_PARAM_MSG_ID" : "TECH_AUX",
"TECH_PARAM_MSG_LABEL" : "GPS time offset for BGC times",
"TECH_PARAM_NAME" : "TECH_AUX_TIME_GpsTimeOffsetForBgcTimeAdj_seconds",
"TECH_PARAM_DESCRIPTION" : "GPS time offset used to adjust all BGC times of the cycle (it is the GPS time offset set before transmission of the previous cycle)."
},
"TECH_PARAM_154" :
{
"TECH_PARAM_DEC_ID" : "251",
"TECH_PARAM_MSG_ID" : "TECH_AUX",
"TECH_PARAM_MSG_LABEL" : "Time offset for descending profile BGC times",
"TECH_PARAM_NAME" : "TECH_AUX_TIME_DescProfTimeOffsetForBgcTimeAdj_seconds",
"TECH_PARAM_DESCRIPTION" : "Estimated time offset used to adjust descending profile BGC times."
},
"TECH_PARAM_155" :
{
"TECH_PARAM_DEC_ID" : "252",
"TECH_PARAM_MSG_ID" : "TECH_AUX",
"TECH_PARAM_MSG_LABEL" : "Time offset for ascending profile BGC times",
"TECH_PARAM_NAME" : "TECH_AUX_TIME_AscProfTimeOffsetForBgcTimeAdj_seconds",
"TECH_PARAM_DESCRIPTION" : "Estimated time offset used to adjust ascending profile BGC times."
}
}
8 changes: 5 additions & 3 deletions decArgo_soft/soft/sub/add_rtqc_to_profile_file.m
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,12 @@
% 16/08/2021 - RNU - V 5.5: To follow Virginie Racapé's recomendation,
% TEST 25: MEDD test is not performed on (PRES,
% TEMP_DOXY) profiles
% 10/28/2021 - RNU - V 3.6: Code improvement:
% 10/28/2021 - RNU - V 5.6: Code improvement:
% - improve efficiency in retrieveing paramDataMode
% - improve efficiency while reporting profile QC in
% trajectory
% 01/03/2022 - RNU - V 5.7: Exclude NaN values from get_gebco_elev_point
% output
% ------------------------------------------------------------------------------
function add_rtqc_to_profile_file(a_floatNum, ...
a_ncMonoProfInputPathFileName, a_ncMonoProfOutputPathFileName, ...
Expand Down Expand Up @@ -237,7 +239,7 @@ function add_rtqc_to_profile_file(a_floatNum, ...

% program version
global g_decArgo_addRtqcToProfileVersion;
g_decArgo_addRtqcToProfileVersion = '5.6';
g_decArgo_addRtqcToProfileVersion = '5.7';

% Argo data start date
janFirst1997InJulD = gregorian_2_julian_dec_argo('1997/01/01 00:00:00');
Expand Down Expand Up @@ -1706,7 +1708,7 @@ function add_rtqc_to_profile_file(a_floatNum, ...
positionQc(idProf) = set_qc(positionQc(idProf), g_decArgo_qcStrGood);
testDoneList(4, idProf) = 1;
% apply the test
if (mean(mean(elev)) >= 0)
if (mean(mean(elev(~isnan(elev)))) >= 0)
if (positionQc(idProf) ~= g_decArgo_qcStrInterpolated)
positionQc(idProf) = set_qc(positionQc(idProf), g_decArgo_qcStrBad);
else
Expand Down
6 changes: 4 additions & 2 deletions decArgo_soft/soft/sub/add_rtqc_to_trajectory_file.m
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@
% locations
% TEST 7 (regional range test) don't use Iridium
% locations to determine region area
% 01/03/2022 - RNU - V 3.4: Exclude NaN values from get_gebco_elev_point
% output
% ------------------------------------------------------------------------------
function add_rtqc_to_trajectory_file(a_floatNum, ...
a_ncTrajInputFilePathName, a_ncTrajOutputFilePathName, ...
Expand Down Expand Up @@ -159,7 +161,7 @@ function add_rtqc_to_trajectory_file(a_floatNum, ...

% program version
global g_decArgo_addRtqcToTrajVersion;
g_decArgo_addRtqcToTrajVersion = '3.3';
g_decArgo_addRtqcToTrajVersion = '3.4';

% Argo data start date
janFirst1997InJulD = gregorian_2_julian_dec_argo('1997/01/01 00:00:00');
Expand Down Expand Up @@ -906,7 +908,7 @@ function add_rtqc_to_trajectory_file(a_floatNum, ...

if (~isempty(elev))
% apply the test
if (mean(mean(elev)) >= 0)
if (mean(mean(elev(~isnan(elev)))) >= 0)
positionQc(idNoDef(idPos)) = set_qc(positionQc(idNoDef(idPos)), g_decArgo_qcStrBad);

testFailedList(4) = 1;
Expand Down
Loading

0 comments on commit a7d80ac

Please sign in to comment.