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

utilise les conventions NetCDF V1.4

parent dfe08ca7
No related branches found
No related tags found
No related merge requests found
......@@ -20,32 +20,33 @@ qc = getappdata( hTsgGUI, 'qcColor');
% -------------------------------------------
axes( hAxes(1));
ind = find(tsg.PSAL_QC <= qc.Code.NO_CONTROL );
plot(hAxes(1), tsg.TIME(ind), tsg.PSAL(ind), ...
ind = find(tsg.SSPS_QC <= qc.Code.NO_CONTROL );
plot(hAxes(1), tsg.DAYD(ind), tsg.SSPS(ind), ...
strcat('.',qc.Color.NO_CONTROL));
hold on;
ind = find(tsg.PSAL_QC == qc.Code.GOOD );
plot(hAxes(1), tsg.TIME(ind), tsg.PSAL(ind), ...
ind = find(tsg.SSPS_QC == qc.Code.GOOD );
plot(hAxes(1), tsg.DAYD(ind), tsg.SSPS(ind), ...
strcat('.',qc.Color.GOOD));
ind = find(tsg.PSAL_QC == qc.Code.PROBABLY_GOOD );
plot(hAxes(1), tsg.TIME(ind), tsg.PSAL(ind), ...
ind = find(tsg.SSPS_QC == qc.Code.PROBABLY_GOOD );
plot(hAxes(1), tsg.DAYD(ind), tsg.SSPS(ind), ...
strcat('.',qc.Color.PROBABLY_GOOD));
ind = find(tsg.PSAL_QC == qc.Code.PROBABLY_BAD );
plot(hAxes(1), tsg.TIME(ind), tsg.PSAL(ind), ...
ind = find(tsg.SSPS_QC == qc.Code.PROBABLY_BAD );
plot(hAxes(1), tsg.DAYD(ind), tsg.SSPS(ind), ...
strcat('.',qc.Color.PROBABLY_BAD));
ind = find(tsg.PSAL_QC == qc.Code.BAD );
plot(hAxes(1), tsg.TIME(ind), tsg.PSAL(ind), ...
ind = find(tsg.SSPS_QC == qc.Code.BAD );
plot(hAxes(1), tsg.DAYD(ind), tsg.SSPS(ind), ...
strcat('.',qc.Color.BAD));
hold off;
% Plot Temperature and ship velocity with no qc color code
% ---------------------------------------------------------
plot(hAxes(2), tsg.TIME, tsg.TEMP_TSG, '.');
plot(hAxes(3), tsg.TIME, tsg.TEMP_TSG, '.');
plot(hAxes(2), tsg.DAYD, tsg.SSJT, '.');
plot(hAxes(3), tsg.DAYD, tsg.SPDC, '.k');
% Formatted x-TIME axes
% ---------------------
......@@ -57,7 +58,7 @@ datetick(hAxes(3), 'x');
% ------------------
set(get(hAxes(1), 'Ylabel'), 'String', 'Salinity');
set(get(hAxes(2), 'Ylabel'), 'String', 'Temperature (°C)');
set(get(hAxes(3), 'Ylabel'), 'String', 'Ship Velocity');
set(get(hAxes(3), 'Ylabel'), 'String', 'Ship Velocity (knots)');
% Make the axes visible
% ---------------------
......
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