imap-processing 0.8.0__py3-none-any.whl → 0.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of imap-processing might be problematic. Click here for more details.
- imap_processing/_version.py +2 -2
- imap_processing/ccsds/excel_to_xtce.py +2 -0
- imap_processing/cdf/config/imap_hi_variable_attrs.yaml +100 -1
- imap_processing/cdf/config/imap_hit_global_cdf_attrs.yaml +14 -0
- imap_processing/cdf/config/imap_hit_l1a_variable_attrs.yaml +63 -1
- imap_processing/cdf/config/imap_idex_global_cdf_attrs.yaml +7 -0
- imap_processing/cdf/config/imap_idex_l1a_variable_attrs.yaml +574 -231
- imap_processing/cdf/config/imap_idex_l1b_variable_attrs.yaml +326 -0
- imap_processing/cdf/config/imap_lo_l1a_variable_attrs.yaml +33 -23
- imap_processing/cdf/config/imap_ultra_l1b_variable_attrs.yaml +7 -4
- imap_processing/cdf/utils.py +3 -5
- imap_processing/cli.py +13 -4
- imap_processing/codice/codice_l1a.py +5 -5
- imap_processing/codice/constants.py +9 -9
- imap_processing/codice/decompress.py +6 -2
- imap_processing/glows/l1a/glows_l1a.py +1 -2
- imap_processing/hi/l1a/hi_l1a.py +4 -4
- imap_processing/hi/l1a/histogram.py +106 -108
- imap_processing/hi/l1a/science_direct_event.py +91 -224
- imap_processing/hi/packet_definitions/TLM_HI_COMBINED_SCI.xml +3994 -0
- imap_processing/hit/l0/constants.py +2 -2
- imap_processing/hit/l0/decom_hit.py +12 -101
- imap_processing/hit/l1a/hit_l1a.py +164 -23
- imap_processing/ialirt/l0/process_codicelo.py +153 -0
- imap_processing/ialirt/l0/process_hit.py +5 -5
- imap_processing/ialirt/packet_definitions/ialirt_codicelo.xml +281 -0
- imap_processing/ialirt/process_ephemeris.py +212 -0
- imap_processing/idex/idex_l1a.py +55 -75
- imap_processing/idex/idex_l1b.py +192 -0
- imap_processing/idex/idex_variable_unpacking_and_eu_conversion.csv +33 -0
- imap_processing/idex/packet_definitions/idex_packet_definition.xml +97 -595
- imap_processing/lo/l0/decompression_tables/decompression_tables.py +16 -0
- imap_processing/lo/l0/lo_science.py +44 -12
- imap_processing/lo/l1a/lo_l1a.py +76 -8
- imap_processing/lo/packet_definitions/lo_xtce.xml +9877 -87
- imap_processing/mag/l1a/mag_l1a.py +1 -2
- imap_processing/mag/l1a/mag_l1a_data.py +1 -2
- imap_processing/mag/l1b/mag_l1b.py +2 -1
- imap_processing/spice/geometry.py +37 -19
- imap_processing/spice/time.py +144 -2
- imap_processing/swapi/l1/swapi_l1.py +3 -3
- imap_processing/swapi/packet_definitions/swapi_packet_definition.xml +1535 -446
- imap_processing/swe/l2/swe_l2.py +134 -17
- imap_processing/tests/ccsds/test_data/expected_output.xml +1 -1
- imap_processing/tests/codice/test_codice_l1a.py +8 -8
- imap_processing/tests/codice/test_decompress.py +4 -4
- imap_processing/tests/conftest.py +46 -43
- imap_processing/tests/hi/test_data/l0/H90_NHK_20241104.bin +0 -0
- imap_processing/tests/hi/test_data/l0/H90_sci_cnt_20241104.bin +0 -0
- imap_processing/tests/hi/test_data/l0/H90_sci_de_20241104.bin +0 -0
- imap_processing/tests/hi/test_hi_l1b.py +2 -2
- imap_processing/tests/hi/test_l1a.py +31 -58
- imap_processing/tests/hi/test_science_direct_event.py +58 -0
- imap_processing/tests/hit/test_data/sci_sample1.ccsds +0 -0
- imap_processing/tests/hit/test_decom_hit.py +60 -50
- imap_processing/tests/hit/test_hit_l1a.py +327 -12
- imap_processing/tests/hit/test_hit_l1b.py +76 -0
- imap_processing/tests/hit/validation_data/hskp_sample_eu.csv +89 -0
- imap_processing/tests/hit/validation_data/sci_sample_raw1.csv +29 -0
- imap_processing/tests/ialirt/test_data/l0/apid01152.tlm +0 -0
- imap_processing/tests/ialirt/test_data/l0/imap_codice_l1a_lo-ialirt_20241110193700_v0.0.0.cdf +0 -0
- imap_processing/tests/ialirt/unit/test_process_codicelo.py +106 -0
- imap_processing/tests/ialirt/unit/test_process_ephemeris.py +109 -0
- imap_processing/tests/ialirt/unit/test_process_hit.py +9 -6
- imap_processing/tests/idex/conftest.py +1 -1
- imap_processing/tests/idex/test_idex_l0.py +1 -1
- imap_processing/tests/idex/test_idex_l1a.py +7 -1
- imap_processing/tests/idex/test_idex_l1b.py +126 -0
- imap_processing/tests/lo/test_lo_l1a.py +7 -16
- imap_processing/tests/lo/test_lo_science.py +67 -3
- imap_processing/tests/lo/test_pkts/imap_lo_l0_raw_20240803_v002.pkts +0 -0
- imap_processing/tests/lo/validation_data/Instrument_FM1_T104_R129_20240803_ILO_SCI_DE_dec_DN_with_fills.csv +1999 -0
- imap_processing/tests/mag/test_mag_l1b.py +39 -5
- imap_processing/tests/spice/test_geometry.py +32 -6
- imap_processing/tests/spice/test_time.py +135 -6
- imap_processing/tests/swapi/test_swapi_decom.py +75 -69
- imap_processing/tests/swapi/test_swapi_l1.py +4 -4
- imap_processing/tests/swe/test_swe_l2.py +64 -8
- imap_processing/tests/test_utils.py +1 -1
- imap_processing/tests/ultra/test_data/l0/ultra45_raw_sc_ultrarawimg_withFSWcalcs_FM45_40P_Phi28p5_BeamCal_LinearScan_phi2850_theta-000_20240207T102740.csv +3314 -3314
- imap_processing/tests/ultra/unit/test_de.py +8 -3
- imap_processing/tests/ultra/unit/test_spatial_utils.py +125 -0
- imap_processing/tests/ultra/unit/test_ultra_l1b_extended.py +39 -29
- imap_processing/tests/ultra/unit/test_ultra_l1c_pset_bins.py +2 -25
- imap_processing/ultra/constants.py +4 -0
- imap_processing/ultra/l1b/de.py +8 -14
- imap_processing/ultra/l1b/ultra_l1b_extended.py +29 -70
- imap_processing/ultra/l1c/ultra_l1c_pset_bins.py +1 -36
- imap_processing/ultra/utils/spatial_utils.py +221 -0
- {imap_processing-0.8.0.dist-info → imap_processing-0.9.0.dist-info}/METADATA +1 -1
- {imap_processing-0.8.0.dist-info → imap_processing-0.9.0.dist-info}/RECORD +94 -76
- imap_processing/hi/l0/__init__.py +0 -0
- imap_processing/hi/l0/decom_hi.py +0 -24
- imap_processing/hi/packet_definitions/hi_packet_definition.xml +0 -482
- imap_processing/tests/hi/test_decom.py +0 -55
- imap_processing/tests/hi/test_l1a_sci_de.py +0 -72
- {imap_processing-0.8.0.dist-info → imap_processing-0.9.0.dist-info}/LICENSE +0 -0
- {imap_processing-0.8.0.dist-info → imap_processing-0.9.0.dist-info}/WHEEL +0 -0
- {imap_processing-0.8.0.dist-info → imap_processing-0.9.0.dist-info}/entry_points.txt +0 -0
|
@@ -1,482 +0,0 @@
|
|
|
1
|
-
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<xtce:SpaceSystem xmlns:xtce="http://www.omg.org/space/xtce" name="H45_SCI_DE">
|
|
3
|
-
<xtce:Header date="2023-12" version="1.0" author="IMAP SDC" />
|
|
4
|
-
<xtce:TelemetryMetaData>
|
|
5
|
-
<xtce:ParameterTypeSet>
|
|
6
|
-
<xtce:IntegerParameterType name="UINT1" signed="false">
|
|
7
|
-
<xtce:IntegerDataEncoding sizeInBits="1" encoding="unsigned" />
|
|
8
|
-
</xtce:IntegerParameterType>
|
|
9
|
-
<xtce:IntegerParameterType name="UINT2" signed="false">
|
|
10
|
-
<xtce:IntegerDataEncoding sizeInBits="2" encoding="unsigned" />
|
|
11
|
-
</xtce:IntegerParameterType>
|
|
12
|
-
<xtce:IntegerParameterType name="UINT3" signed="false">
|
|
13
|
-
<xtce:IntegerDataEncoding sizeInBits="3" encoding="unsigned" />
|
|
14
|
-
</xtce:IntegerParameterType>
|
|
15
|
-
<xtce:IntegerParameterType name="UINT4" signed="false">
|
|
16
|
-
<xtce:IntegerDataEncoding sizeInBits="4" encoding="unsigned" />
|
|
17
|
-
</xtce:IntegerParameterType>
|
|
18
|
-
<xtce:IntegerParameterType name="UINT8" signed="false">
|
|
19
|
-
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned" />
|
|
20
|
-
</xtce:IntegerParameterType>
|
|
21
|
-
<xtce:IntegerParameterType name="UINT11" signed="false">
|
|
22
|
-
<xtce:IntegerDataEncoding sizeInBits="11" encoding="unsigned" />
|
|
23
|
-
</xtce:IntegerParameterType>
|
|
24
|
-
<xtce:IntegerParameterType name="INT12" signed="true">
|
|
25
|
-
<xtce:IntegerDataEncoding sizeInBits="12" encoding="signed" />
|
|
26
|
-
</xtce:IntegerParameterType>
|
|
27
|
-
<xtce:IntegerParameterType name="UINT12" signed="false">
|
|
28
|
-
<xtce:IntegerDataEncoding sizeInBits="12" encoding="unsigned" />
|
|
29
|
-
</xtce:IntegerParameterType>
|
|
30
|
-
<xtce:IntegerParameterType name="UINT14" signed="false">
|
|
31
|
-
<xtce:IntegerDataEncoding sizeInBits="14" encoding="unsigned" />
|
|
32
|
-
</xtce:IntegerParameterType>
|
|
33
|
-
<xtce:IntegerParameterType name="UINT16" signed="false">
|
|
34
|
-
<xtce:IntegerDataEncoding sizeInBits="16" encoding="unsigned" />
|
|
35
|
-
</xtce:IntegerParameterType>
|
|
36
|
-
<xtce:IntegerParameterType name="UINT32" signed="false">
|
|
37
|
-
<xtce:IntegerDataEncoding sizeInBits="32" encoding="unsigned" />
|
|
38
|
-
</xtce:IntegerParameterType>
|
|
39
|
-
<xtce:BinaryParameterType name="BYTE32">
|
|
40
|
-
<xtce:UnitSet />
|
|
41
|
-
<xtce:BinaryDataEncoding bitOrder="mostSignificantBitFirst">
|
|
42
|
-
<xtce:SizeInBits>
|
|
43
|
-
<xtce:FixedValue>32</xtce:FixedValue>
|
|
44
|
-
</xtce:SizeInBits>
|
|
45
|
-
</xtce:BinaryDataEncoding>
|
|
46
|
-
</xtce:BinaryParameterType>
|
|
47
|
-
<xtce:BinaryParameterType name="DE_TOF_BITS">
|
|
48
|
-
<xtce:UnitSet/>
|
|
49
|
-
<xtce:BinaryDataEncoding>
|
|
50
|
-
<xtce:SizeInBits>
|
|
51
|
-
<xtce:DynamicValue>
|
|
52
|
-
<!--
|
|
53
|
-
DE_TOF is variable length. If there is one event, then
|
|
54
|
-
DE_TOF will be 48-bits. If there are 665 events, then
|
|
55
|
-
DE_TOF will be 31920-bits. If there are no event, then
|
|
56
|
-
DE_TOF will be 0-bits.
|
|
57
|
-
|
|
58
|
-
Full packet data length = 6 byte (CCSDS HEADER) + PKT_LEN + 1
|
|
59
|
-
|
|
60
|
-
To get bits of DE_TOF data bits from full packet data length,
|
|
61
|
-
DE_TOF = 8 * (PKT_LEN + 1 - 4 byte(MET) - 4 byte(SPARE) - 2 byte(CHSUM))
|
|
62
|
-
= 8 ( PKT_LEN - 9 )
|
|
63
|
-
= 8 * PKT_LEN - 72
|
|
64
|
-
|
|
65
|
-
From this, slope is 8 and intercept is -72
|
|
66
|
-
-->
|
|
67
|
-
<xtce:ParameterInstanceRef parameterRef="PKT_LEN"/>
|
|
68
|
-
<xtce:LinearAdjustment intercept="-72" slope="8"/>
|
|
69
|
-
</xtce:DynamicValue>
|
|
70
|
-
</xtce:SizeInBits>
|
|
71
|
-
</xtce:BinaryDataEncoding>
|
|
72
|
-
</xtce:BinaryParameterType>
|
|
73
|
-
<xtce:BinaryParameterType name="BYTE25920">
|
|
74
|
-
<xtce:UnitSet />
|
|
75
|
-
<xtce:BinaryDataEncoding bitOrder="mostSignificantBitFirst">
|
|
76
|
-
<xtce:SizeInBits>
|
|
77
|
-
<xtce:FixedValue>25920</xtce:FixedValue>
|
|
78
|
-
</xtce:SizeInBits>
|
|
79
|
-
</xtce:BinaryDataEncoding>
|
|
80
|
-
</xtce:BinaryParameterType>
|
|
81
|
-
</xtce:ParameterTypeSet>
|
|
82
|
-
<xtce:ParameterSet>
|
|
83
|
-
<xtce:Parameter name="VERSION" parameterTypeRef="UINT3">
|
|
84
|
-
<xtce:LongDescription>CCSDS Packet Version Number (always 0)</xtce:LongDescription>
|
|
85
|
-
</xtce:Parameter>
|
|
86
|
-
<xtce:Parameter name="TYPE" parameterTypeRef="UINT1">
|
|
87
|
-
<xtce:LongDescription>CCSDS Packet Type Indicator (0=telemetry)</xtce:LongDescription>
|
|
88
|
-
</xtce:Parameter>
|
|
89
|
-
<xtce:Parameter name="SEC_HDR_FLG" parameterTypeRef="UINT1">
|
|
90
|
-
<xtce:LongDescription>CCSDS Packet Secondary Header Flag (always 1)</xtce:LongDescription>
|
|
91
|
-
</xtce:Parameter>
|
|
92
|
-
<xtce:Parameter name="PKT_APID" parameterTypeRef="UINT11">
|
|
93
|
-
<xtce:LongDescription>CCSDS Packet Application Process ID</xtce:LongDescription>
|
|
94
|
-
</xtce:Parameter>
|
|
95
|
-
<xtce:Parameter name="SEQ_FLGS" parameterTypeRef="UINT2">
|
|
96
|
-
<xtce:LongDescription>CCSDS Packet Grouping Flags (3=not part of group)</xtce:LongDescription>
|
|
97
|
-
</xtce:Parameter>
|
|
98
|
-
<xtce:Parameter name="SRC_SEQ_CTR" parameterTypeRef="UINT14">
|
|
99
|
-
<xtce:LongDescription>CCSDS Packet Sequence Count (increments with each new packet)</xtce:LongDescription>
|
|
100
|
-
</xtce:Parameter>
|
|
101
|
-
<xtce:Parameter name="PKT_LEN" parameterTypeRef="UINT16">
|
|
102
|
-
<xtce:LongDescription>CCSDS Packet Length (number of bytes after Packet length minus 1)</xtce:LongDescription>
|
|
103
|
-
</xtce:Parameter>
|
|
104
|
-
<xtce:Parameter name="CCSDS_MET" parameterTypeRef="UINT32" shortDescription="Mission elapsed time">
|
|
105
|
-
<xtce:LongDescription>Mission elapsed time</xtce:LongDescription>
|
|
106
|
-
</xtce:Parameter>
|
|
107
|
-
<!-- SCI_DE packet Start -->
|
|
108
|
-
<xtce:Parameter name="SPARE" parameterTypeRef="UINT32" shortDescription="Spare">
|
|
109
|
-
<xtce:LongDescription>
|
|
110
|
-
Spare Field
|
|
111
|
-
4-bits allocated for META_DE
|
|
112
|
-
</xtce:LongDescription>
|
|
113
|
-
</xtce:Parameter>
|
|
114
|
-
<xtce:Parameter name="DE_TOF" parameterTypeRef="DE_TOF_BITS" shortDescription="Direct Event TOF Data">
|
|
115
|
-
<xtce:LongDescription>
|
|
116
|
-
Direct Event TOF Data (665 x 48 bit array)
|
|
117
|
-
de_tag - 16 bits
|
|
118
|
-
start_bitmask_data - 2 bits (tA=1, tB=2, tC1=3, META=4)
|
|
119
|
-
tof_1 - 10 bit counter
|
|
120
|
-
tof_2 - 10 bit counter
|
|
121
|
-
tof_3 - 10 bit counter
|
|
122
|
-
</xtce:LongDescription>
|
|
123
|
-
</xtce:Parameter>
|
|
124
|
-
<!-- SCI_DE end -->
|
|
125
|
-
<!-- SCI_CNT start -->
|
|
126
|
-
<xtce:Parameter name="ESA_STEP" parameterTypeRef="UINT16">
|
|
127
|
-
<xtce:ShortDescription>ESA Step Number</xtce:ShortDescription>
|
|
128
|
-
<xtce:LongDescription>ESA Step Number</xtce:LongDescription>
|
|
129
|
-
</xtce:Parameter>
|
|
130
|
-
<xtce:Parameter name="COUNTERS" parameterTypeRef="BYTE25920" shortDescription="An array of 90 counters, each counter being 12-bits: 8 12-bit qualified counters (AB, C1C2, AC1, BC1, ABC1, AC1C2, BC1C2, ABC1C2); 11 12-bit long counters (A, B, C, AB, C1C2, AC1, BC1, ABC1, AC1C2, BC1C2, ABC1C2); 5 12-bit counters (totalA, totalB, totalC, FEE_DE_SENT, FEE_DE_RECD)">
|
|
131
|
-
<xtce:LongDescription>
|
|
132
|
-
An array of 90 counters, each counter being 12-bits:
|
|
133
|
-
8 12-bit qualified counters (AB, C1C2, AC1, BC1, ABC1, AC1C2, BC1C2, ABC1C2);
|
|
134
|
-
11 12-bit long counters (A, B, C, AB, C1C2, AC1, BC1, ABC1, AC1C2, BC1C2, ABC1C2);
|
|
135
|
-
5 12-bit counters (totalA, totalB, totalC, FEE_DE_SENT, FEE_DE_RECD)
|
|
136
|
-
</xtce:LongDescription>
|
|
137
|
-
</xtce:Parameter>
|
|
138
|
-
<!-- SCI_CNT end -->
|
|
139
|
-
<!-- H45_APP_NHK start -->
|
|
140
|
-
<xtce:Parameter name="HV1_BULK1_MON" parameterTypeRef="INT12" shortDescription="HVPS V1 Voltage Monitor">
|
|
141
|
-
<xtce:LongDescription>HVPS V1 Voltage Monitor</xtce:LongDescription>
|
|
142
|
-
</xtce:Parameter>
|
|
143
|
-
<xtce:Parameter name="INNER_ESA_HI" parameterTypeRef="INT12" shortDescription="INNER ESA Hi Mode Voltage">
|
|
144
|
-
<xtce:LongDescription>INNER ESA Hi Mode Voltage</xtce:LongDescription>
|
|
145
|
-
</xtce:Parameter>
|
|
146
|
-
<xtce:Parameter name="INNER_ESA_LO" parameterTypeRef="INT12" shortDescription="Inner ESA Lo Mode Voltage Monitor">
|
|
147
|
-
<xtce:LongDescription>Inner ESA Lo Mode Voltage Monitor</xtce:LongDescription>
|
|
148
|
-
</xtce:Parameter>
|
|
149
|
-
<xtce:Parameter name="INNER_ESA_STATE" parameterTypeRef="UINT1" shortDescription="Status if Inner ESA is in HI or LO Mode">
|
|
150
|
-
<xtce:LongDescription>Status if Inner ESA is in HI or LO Mode</xtce:LongDescription>
|
|
151
|
-
</xtce:Parameter>
|
|
152
|
-
<xtce:Parameter name="CEM_BK_A" parameterTypeRef="INT12" shortDescription="CEM Back A Voltage Monitor">
|
|
153
|
-
<xtce:LongDescription>CEM Back A Voltage Monitor</xtce:LongDescription>
|
|
154
|
-
</xtce:Parameter>
|
|
155
|
-
<xtce:Parameter name="HV2_12V_RTN_MON" parameterTypeRef="INT12" shortDescription="HVPS V5 Voltage Monitor">
|
|
156
|
-
<xtce:LongDescription>HVPS V5 Voltage Monitor</xtce:LongDescription>
|
|
157
|
-
</xtce:Parameter>
|
|
158
|
-
<xtce:Parameter name="HV2_BULK2_MON" parameterTypeRef="INT12" shortDescription="HVPS V6 Voltage Monitor">
|
|
159
|
-
<xtce:LongDescription>HVPS V6 Voltage Monitor</xtce:LongDescription>
|
|
160
|
-
</xtce:Parameter>
|
|
161
|
-
<xtce:Parameter name="OUTER_ESA" parameterTypeRef="INT12" shortDescription="HVPS V7 Voltage Monitor">
|
|
162
|
-
<xtce:LongDescription>HVPS V7 Voltage Monitor</xtce:LongDescription>
|
|
163
|
-
</xtce:Parameter>
|
|
164
|
-
<xtce:Parameter name="MCP_B" parameterTypeRef="INT12" shortDescription="Outer ESA Voltage Monitor (VMON8)">
|
|
165
|
-
<xtce:LongDescription>Outer ESA Voltage Monitor (VMON8)</xtce:LongDescription>
|
|
166
|
-
</xtce:Parameter>
|
|
167
|
-
<xtce:Parameter name="MCP_F" parameterTypeRef="INT12" shortDescription="MCP B Voltage Monitor (VMON9)">
|
|
168
|
-
<xtce:LongDescription>MCP B Voltage Monitor (VMON9)</xtce:LongDescription>
|
|
169
|
-
</xtce:Parameter>
|
|
170
|
-
<xtce:Parameter name="TOF" parameterTypeRef="INT12" shortDescription="MCP F Voltage Monitor (VMON10)">
|
|
171
|
-
<xtce:LongDescription>MCP F Voltage Monitor (VMON10)</xtce:LongDescription>
|
|
172
|
-
</xtce:Parameter>
|
|
173
|
-
<xtce:Parameter name="CEM_BK_B" parameterTypeRef="INT12" shortDescription="CEM Back B Voltage Monitor (VMON11)">
|
|
174
|
-
<xtce:LongDescription>CEM Back B Voltage Monitor (VMON11)</xtce:LongDescription>
|
|
175
|
-
</xtce:Parameter>
|
|
176
|
-
<xtce:Parameter name="POS_DEFL" parameterTypeRef="INT12" shortDescription="Positive Deflector Voltage Monitor (VMON12)">
|
|
177
|
-
<xtce:LongDescription>Positive Deflector Voltage Monitor (VMON12)</xtce:LongDescription>
|
|
178
|
-
</xtce:Parameter>
|
|
179
|
-
<xtce:Parameter name="NEG_DEFL" parameterTypeRef="INT12" shortDescription="Negative Deflector Voltage Monitor (VMON13)">
|
|
180
|
-
<xtce:LongDescription>Negative Deflector Voltage Monitor (VMON13)</xtce:LongDescription>
|
|
181
|
-
</xtce:Parameter>
|
|
182
|
-
<xtce:Parameter name="CEM_F" parameterTypeRef="INT12" shortDescription="CEM Front Voltage Monitor (VMON14)">
|
|
183
|
-
<xtce:LongDescription>CEM Front Voltage Monitor (VMON14)</xtce:LongDescription>
|
|
184
|
-
</xtce:Parameter>
|
|
185
|
-
<xtce:Parameter name="HV2_TEMP_IN" parameterTypeRef="INT12" shortDescription="HVPS V15 Voltage Monitor">
|
|
186
|
-
<xtce:LongDescription>HVPS V15 Voltage Monitor</xtce:LongDescription>
|
|
187
|
-
</xtce:Parameter>
|
|
188
|
-
<xtce:Parameter name="HV2_TEMP_REF" parameterTypeRef="INT12" shortDescription="HVPS V16 Voltage Monitor">
|
|
189
|
-
<xtce:LongDescription>HVPS V16 Voltage Monitor</xtce:LongDescription>
|
|
190
|
-
</xtce:Parameter>
|
|
191
|
-
<xtce:Parameter name="HVPS_IMON1" parameterTypeRef="INT12" shortDescription="HVPS I1 Current Monitor">
|
|
192
|
-
<xtce:LongDescription>HVPS I1 Current Monitor</xtce:LongDescription>
|
|
193
|
-
</xtce:Parameter>
|
|
194
|
-
<xtce:Parameter name="HVPS_IMON2" parameterTypeRef="INT12" shortDescription="HVPS I2 Current Monitor">
|
|
195
|
-
<xtce:LongDescription>HVPS I2 Current Monitor</xtce:LongDescription>
|
|
196
|
-
</xtce:Parameter>
|
|
197
|
-
<xtce:Parameter name="HVPS_IMON3" parameterTypeRef="INT12" shortDescription="HVPS I3 Current Monitor">
|
|
198
|
-
<xtce:LongDescription>HVPS I3 Current Monitor</xtce:LongDescription>
|
|
199
|
-
</xtce:Parameter>
|
|
200
|
-
<xtce:Parameter name="CDH_TEMP_MON1" parameterTypeRef="INT12" shortDescription="CDH Temperature 1 Monitor">
|
|
201
|
-
<xtce:LongDescription>CDH Temperature 1 Monitor</xtce:LongDescription>
|
|
202
|
-
</xtce:Parameter>
|
|
203
|
-
<xtce:Parameter name="CDH_TEMP_MON2" parameterTypeRef="INT12" shortDescription="CDH Temperature 2 Monitor">
|
|
204
|
-
<xtce:LongDescription>CDH Temperature 2 Monitor</xtce:LongDescription>
|
|
205
|
-
</xtce:Parameter>
|
|
206
|
-
<xtce:Parameter name="CDH_TEMP_MON3" parameterTypeRef="INT12" shortDescription="CDH Temperature 3 Monitor">
|
|
207
|
-
<xtce:LongDescription>CDH Temperature 3 Monitor</xtce:LongDescription>
|
|
208
|
-
</xtce:Parameter>
|
|
209
|
-
<xtce:Parameter name="CDH_TEMP_MON4" parameterTypeRef="INT12" shortDescription="CDH Temperature 4 Monitor">
|
|
210
|
-
<xtce:LongDescription>CDH Temperature 4 Monitor</xtce:LongDescription>
|
|
211
|
-
</xtce:Parameter>
|
|
212
|
-
<xtce:Parameter name="LO_TEMP_MON" parameterTypeRef="INT12" shortDescription="LO Temperature Monitor">
|
|
213
|
-
<xtce:LongDescription>LO Temperature Monitor</xtce:LongDescription>
|
|
214
|
-
</xtce:Parameter>
|
|
215
|
-
<xtce:Parameter name="HVPS_TEMP_MON" parameterTypeRef="INT12" shortDescription="HVPS Temperature Monitor">
|
|
216
|
-
<xtce:LongDescription>HVPS Temperature Monitor</xtce:LongDescription>
|
|
217
|
-
</xtce:Parameter>
|
|
218
|
-
<xtce:Parameter name="LVPS_TEMP1" parameterTypeRef="INT12" shortDescription="LVPS Temperature 1 Monitor">
|
|
219
|
-
<xtce:LongDescription>LVPS Temperature 1 Monitor</xtce:LongDescription>
|
|
220
|
-
</xtce:Parameter>
|
|
221
|
-
<xtce:Parameter name="LVPS_TEMP2" parameterTypeRef="INT12" shortDescription="LVPS Temperature 2 Monitor">
|
|
222
|
-
<xtce:LongDescription>LVPS Temperature 2 Monitor</xtce:LongDescription>
|
|
223
|
-
</xtce:Parameter>
|
|
224
|
-
<xtce:Parameter name="LVPS_TEMP3" parameterTypeRef="INT12" shortDescription="LVPS Temperature 3 Monitor">
|
|
225
|
-
<xtce:LongDescription>LVPS Temperature 3 Monitor</xtce:LongDescription>
|
|
226
|
-
</xtce:Parameter>
|
|
227
|
-
<xtce:Parameter name="FEE_TEMP1" parameterTypeRef="INT12" shortDescription="FEE Temp Sensor 1">
|
|
228
|
-
<xtce:LongDescription>FEE Temp Sensor 1</xtce:LongDescription>
|
|
229
|
-
</xtce:Parameter>
|
|
230
|
-
<xtce:Parameter name="SNS_TEMP2" parameterTypeRef="INT12" shortDescription="FEE Temp Sensor 2">
|
|
231
|
-
<xtce:LongDescription>FEE Temp Sensor 2</xtce:LongDescription>
|
|
232
|
-
</xtce:Parameter>
|
|
233
|
-
<xtce:Parameter name="SNS_TEMP3" parameterTypeRef="INT12" shortDescription="FEE Temp Sensor 3">
|
|
234
|
-
<xtce:LongDescription>FEE Temp Sensor 3</xtce:LongDescription>
|
|
235
|
-
</xtce:Parameter>
|
|
236
|
-
<xtce:Parameter name="LVPS_3_3V_VMON" parameterTypeRef="INT12" shortDescription="LVPS V1 Voltage Monitor">
|
|
237
|
-
<xtce:LongDescription>LVPS V1 Voltage Monitor</xtce:LongDescription>
|
|
238
|
-
</xtce:Parameter>
|
|
239
|
-
<xtce:Parameter name="LVPS_5V_P_VMON" parameterTypeRef="INT12" shortDescription="LVPS V2 Voltage Monitor">
|
|
240
|
-
<xtce:LongDescription>LVPS V2 Voltage Monitor</xtce:LongDescription>
|
|
241
|
-
</xtce:Parameter>
|
|
242
|
-
<xtce:Parameter name="LVPS_5V_N_VMON" parameterTypeRef="INT12" shortDescription="LVPS V3 Voltage Monitor">
|
|
243
|
-
<xtce:LongDescription>LVPS V3 Voltage Monitor</xtce:LongDescription>
|
|
244
|
-
</xtce:Parameter>
|
|
245
|
-
<xtce:Parameter name="LVPS_12V_P_VMON" parameterTypeRef="INT12" shortDescription="LVPS V4 Votage Monitor">
|
|
246
|
-
<xtce:LongDescription>LVPS V4 Votage Monitor</xtce:LongDescription>
|
|
247
|
-
</xtce:Parameter>
|
|
248
|
-
<xtce:Parameter name="LVPS_12V_N_VMON" parameterTypeRef="INT12" shortDescription="LVPS V5 Voltage Monitor">
|
|
249
|
-
<xtce:LongDescription>LVPS V5 Voltage Monitor</xtce:LongDescription>
|
|
250
|
-
</xtce:Parameter>
|
|
251
|
-
<xtce:Parameter name="LVPS_3_3V_IMON" parameterTypeRef="INT12" shortDescription="LVPS I1 Current Monitor">
|
|
252
|
-
<xtce:LongDescription>LVPS I1 Current Monitor</xtce:LongDescription>
|
|
253
|
-
</xtce:Parameter>
|
|
254
|
-
<xtce:Parameter name="LVPS_5V_P_IMON" parameterTypeRef="INT12" shortDescription="LVPS I2 Current Monitor">
|
|
255
|
-
<xtce:LongDescription>LVPS I2 Current Monitor</xtce:LongDescription>
|
|
256
|
-
</xtce:Parameter>
|
|
257
|
-
<xtce:Parameter name="LVPS_5V_N_IMON" parameterTypeRef="INT12" shortDescription="LVPS I3 Current Monitor">
|
|
258
|
-
<xtce:LongDescription>LVPS I3 Current Monitor</xtce:LongDescription>
|
|
259
|
-
</xtce:Parameter>
|
|
260
|
-
<xtce:Parameter name="LVPS_12V_P_IMON" parameterTypeRef="INT12" shortDescription="LVPS I4 Current Monitor">
|
|
261
|
-
<xtce:LongDescription>LVPS I4 Current Monitor</xtce:LongDescription>
|
|
262
|
-
</xtce:Parameter>
|
|
263
|
-
<xtce:Parameter name="LVPS_12V_N_IMON" parameterTypeRef="INT12" shortDescription="LVPS I5 Current Monitor">
|
|
264
|
-
<xtce:LongDescription>LVPS I5 Current Monitor</xtce:LongDescription>
|
|
265
|
-
</xtce:Parameter>
|
|
266
|
-
<xtce:Parameter name="CDH_P1_5V" parameterTypeRef="INT12" shortDescription="CDH +1.5V Monitor">
|
|
267
|
-
<xtce:LongDescription>CDH +1.5V Monitor</xtce:LongDescription>
|
|
268
|
-
</xtce:Parameter>
|
|
269
|
-
<xtce:Parameter name="CDH_P1_8V" parameterTypeRef="INT12" shortDescription="CDH +1.8V Monitor">
|
|
270
|
-
<xtce:LongDescription>CDH +1.8V Monitor</xtce:LongDescription>
|
|
271
|
-
</xtce:Parameter>
|
|
272
|
-
<xtce:Parameter name="CDH_P3_3V" parameterTypeRef="INT12" shortDescription="CDH +3.3V Monitor">
|
|
273
|
-
<xtce:LongDescription>CDH +3.3V Monitor</xtce:LongDescription>
|
|
274
|
-
</xtce:Parameter>
|
|
275
|
-
<xtce:Parameter name="CDH_P12V" parameterTypeRef="INT12" shortDescription="CDH +12V Monitor">
|
|
276
|
-
<xtce:LongDescription>CDH +12V Monitor</xtce:LongDescription>
|
|
277
|
-
</xtce:Parameter>
|
|
278
|
-
<xtce:Parameter name="CDH_N12V" parameterTypeRef="INT12" shortDescription="CDH -12V Monitor">
|
|
279
|
-
<xtce:LongDescription>CDH -12V Monitor</xtce:LongDescription>
|
|
280
|
-
</xtce:Parameter>
|
|
281
|
-
<xtce:Parameter name="CDH_P5V" parameterTypeRef="INT12" shortDescription="CDH +5V Monitor">
|
|
282
|
-
<xtce:LongDescription>CDH +5V Monitor</xtce:LongDescription>
|
|
283
|
-
</xtce:Parameter>
|
|
284
|
-
<xtce:Parameter name="CDH_ANA_REF" parameterTypeRef="INT12" shortDescription="Analog Reference Monitor">
|
|
285
|
-
<xtce:LongDescription>Analog Reference Monitor</xtce:LongDescription>
|
|
286
|
-
</xtce:Parameter>
|
|
287
|
-
<xtce:Parameter name="HV_LIMITED" parameterTypeRef="UINT1" shortDescription="High Voltage Limited">
|
|
288
|
-
<xtce:LongDescription>High Voltage Limited (0=Full HV, 1=Limited - Airsafe)</xtce:LongDescription>
|
|
289
|
-
</xtce:Parameter>
|
|
290
|
-
<xtce:Parameter name="HV_DISABLED" parameterTypeRef="UINT1" shortDescription="High Voltage Disabled">
|
|
291
|
-
<xtce:LongDescription>High Voltage Disabled (0=HV Not disabled, 1=disabled)</xtce:LongDescription>
|
|
292
|
-
</xtce:Parameter>
|
|
293
|
-
<xtce:Parameter name="CMD_ACC_CNT" parameterTypeRef="UINT8" shortDescription="Command Accepted Count">
|
|
294
|
-
<xtce:LongDescription>Command Accepted Count</xtce:LongDescription>
|
|
295
|
-
</xtce:Parameter>
|
|
296
|
-
<xtce:Parameter name="CMD_REJ_CNT" parameterTypeRef="UINT8" shortDescription="Command Rejected Count">
|
|
297
|
-
<xtce:LongDescription>Command Rejected Count</xtce:LongDescription>
|
|
298
|
-
</xtce:Parameter>
|
|
299
|
-
<xtce:Parameter name="PROC_IDLE" parameterTypeRef="UINT8" shortDescription="Processor Idle">
|
|
300
|
-
<xtce:LongDescription>Percent of time spent idling (0-100)</xtce:LongDescription>
|
|
301
|
-
</xtce:Parameter>
|
|
302
|
-
<xtce:Parameter name="OP_MODE" parameterTypeRef="UINT4" shortDescription="Operating Mode">
|
|
303
|
-
<xtce:LongDescription>Operating Mode (0=Off, 1=Boot, 2=Boot Maintenance, 3=Safe, 4=LV Engineering)</xtce:LongDescription>
|
|
304
|
-
</xtce:Parameter>
|
|
305
|
-
<xtce:Parameter name="MEM_TEST_IN_PROG" parameterTypeRef="UINT1" shortDescription="Memory Test In-Progress">
|
|
306
|
-
<xtce:LongDescription>Memory Test In-Progress (0=Complete, 1=Testing)</xtce:LongDescription>
|
|
307
|
-
</xtce:Parameter>
|
|
308
|
-
<xtce:Parameter name="WDOG_CPU_EN" parameterTypeRef="UINT1" shortDescription="Watchdog Enabled CPU">
|
|
309
|
-
<xtce:LongDescription>Indicates if the CPU watchdog can cause a reset (0=Disabled, 1=Enabled)</xtce:LongDescription>
|
|
310
|
-
</xtce:Parameter>
|
|
311
|
-
<xtce:Parameter name="WDOG_CDH_EN" parameterTypeRef="UINT1" shortDescription="Watchdog Enabled C&DH">
|
|
312
|
-
<xtce:LongDescription>Indicates if the C&DH watchdog can cause a reset (0=Disabled, 1=Enabled)</xtce:LongDescription>
|
|
313
|
-
</xtce:Parameter>
|
|
314
|
-
<xtce:Parameter name="WDOG_CPU_STAT" parameterTypeRef="UINT1" shortDescription="Watchdog Status CPU">
|
|
315
|
-
<xtce:LongDescription>Status on whether the CPU watchdog timed out (and caused a reset) (0=Nominal, 1=Watchdog Timeout)</xtce:LongDescription>
|
|
316
|
-
</xtce:Parameter>
|
|
317
|
-
<xtce:Parameter name="WDOG_CDH_STAT" parameterTypeRef="UINT1" shortDescription="Watchdog Status C&DH">
|
|
318
|
-
<xtce:LongDescription>Status on whether the C&DH watchdog timed out (and caused a reset) (0=Nominal, 1=Watchdog Timeout)</xtce:LongDescription>
|
|
319
|
-
</xtce:Parameter>
|
|
320
|
-
<xtce:Parameter name="ITF_MSG_CNT" parameterTypeRef="UINT8" shortDescription="Incoming ITF message count">
|
|
321
|
-
<xtce:LongDescription>Incoming ITF message count</xtce:LongDescription>
|
|
322
|
-
</xtce:Parameter>
|
|
323
|
-
<xtce:Parameter name="LAST_OPCODE" parameterTypeRef="UINT16" shortDescription="Last opcode">
|
|
324
|
-
<xtce:LongDescription>Last opcode</xtce:LongDescription>
|
|
325
|
-
</xtce:Parameter>
|
|
326
|
-
<xtce:Parameter name="MEM_LD_STATE" parameterTypeRef="UINT4" shortDescription="Memory load state">
|
|
327
|
-
<xtce:LongDescription>Memory load state</xtce:LongDescription>
|
|
328
|
-
</xtce:Parameter>
|
|
329
|
-
<xtce:Parameter name="MEM_DMP_STATE" parameterTypeRef="UINT4" shortDescription="memory dump state">
|
|
330
|
-
<xtce:LongDescription>memory dump state</xtce:LongDescription>
|
|
331
|
-
</xtce:Parameter>
|
|
332
|
-
<xtce:Parameter name="THRUSTER_ARM_STATE" parameterTypeRef="UINT4" shortDescription="BOOT_HK.THRUSTER_ARM_ST">
|
|
333
|
-
<xtce:LongDescription>BOOT_HK.THRUSTER_ARM_ST</xtce:LongDescription>
|
|
334
|
-
</xtce:Parameter>
|
|
335
|
-
<xtce:Parameter name="BOOT_HK_INT" parameterTypeRef="UINT8" shortDescription="BOOT_HK reporting interval">
|
|
336
|
-
<xtce:LongDescription>BOOT_HK reporting interval</xtce:LongDescription>
|
|
337
|
-
</xtce:Parameter>
|
|
338
|
-
<xtce:Parameter name="BOOT_PUP_INT" parameterTypeRef="UINT8" shortDescription="BOOT_PUP reporting interval">
|
|
339
|
-
<xtce:LongDescription>BOOT_PUP reporting interval</xtce:LongDescription>
|
|
340
|
-
</xtce:Parameter>
|
|
341
|
-
<xtce:Parameter name="BOOT_MEMTST_INT" parameterTypeRef="UINT8" shortDescription="BOOT_MEMTEST reporting interval">
|
|
342
|
-
<xtce:LongDescription>BOOT_MEMTEST reporting interval</xtce:LongDescription>
|
|
343
|
-
</xtce:Parameter>
|
|
344
|
-
<xtce:Parameter name="TM_MARKER" parameterTypeRef="UINT32" shortDescription="Event marker">
|
|
345
|
-
<xtce:LongDescription>Event marker</xtce:LongDescription>
|
|
346
|
-
</xtce:Parameter>
|
|
347
|
-
<xtce:Parameter name="INSTR_SPECIFIC" parameterTypeRef="BYTE32" shortDescription="Instrument-specific area">
|
|
348
|
-
<xtce:LongDescription>Instrument-specific area</xtce:LongDescription>
|
|
349
|
-
</xtce:Parameter>
|
|
350
|
-
<xtce:Parameter name="SPARE0" parameterTypeRef="UINT32" shortDescription="Spare for allignment">
|
|
351
|
-
<xtce:LongDescription>Spare for allignment</xtce:LongDescription>
|
|
352
|
-
</xtce:Parameter>
|
|
353
|
-
<!-- H45_APP_NHK end -->
|
|
354
|
-
<xtce:Parameter name="CKSUM" parameterTypeRef="UINT16" shortDescription="Packet Checksum">
|
|
355
|
-
<xtce:LongDescription>Packet Checksum</xtce:LongDescription>
|
|
356
|
-
</xtce:Parameter>
|
|
357
|
-
</xtce:ParameterSet>
|
|
358
|
-
<xtce:ContainerSet>
|
|
359
|
-
<!-- Setting abstract='true' makes sure that it parses using apid in this XTCE definition.
|
|
360
|
-
Otherwise, every apid in the packet will be parsed (defined in xtce or not) -->
|
|
361
|
-
<xtce:SequenceContainer name="CCSDSPacket" abstract="true">
|
|
362
|
-
<xtce:EntryList>
|
|
363
|
-
<xtce:ParameterRefEntry parameterRef="VERSION" />
|
|
364
|
-
<xtce:ParameterRefEntry parameterRef="TYPE" />
|
|
365
|
-
<xtce:ParameterRefEntry parameterRef="SEC_HDR_FLG" />
|
|
366
|
-
<xtce:ParameterRefEntry parameterRef="PKT_APID" />
|
|
367
|
-
<xtce:ParameterRefEntry parameterRef="SEQ_FLGS" />
|
|
368
|
-
<xtce:ParameterRefEntry parameterRef="SRC_SEQ_CTR" />
|
|
369
|
-
<xtce:ParameterRefEntry parameterRef="PKT_LEN" />
|
|
370
|
-
</xtce:EntryList>
|
|
371
|
-
</xtce:SequenceContainer>
|
|
372
|
-
<xtce:SequenceContainer name="H45_SCI_DE">
|
|
373
|
-
<xtce:BaseContainer containerRef="CCSDSPacket">
|
|
374
|
-
<xtce:RestrictionCriteria>
|
|
375
|
-
<xtce:Comparison parameterRef="PKT_APID" value="770" useCalibratedValue="false" />
|
|
376
|
-
</xtce:RestrictionCriteria>
|
|
377
|
-
</xtce:BaseContainer>
|
|
378
|
-
<xtce:EntryList>
|
|
379
|
-
<xtce:ParameterRefEntry parameterRef="CCSDS_MET" />
|
|
380
|
-
<xtce:ParameterRefEntry parameterRef="SPARE" />
|
|
381
|
-
<xtce:ParameterRefEntry parameterRef="DE_TOF" />
|
|
382
|
-
<xtce:ParameterRefEntry parameterRef="CKSUM" />
|
|
383
|
-
</xtce:EntryList>
|
|
384
|
-
</xtce:SequenceContainer>
|
|
385
|
-
<xtce:SequenceContainer name="H45_SCI_CNT">
|
|
386
|
-
<xtce:BaseContainer containerRef="CCSDSPacket">
|
|
387
|
-
<xtce:RestrictionCriteria>
|
|
388
|
-
<xtce:Comparison parameterRef="PKT_APID" value="769" useCalibratedValue="false" />
|
|
389
|
-
</xtce:RestrictionCriteria>
|
|
390
|
-
</xtce:BaseContainer>
|
|
391
|
-
<xtce:EntryList>
|
|
392
|
-
<xtce:ParameterRefEntry parameterRef="CCSDS_MET" />
|
|
393
|
-
<xtce:ParameterRefEntry parameterRef="ESA_STEP" />
|
|
394
|
-
<xtce:ParameterRefEntry parameterRef="COUNTERS" />
|
|
395
|
-
<xtce:ParameterRefEntry parameterRef="CKSUM" />
|
|
396
|
-
</xtce:EntryList>
|
|
397
|
-
</xtce:SequenceContainer>
|
|
398
|
-
<xtce:SequenceContainer name="H45_APP_NHK">
|
|
399
|
-
<xtce:BaseContainer containerRef="CCSDSPacket">
|
|
400
|
-
<xtce:RestrictionCriteria>
|
|
401
|
-
<xtce:Comparison parameterRef="PKT_APID" value="754" useCalibratedValue="false" />
|
|
402
|
-
</xtce:RestrictionCriteria>
|
|
403
|
-
</xtce:BaseContainer>
|
|
404
|
-
<xtce:EntryList>
|
|
405
|
-
<xtce:ParameterRefEntry parameterRef="CCSDS_MET" />
|
|
406
|
-
<xtce:ParameterRefEntry parameterRef="HV1_BULK1_MON" />
|
|
407
|
-
<xtce:ParameterRefEntry parameterRef="INNER_ESA_HI" />
|
|
408
|
-
<xtce:ParameterRefEntry parameterRef="INNER_ESA_LO" />
|
|
409
|
-
<xtce:ParameterRefEntry parameterRef="INNER_ESA_STATE" />
|
|
410
|
-
<xtce:ParameterRefEntry parameterRef="CEM_BK_A" />
|
|
411
|
-
<xtce:ParameterRefEntry parameterRef="HV2_12V_RTN_MON" />
|
|
412
|
-
<xtce:ParameterRefEntry parameterRef="HV2_BULK2_MON" />
|
|
413
|
-
<xtce:ParameterRefEntry parameterRef="OUTER_ESA" />
|
|
414
|
-
<xtce:ParameterRefEntry parameterRef="MCP_B" />
|
|
415
|
-
<xtce:ParameterRefEntry parameterRef="MCP_F" />
|
|
416
|
-
<xtce:ParameterRefEntry parameterRef="TOF" />
|
|
417
|
-
<xtce:ParameterRefEntry parameterRef="CEM_BK_B" />
|
|
418
|
-
<xtce:ParameterRefEntry parameterRef="POS_DEFL" />
|
|
419
|
-
<xtce:ParameterRefEntry parameterRef="NEG_DEFL" />
|
|
420
|
-
<xtce:ParameterRefEntry parameterRef="CEM_F" />
|
|
421
|
-
<xtce:ParameterRefEntry parameterRef="HV2_TEMP_IN" />
|
|
422
|
-
<xtce:ParameterRefEntry parameterRef="HV2_TEMP_REF" />
|
|
423
|
-
<xtce:ParameterRefEntry parameterRef="HVPS_IMON1" />
|
|
424
|
-
<xtce:ParameterRefEntry parameterRef="HVPS_IMON2" />
|
|
425
|
-
<xtce:ParameterRefEntry parameterRef="HVPS_IMON3" />
|
|
426
|
-
<xtce:ParameterRefEntry parameterRef="CDH_TEMP_MON1" />
|
|
427
|
-
<xtce:ParameterRefEntry parameterRef="CDH_TEMP_MON2" />
|
|
428
|
-
<xtce:ParameterRefEntry parameterRef="CDH_TEMP_MON3" />
|
|
429
|
-
<xtce:ParameterRefEntry parameterRef="CDH_TEMP_MON4" />
|
|
430
|
-
<xtce:ParameterRefEntry parameterRef="LO_TEMP_MON" />
|
|
431
|
-
<xtce:ParameterRefEntry parameterRef="HVPS_TEMP_MON" />
|
|
432
|
-
<xtce:ParameterRefEntry parameterRef="LVPS_TEMP1" />
|
|
433
|
-
<xtce:ParameterRefEntry parameterRef="LVPS_TEMP2" />
|
|
434
|
-
<xtce:ParameterRefEntry parameterRef="LVPS_TEMP3" />
|
|
435
|
-
<xtce:ParameterRefEntry parameterRef="FEE_TEMP1" />
|
|
436
|
-
<xtce:ParameterRefEntry parameterRef="SNS_TEMP2" />
|
|
437
|
-
<xtce:ParameterRefEntry parameterRef="SNS_TEMP3" />
|
|
438
|
-
<xtce:ParameterRefEntry parameterRef="LVPS_3_3V_VMON" />
|
|
439
|
-
<xtce:ParameterRefEntry parameterRef="LVPS_5V_P_VMON" />
|
|
440
|
-
<xtce:ParameterRefEntry parameterRef="LVPS_5V_N_VMON" />
|
|
441
|
-
<xtce:ParameterRefEntry parameterRef="LVPS_12V_P_VMON" />
|
|
442
|
-
<xtce:ParameterRefEntry parameterRef="LVPS_12V_N_VMON" />
|
|
443
|
-
<xtce:ParameterRefEntry parameterRef="LVPS_3_3V_IMON" />
|
|
444
|
-
<xtce:ParameterRefEntry parameterRef="LVPS_5V_P_IMON" />
|
|
445
|
-
<xtce:ParameterRefEntry parameterRef="LVPS_5V_N_IMON" />
|
|
446
|
-
<xtce:ParameterRefEntry parameterRef="LVPS_12V_P_IMON" />
|
|
447
|
-
<xtce:ParameterRefEntry parameterRef="LVPS_12V_N_IMON" />
|
|
448
|
-
<xtce:ParameterRefEntry parameterRef="CDH_P1_5V" />
|
|
449
|
-
<xtce:ParameterRefEntry parameterRef="CDH_P1_8V" />
|
|
450
|
-
<xtce:ParameterRefEntry parameterRef="CDH_P3_3V" />
|
|
451
|
-
<xtce:ParameterRefEntry parameterRef="CDH_P12V" />
|
|
452
|
-
<xtce:ParameterRefEntry parameterRef="CDH_N12V" />
|
|
453
|
-
<xtce:ParameterRefEntry parameterRef="CDH_P5V" />
|
|
454
|
-
<xtce:ParameterRefEntry parameterRef="CDH_ANA_REF" />
|
|
455
|
-
<xtce:ParameterRefEntry parameterRef="HV_LIMITED" />
|
|
456
|
-
<xtce:ParameterRefEntry parameterRef="HV_DISABLED" />
|
|
457
|
-
<xtce:ParameterRefEntry parameterRef="CMD_ACC_CNT" />
|
|
458
|
-
<xtce:ParameterRefEntry parameterRef="CMD_REJ_CNT" />
|
|
459
|
-
<xtce:ParameterRefEntry parameterRef="PROC_IDLE" />
|
|
460
|
-
<xtce:ParameterRefEntry parameterRef="OP_MODE" />
|
|
461
|
-
<xtce:ParameterRefEntry parameterRef="MEM_TEST_IN_PROG" />
|
|
462
|
-
<xtce:ParameterRefEntry parameterRef="WDOG_CPU_EN" />
|
|
463
|
-
<xtce:ParameterRefEntry parameterRef="WDOG_CDH_EN" />
|
|
464
|
-
<xtce:ParameterRefEntry parameterRef="WDOG_CPU_STAT" />
|
|
465
|
-
<xtce:ParameterRefEntry parameterRef="WDOG_CDH_STAT" />
|
|
466
|
-
<xtce:ParameterRefEntry parameterRef="ITF_MSG_CNT" />
|
|
467
|
-
<xtce:ParameterRefEntry parameterRef="LAST_OPCODE" />
|
|
468
|
-
<xtce:ParameterRefEntry parameterRef="MEM_LD_STATE" />
|
|
469
|
-
<xtce:ParameterRefEntry parameterRef="MEM_DMP_STATE" />
|
|
470
|
-
<xtce:ParameterRefEntry parameterRef="THRUSTER_ARM_STATE" />
|
|
471
|
-
<xtce:ParameterRefEntry parameterRef="BOOT_HK_INT" />
|
|
472
|
-
<xtce:ParameterRefEntry parameterRef="BOOT_PUP_INT" />
|
|
473
|
-
<xtce:ParameterRefEntry parameterRef="BOOT_MEMTST_INT" />
|
|
474
|
-
<xtce:ParameterRefEntry parameterRef="TM_MARKER" />
|
|
475
|
-
<xtce:ParameterRefEntry parameterRef="INSTR_SPECIFIC" />
|
|
476
|
-
<xtce:ParameterRefEntry parameterRef="SPARE0" />
|
|
477
|
-
<xtce:ParameterRefEntry parameterRef="CKSUM" />
|
|
478
|
-
</xtce:EntryList>
|
|
479
|
-
</xtce:SequenceContainer>
|
|
480
|
-
</xtce:ContainerSet>
|
|
481
|
-
</xtce:TelemetryMetaData>
|
|
482
|
-
</xtce:SpaceSystem>
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import pandas as pd
|
|
2
|
-
import pytest
|
|
3
|
-
|
|
4
|
-
from imap_processing.hi.l0.decom_hi import decom_packets
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@pytest.fixture(scope="session")
|
|
8
|
-
def decom_nhk_data(hi_l0_test_data_path):
|
|
9
|
-
"""Read test housekeeping data from test folder"""
|
|
10
|
-
packet_file = hi_l0_test_data_path / "20231030_H45_APP_NHK.bin"
|
|
11
|
-
return list(decom_packets(packet_file))
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
@pytest.fixture(scope="session")
|
|
15
|
-
def nhk_validation_data(hi_l0_test_data_path):
|
|
16
|
-
"""Read in validation data from the CSV file"""
|
|
17
|
-
raw_validation_data = pd.read_csv(
|
|
18
|
-
hi_l0_test_data_path / "20231030_H45_APP_NHK.csv",
|
|
19
|
-
index_col="CCSDS_MET",
|
|
20
|
-
)
|
|
21
|
-
return raw_validation_data
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
@pytest.fixture(scope="session")
|
|
25
|
-
def decom_sci_de_data(hi_l0_test_data_path):
|
|
26
|
-
"""Read science direct event data from test folder"""
|
|
27
|
-
packet_file = hi_l0_test_data_path / "20231030_H45_SCI_DE.bin"
|
|
28
|
-
return list(decom_packets(packet_file))
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
@pytest.fixture(scope="session")
|
|
32
|
-
def decom_sci_cnt_data(hi_l0_test_data_path):
|
|
33
|
-
"""Read science count data from test folder"""
|
|
34
|
-
packet_file = hi_l0_test_data_path / "20231030_H45_SCI_CNT.bin"
|
|
35
|
-
return list(decom_packets(packet_file))
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
def test_app_nhk_decom(decom_nhk_data):
|
|
39
|
-
"""Test housekeeping data"""
|
|
40
|
-
expected_number_of_packets = 100
|
|
41
|
-
assert len(decom_nhk_data) == expected_number_of_packets
|
|
42
|
-
# TODO: extend test more and check with validation data
|
|
43
|
-
# Validation data seems off. TODO: check with IMAP-Hi team
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
def test_sci_de_decom(decom_sci_de_data):
|
|
47
|
-
"""Test science direct event data"""
|
|
48
|
-
expected_number_of_packets = 100
|
|
49
|
-
assert len(decom_sci_de_data) == expected_number_of_packets
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
def test_sci_cnt_decom(decom_sci_cnt_data):
|
|
53
|
-
"Test science count data"
|
|
54
|
-
expected_number_of_packets = 100
|
|
55
|
-
assert len(decom_sci_cnt_data) == expected_number_of_packets
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import numpy as np
|
|
2
|
-
|
|
3
|
-
from imap_processing.hi.l1a.science_direct_event import create_dataset
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def test_create_dataset():
|
|
7
|
-
"""Test create_dataset"""
|
|
8
|
-
# dummy data to test create_dataset
|
|
9
|
-
metaevent = {
|
|
10
|
-
"start_bitmask_data": 0,
|
|
11
|
-
"esa_step": 1,
|
|
12
|
-
"subseconds": 512,
|
|
13
|
-
"seconds": 433522962,
|
|
14
|
-
}
|
|
15
|
-
directevent_1 = {
|
|
16
|
-
"start_bitmask_data": 1,
|
|
17
|
-
"tof_1": 512,
|
|
18
|
-
"tof_2": 512,
|
|
19
|
-
"tof_3": 512,
|
|
20
|
-
"de_tag": 1,
|
|
21
|
-
}
|
|
22
|
-
directevent_2 = {
|
|
23
|
-
"start_bitmask_data": 2,
|
|
24
|
-
"tof_1": 512,
|
|
25
|
-
"tof_2": 512,
|
|
26
|
-
"tof_3": 512,
|
|
27
|
-
"de_tag": 2,
|
|
28
|
-
}
|
|
29
|
-
directevent_3 = {
|
|
30
|
-
"start_bitmask_data": 3,
|
|
31
|
-
"tof_1": 512,
|
|
32
|
-
"tof_2": 512,
|
|
33
|
-
"tof_3": 512,
|
|
34
|
-
"de_tag": 3,
|
|
35
|
-
}
|
|
36
|
-
# Test for good data
|
|
37
|
-
list_with_meta_first = [metaevent, directevent_1, directevent_2, directevent_3]
|
|
38
|
-
packet_time = [123] * len(list_with_meta_first)
|
|
39
|
-
dataset = create_dataset(list_with_meta_first, packet_time)
|
|
40
|
-
assert dataset["epoch"].shape == (3,)
|
|
41
|
-
|
|
42
|
-
# Test for missing metaevent
|
|
43
|
-
list_with_no_meta = [directevent_1, directevent_2, directevent_3]
|
|
44
|
-
packet_time = [123] * len(list_with_no_meta)
|
|
45
|
-
dataset = create_dataset(list_with_no_meta, packet_time)
|
|
46
|
-
assert dataset is None
|
|
47
|
-
|
|
48
|
-
# test for first metaevent missing in the list
|
|
49
|
-
list_with_meta_middle = [
|
|
50
|
-
directevent_1,
|
|
51
|
-
directevent_2,
|
|
52
|
-
metaevent,
|
|
53
|
-
directevent_1,
|
|
54
|
-
directevent_2,
|
|
55
|
-
directevent_3,
|
|
56
|
-
]
|
|
57
|
-
packet_time = [123] * len(list_with_meta_middle)
|
|
58
|
-
dataset = create_dataset(list_with_meta_middle, packet_time)
|
|
59
|
-
assert dataset["epoch"].shape == (3,)
|
|
60
|
-
np.testing.assert_array_equal(dataset["trigger_id"].data, [1, 2, 3])
|
|
61
|
-
|
|
62
|
-
list_with_meta_last = [
|
|
63
|
-
directevent_1,
|
|
64
|
-
directevent_2,
|
|
65
|
-
directevent_3,
|
|
66
|
-
directevent_1,
|
|
67
|
-
directevent_2,
|
|
68
|
-
metaevent,
|
|
69
|
-
]
|
|
70
|
-
packet_time = [123] * len(list_with_meta_last)
|
|
71
|
-
dataset = create_dataset(list_with_meta_last, packet_time)
|
|
72
|
-
assert dataset["epoch"].shape == (0,)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|