-
Notifications
You must be signed in to change notification settings - Fork 1
/
createDataSetStatus_FunctionTechnicalData.m
80 lines (79 loc) · 3.23 KB
/
createDataSetStatus_FunctionTechnicalData.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
fprintf(' technical data, ')
%Surface Pressure
if isfield(FloatData.TEDf,'PRES_SurfaceOffsetTruncatedplus5dBar_dBAR')==1 && length(FloatData.TEDf.PRES_SurfaceOffsetTruncatedplus5dBar_dBAR)>1
hC1=axes('position',[0.05 0.69 0.90 0.26]);
plot(FloatData.TEDf.PRES_SurfaceOffsetTruncatedplus5dBar_dBARCycle,FloatData.TEDf.PRES_SurfaceOffsetTruncatedplus5dBar_dBAR)
maxSO=nanmax(FloatData.TEDf.PRES_SurfaceOffsetTruncatedplus5dBar_dBAR);
minSO=nanmin(FloatData.TEDf.PRES_SurfaceOffsetTruncatedplus5dBar_dBAR);
if maxSO>20;maxSO=20;end
if minSO<-20;minSO=-20;end
if maxSO~=minSO
axis([-inf inf minSO maxSO])
end
grid on
hC1.FontSize=7;
hC1.TitleFontWeight='normal';
hC1.XColor=[0.5 0.5 0.5];
hC1.YColor=[0.5 0.5 0.5];
title('PRES SurfaceOffsetTruncatedplus5dBar dBAR')
elseif isfield(FloatData.TEDf,'PRES_SurfaceOffsetNotTruncated_dBAR')==1
hC1=axes('position',[0.05 0.69 0.90 0.26]);
plot(FloatData.TEDf.PRES_SurfaceOffsetNotTruncated_dBARCycle,FloatData.TEDf.PRES_SurfaceOffsetNotTruncated_dBAR);hold on
maxSO=nanmax(FloatData.TEDf.PRES_SurfaceOffsetNotTruncated_dBAR);
minSO=nanmin(FloatData.TEDf.PRES_SurfaceOffsetNotTruncated_dBAR);
if maxSO>20;maxSO=20;end
if minSO<-20;minSO=-20;end
if maxSO~=minSO
axis([-inf inf minSO maxSO])
end
grid on
hC1.FontSize=7;
hC1.TitleFontWeight='normal';
hC1.XColor=[0.5 0.5 0.5];
hC1.YColor=[0.5 0.5 0.5];
title('PRES SurfaceOffsetNotTruncated dBAR')
end
%Voltage
if isfield(FloatData.TEDf,'VOLTAGE_BatteryParkEnd_VOLTS')==1
hC2=axes('position',[0.05 0.36 0.90 0.26]);
plot(FloatData.TEDf.VOLTAGE_BatteryParkEnd_VOLTSCycle,FloatData.TEDf.VOLTAGE_BatteryParkEnd_VOLTS)
set(hC2,'fontsize',8)
title('VOLTAGE BatteryParkEnd VOLTS')
grid on
hC2.FontSize=7;
hC2.TitleFontWeight='normal';
hC2.XColor=[0.5 0.5 0.5];
hC2.YColor=[0.5 0.5 0.5];
elseif isfield(FloatData.TEDf,'VOLTAGE_BatteryPumpStartProfile_volts')==1
hC2=axes('position',[0.05 0.36 0.90 0.26]);
plot(FloatData.TEDf.VOLTAGE_BatteryPumpStartProfile_voltsCycle,FloatData.TEDf.VOLTAGE_BatteryPumpStartProfile_volts)
set(hC2,'fontsize',8)
title('VOLTAGE BatteryPumpStartProfile volts')
grid on
hC2.FontSize=7;
hC2.TitleFontWeight='normal';
hC2.XColor=[0.5 0.5 0.5];
hC2.YColor=[0.5 0.5 0.5];
end
%Presion interna
if isfield(FloatData.TEDf,'PRESSURE_InternalVacuum_COUNT')==1
hC3=axes('position',[0.05 0.05 0.90 0.26]);
plot(FloatData.TEDf.PRESSURE_InternalVacuum_COUNTCycle,FloatData.TEDf.PRESSURE_InternalVacuum_COUNT)
set(hC3,'fontsize',8)
title('PRESSURE InternalVacuum COUNT')
grid on
hC3.FontSize=7;
hC3.TitleFontWeight='normal';
hC3.XColor=[0.5 0.5 0.5];
hC3.YColor=[0.5 0.5 0.5];
elseif isfield(FloatData.TEDf,'PRES_SurfaceOffsetBeforeReset_1cBarResolution_dbar')==1
hC3=axes('position',[0.05 0.05 0.90 0.26]);
plot(FloatData.TEDf.PRES_SurfaceOffsetBeforeReset_1cBarResolution_dbarCycle,FloatData.TEDf.PRES_SurfaceOffsetBeforeReset_1cBarResolution_dbar)
set(hC3,'fontsize',8)
title('PRES SurfaceOffsetBeforeReset 1cBarResolution_dbar')
grid on
hC3.FontSize=7;
hC3.TitleFontWeight='normal';
hC3.XColor=[0.5 0.5 0.5];
hC3.YColor=[0.5 0.5 0.5];
end