imap-processing 0.17.0__py3-none-any.whl → 0.19.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.

Files changed (141) hide show
  1. imap_processing/_version.py +2 -2
  2. imap_processing/ancillary/ancillary_dataset_combiner.py +161 -1
  3. imap_processing/ccsds/excel_to_xtce.py +12 -0
  4. imap_processing/cdf/config/imap_codice_global_cdf_attrs.yaml +6 -6
  5. imap_processing/cdf/config/imap_codice_l1a_variable_attrs.yaml +312 -274
  6. imap_processing/cdf/config/imap_codice_l1b_variable_attrs.yaml +39 -28
  7. imap_processing/cdf/config/imap_codice_l2_variable_attrs.yaml +1048 -183
  8. imap_processing/cdf/config/imap_constant_attrs.yaml +4 -2
  9. imap_processing/cdf/config/imap_glows_l1b_variable_attrs.yaml +12 -0
  10. imap_processing/cdf/config/imap_hi_global_cdf_attrs.yaml +5 -0
  11. imap_processing/cdf/config/imap_hit_global_cdf_attrs.yaml +10 -4
  12. imap_processing/cdf/config/imap_hit_l1a_variable_attrs.yaml +163 -100
  13. imap_processing/cdf/config/imap_hit_l2_variable_attrs.yaml +4 -4
  14. imap_processing/cdf/config/imap_ialirt_l1_variable_attrs.yaml +97 -54
  15. imap_processing/cdf/config/imap_idex_l2a_variable_attrs.yaml +33 -4
  16. imap_processing/cdf/config/imap_idex_l2b_variable_attrs.yaml +44 -44
  17. imap_processing/cdf/config/imap_idex_l2c_variable_attrs.yaml +77 -61
  18. imap_processing/cdf/config/imap_lo_global_cdf_attrs.yaml +30 -0
  19. imap_processing/cdf/config/imap_lo_l1a_variable_attrs.yaml +4 -15
  20. imap_processing/cdf/config/imap_lo_l1c_variable_attrs.yaml +189 -98
  21. imap_processing/cdf/config/imap_mag_global_cdf_attrs.yaml +99 -2
  22. imap_processing/cdf/config/imap_mag_l1c_variable_attrs.yaml +24 -1
  23. imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml +60 -0
  24. imap_processing/cdf/config/imap_ultra_l1b_variable_attrs.yaml +99 -11
  25. imap_processing/cdf/config/imap_ultra_l1c_variable_attrs.yaml +50 -7
  26. imap_processing/cli.py +121 -44
  27. imap_processing/codice/codice_l1a.py +165 -77
  28. imap_processing/codice/codice_l1b.py +1 -1
  29. imap_processing/codice/codice_l2.py +118 -19
  30. imap_processing/codice/constants.py +1217 -1089
  31. imap_processing/decom.py +1 -4
  32. imap_processing/ena_maps/ena_maps.py +32 -25
  33. imap_processing/ena_maps/utils/naming.py +8 -2
  34. imap_processing/glows/ancillary/imap_glows_exclusions-by-instr-team_20250923_v002.dat +10 -0
  35. imap_processing/glows/ancillary/imap_glows_map-of-excluded-regions_20250923_v002.dat +393 -0
  36. imap_processing/glows/ancillary/imap_glows_map-of-uv-sources_20250923_v002.dat +593 -0
  37. imap_processing/glows/ancillary/imap_glows_pipeline_settings_20250923_v002.json +54 -0
  38. imap_processing/glows/ancillary/imap_glows_suspected-transients_20250923_v002.dat +10 -0
  39. imap_processing/glows/l1b/glows_l1b.py +99 -9
  40. imap_processing/glows/l1b/glows_l1b_data.py +350 -38
  41. imap_processing/glows/l2/glows_l2.py +11 -0
  42. imap_processing/hi/hi_l1a.py +124 -3
  43. imap_processing/hi/hi_l1b.py +154 -71
  44. imap_processing/hi/hi_l2.py +84 -51
  45. imap_processing/hi/utils.py +153 -8
  46. imap_processing/hit/l0/constants.py +3 -0
  47. imap_processing/hit/l0/decom_hit.py +5 -8
  48. imap_processing/hit/l1a/hit_l1a.py +375 -45
  49. imap_processing/hit/l1b/constants.py +5 -0
  50. imap_processing/hit/l1b/hit_l1b.py +61 -131
  51. imap_processing/hit/l2/constants.py +1 -1
  52. imap_processing/hit/l2/hit_l2.py +10 -11
  53. imap_processing/ialirt/calculate_ingest.py +219 -0
  54. imap_processing/ialirt/constants.py +32 -1
  55. imap_processing/ialirt/generate_coverage.py +201 -0
  56. imap_processing/ialirt/l0/ialirt_spice.py +5 -2
  57. imap_processing/ialirt/l0/parse_mag.py +337 -29
  58. imap_processing/ialirt/l0/process_hit.py +5 -3
  59. imap_processing/ialirt/l0/process_swapi.py +41 -25
  60. imap_processing/ialirt/l0/process_swe.py +23 -7
  61. imap_processing/ialirt/process_ephemeris.py +70 -14
  62. imap_processing/ialirt/utils/constants.py +22 -16
  63. imap_processing/ialirt/utils/create_xarray.py +42 -19
  64. imap_processing/idex/idex_constants.py +1 -5
  65. imap_processing/idex/idex_l0.py +2 -2
  66. imap_processing/idex/idex_l1a.py +2 -3
  67. imap_processing/idex/idex_l1b.py +2 -3
  68. imap_processing/idex/idex_l2a.py +130 -4
  69. imap_processing/idex/idex_l2b.py +313 -119
  70. imap_processing/idex/idex_utils.py +1 -3
  71. imap_processing/lo/l0/lo_apid.py +1 -0
  72. imap_processing/lo/l0/lo_science.py +25 -24
  73. imap_processing/lo/l1a/lo_l1a.py +44 -0
  74. imap_processing/lo/l1b/lo_l1b.py +3 -3
  75. imap_processing/lo/l1c/lo_l1c.py +116 -50
  76. imap_processing/lo/l2/lo_l2.py +29 -29
  77. imap_processing/lo/lo_ancillary.py +55 -0
  78. imap_processing/lo/packet_definitions/lo_xtce.xml +5359 -106
  79. imap_processing/mag/constants.py +1 -0
  80. imap_processing/mag/l1a/mag_l1a.py +1 -0
  81. imap_processing/mag/l1a/mag_l1a_data.py +26 -0
  82. imap_processing/mag/l1b/mag_l1b.py +3 -2
  83. imap_processing/mag/l1c/interpolation_methods.py +14 -15
  84. imap_processing/mag/l1c/mag_l1c.py +23 -6
  85. imap_processing/mag/l1d/__init__.py +0 -0
  86. imap_processing/mag/l1d/mag_l1d.py +176 -0
  87. imap_processing/mag/l1d/mag_l1d_data.py +725 -0
  88. imap_processing/mag/l2/__init__.py +0 -0
  89. imap_processing/mag/l2/mag_l2.py +25 -20
  90. imap_processing/mag/l2/mag_l2_data.py +199 -130
  91. imap_processing/quality_flags.py +28 -2
  92. imap_processing/spice/geometry.py +101 -36
  93. imap_processing/spice/pointing_frame.py +1 -7
  94. imap_processing/spice/repoint.py +29 -2
  95. imap_processing/spice/spin.py +32 -8
  96. imap_processing/spice/time.py +60 -19
  97. imap_processing/swapi/l1/swapi_l1.py +10 -4
  98. imap_processing/swapi/l2/swapi_l2.py +66 -24
  99. imap_processing/swapi/swapi_utils.py +1 -1
  100. imap_processing/swe/l1b/swe_l1b.py +3 -6
  101. imap_processing/ultra/constants.py +28 -3
  102. imap_processing/ultra/l0/decom_tools.py +15 -8
  103. imap_processing/ultra/l0/decom_ultra.py +35 -11
  104. imap_processing/ultra/l0/ultra_utils.py +102 -12
  105. imap_processing/ultra/l1a/ultra_l1a.py +26 -6
  106. imap_processing/ultra/l1b/cullingmask.py +6 -3
  107. imap_processing/ultra/l1b/de.py +122 -26
  108. imap_processing/ultra/l1b/extendedspin.py +29 -2
  109. imap_processing/ultra/l1b/lookup_utils.py +424 -50
  110. imap_processing/ultra/l1b/quality_flag_filters.py +23 -0
  111. imap_processing/ultra/l1b/ultra_l1b_culling.py +356 -5
  112. imap_processing/ultra/l1b/ultra_l1b_extended.py +534 -90
  113. imap_processing/ultra/l1c/helio_pset.py +127 -7
  114. imap_processing/ultra/l1c/l1c_lookup_utils.py +256 -0
  115. imap_processing/ultra/l1c/spacecraft_pset.py +90 -15
  116. imap_processing/ultra/l1c/ultra_l1c.py +6 -0
  117. imap_processing/ultra/l1c/ultra_l1c_culling.py +85 -0
  118. imap_processing/ultra/l1c/ultra_l1c_pset_bins.py +446 -341
  119. imap_processing/ultra/l2/ultra_l2.py +0 -1
  120. imap_processing/ultra/utils/ultra_l1_utils.py +40 -3
  121. imap_processing/utils.py +3 -4
  122. {imap_processing-0.17.0.dist-info → imap_processing-0.19.0.dist-info}/METADATA +3 -3
  123. {imap_processing-0.17.0.dist-info → imap_processing-0.19.0.dist-info}/RECORD +126 -126
  124. imap_processing/idex/idex_l2c.py +0 -250
  125. imap_processing/spice/kernels.py +0 -187
  126. imap_processing/ultra/lookup_tables/Angular_Profiles_FM45_LeftSlit.csv +0 -526
  127. imap_processing/ultra/lookup_tables/Angular_Profiles_FM45_RightSlit.csv +0 -526
  128. imap_processing/ultra/lookup_tables/Angular_Profiles_FM90_LeftSlit.csv +0 -526
  129. imap_processing/ultra/lookup_tables/Angular_Profiles_FM90_RightSlit.csv +0 -524
  130. imap_processing/ultra/lookup_tables/EgyNorm.mem.csv +0 -32769
  131. imap_processing/ultra/lookup_tables/FM45_Startup1_ULTRA_IMGPARAMS_20240719.csv +0 -2
  132. imap_processing/ultra/lookup_tables/FM90_Startup1_ULTRA_IMGPARAMS_20240719.csv +0 -2
  133. imap_processing/ultra/lookup_tables/dps_grid45_compressed.cdf +0 -0
  134. imap_processing/ultra/lookup_tables/ultra45_back-pos-luts.csv +0 -4097
  135. imap_processing/ultra/lookup_tables/ultra45_tdc_norm.csv +0 -2050
  136. imap_processing/ultra/lookup_tables/ultra90_back-pos-luts.csv +0 -4097
  137. imap_processing/ultra/lookup_tables/ultra90_tdc_norm.csv +0 -2050
  138. imap_processing/ultra/lookup_tables/yadjust.csv +0 -257
  139. {imap_processing-0.17.0.dist-info → imap_processing-0.19.0.dist-info}/LICENSE +0 -0
  140. {imap_processing-0.17.0.dist-info → imap_processing-0.19.0.dist-info}/WHEEL +0 -0
  141. {imap_processing-0.17.0.dist-info → imap_processing-0.19.0.dist-info}/entry_points.txt +0 -0
@@ -8,7 +8,7 @@ default_particle_attrs: &default_particle
8
8
  VALIDMAX: 10000000000.0
9
9
  FORMAT: F14.3
10
10
  UNITS: 1/(cm^2 s MeV/nuc sr)
11
- SCALE_TYP: log
11
+ SCALETYP: log
12
12
  SCALEMIN: 0.0001
13
13
  SCALEMAX: 1000.0
14
14
  DICT_KEY: SPASE>Particle>ParticleType:Ion,ParticleQuantity:NumberFlux,Qualifier:Differential
@@ -21,7 +21,7 @@ default_energy_attrs: &default_energy
21
21
  VALIDMAX: 1000.0
22
22
  FORMAT: F6.1
23
23
  UNITS: MeV/nuc
24
- SCALE_TYP: log
24
+ SCALETYP: log
25
25
  DICT_KEY: SPASE>Particle>ParticleType:Ion,ParticleQuantity:EnergyPerCharge,Qualifier:Characteristic
26
26
 
27
27
  default_energy_delta_attrs: &default_energy_delta
@@ -45,7 +45,7 @@ default_angle_attrs: &default_angle
45
45
  VALIDMAX: 1000.0
46
46
  FORMAT: F12.2
47
47
  UNITS: Deg
48
- SCALE_TYP: linear
48
+ SCALETYP: linear
49
49
 
50
50
  # <=== Coordinates ===>
51
51
  zenith:
@@ -337,7 +337,7 @@ dynamic_threshold_state:
337
337
  DISPLAY_TYPE: time_series
338
338
  FORMAT: I1
339
339
  UNITS: " "
340
- SCALE_TYP: linear
340
+ SCALETYP: linear
341
341
  SCALEMIN: 0
342
342
  SCALEMAX: 1000
343
343
  DICT_KEY: SPASE>Support>SupportQuantity:InstrumentMode
@@ -17,8 +17,16 @@ component:
17
17
  VAR_TYPE: metadata
18
18
  UNITS: " "
19
19
 
20
+ RTN_component:
21
+ CATDESC: Component direction (radial, tangential, normal)
22
+ FIELDNAM: RTN_component
23
+ LABLAXIS: RTN_component
24
+ FORMAT: A3
25
+ VAR_TYPE: metadata
26
+ UNITS: " "
27
+
20
28
  esa_step:
21
- CATDESC: ESA step number
29
+ CATDESC: ESA step number. The nominal central energies for the 8 i-ALiRT channels are 100.4, 140, 194, 270, 376, 523, 727, and 1011 eV.
22
30
  FIELDNAM: esa_step
23
31
  LABLAXIS: esa_step
24
32
  FORMAT: I2
@@ -27,30 +35,30 @@ esa_step:
27
35
  VAR_TYPE: metadata
28
36
  UNITS: " "
29
37
 
30
- energy_ranges:
38
+ codice_hi_h_energy_ranges:
31
39
  CATDESC: CoDICE-Hi energy ranges
32
- FIELDNAM: energy_ranges
33
- LABLAXIS: energy_ranges
40
+ FIELDNAM: codice_hi_h_energy_ranges
41
+ LABLAXIS: codice_hi_h_energy_ranges
34
42
  FORMAT: I3
35
43
  VALIDMIN: 0
36
44
  VALIDMAX: 14
37
45
  VAR_TYPE: metadata
38
46
  UNITS: " "
39
47
 
40
- azimuth:
41
- CATDESC: CoDICE-Hi azimuth
42
- FIELDNAM: azimuth
43
- LABLAXIS: azimuth
48
+ codice_hi_h_elevation:
49
+ CATDESC: CoDICE-Hi elevation
50
+ FIELDNAM: codice_hi_h_elevation
51
+ LABLAXIS: codice_hi_h_elevation
44
52
  FORMAT: I3
45
53
  VALIDMIN: 0
46
54
  VALIDMAX: 4
47
55
  VAR_TYPE: metadata
48
56
  UNITS: " "
49
57
 
50
- spin_angle_bin:
51
- CATDESC: CoDICE-Hi spin_angle_bin
52
- FIELDNAM: spin_angle_bin
53
- LABLAXIS: spin_angle_bin
58
+ codice_hi_h_spin_angle:
59
+ CATDESC: CoDICE-Hi spin_angle
60
+ FIELDNAM: codice_hi_h_spin_angle
61
+ LABLAXIS: codice_hi_h_spin_angle
54
62
  FORMAT: I3
55
63
  VALIDMIN: 0
56
64
  VALIDMAX: 4
@@ -113,7 +121,7 @@ default_float64_attrs: &default_float64
113
121
  VALIDMAX: 1.7976931348623157e+308
114
122
  dtype: float64
115
123
 
116
- codicehi_h:
124
+ codice_hi_h:
117
125
  <<: *default_float32
118
126
  CATDESC: H intensities in 15 energy ranges and binned into 4 azimuths and 4 spin angle bins
119
127
  FIELDNAM: H intensities
@@ -121,11 +129,11 @@ codicehi_h:
121
129
  UNITS: "# / cm2-sr-s- MeV"
122
130
  VALIDMIN: 0
123
131
  VALIDMAX: 100000000.0
124
- DEPEND_1: energy_ranges
125
- DEPEND_2: azimuth
126
- DEPEND_3: spin_angle_bin
132
+ DEPEND_1: codice_hi_h_energy_ranges
133
+ DEPEND_2: codice_hi_h_elevation
134
+ DEPEND_3: codice_hi_h_spin_angle
127
135
 
128
- codicelo_c_over_o_abundance:
136
+ codice_lo_c_over_o_abundance:
129
137
  <<: *default_float32
130
138
  CATDESC: C/O abundance ratio
131
139
  FIELDNAM: C/O
@@ -134,7 +142,7 @@ codicelo_c_over_o_abundance:
134
142
  VALIDMIN: 0
135
143
  VALIDMAX: 100000000.0
136
144
 
137
- codicelo_mg_over_o_abundance:
145
+ codice_lo_mg_over_o_abundance:
138
146
  <<: *default_float32
139
147
  CATDESC: Mg/O abundance ratio
140
148
  FIELDNAM: Mg/O
@@ -143,7 +151,7 @@ codicelo_mg_over_o_abundance:
143
151
  VALIDMIN: 0
144
152
  VALIDMAX: 100000000.0
145
153
 
146
- codicelo_fe_over_o_abundance:
154
+ codice_lo_fe_over_o_abundance:
147
155
  <<: *default_float32
148
156
  CATDESC: Fe/O abundance ratio
149
157
  FIELDNAM: Fe/O
@@ -152,7 +160,7 @@ codicelo_fe_over_o_abundance:
152
160
  VALIDMIN: 0
153
161
  VALIDMAX: 100000000.0
154
162
 
155
- codicelo_c_plus_6_over_c_plus_5_ratio:
163
+ codice_lo_c_plus_6_over_c_plus_5_ratio:
156
164
  <<: *default_float32
157
165
  CATDESC: C+6/C+5 charge state ratio
158
166
  FIELDNAM: C+6/C+5
@@ -161,7 +169,7 @@ codicelo_c_plus_6_over_c_plus_5_ratio:
161
169
  VALIDMIN: 0
162
170
  VALIDMAX: 100000000.0
163
171
 
164
- codicelo_o_plus_7_over_o_plus_6_ratio:
172
+ codice_lo_o_plus_7_over_o_plus_6_ratio:
165
173
  <<: *default_float32
166
174
  CATDESC: O+7/O+6 charge state ratio
167
175
  FIELDNAM: O+7/O+6
@@ -170,7 +178,7 @@ codicelo_o_plus_7_over_o_plus_6_ratio:
170
178
  VALIDMIN: 0
171
179
  VALIDMAX: 100000000.0
172
180
 
173
- codicelo_fe_low_over_fe_high_ratio:
181
+ codice_lo_fe_low_over_fe_high_ratio:
174
182
  <<: *default_float32
175
183
  CATDESC: Fe low/Fe high charge state ratio
176
184
  FIELDNAM: Fe low/Fe high
@@ -256,43 +264,89 @@ hit_he_omni_high_en:
256
264
  LABLAXIS: hit_he_omni_high_en
257
265
  UNITS: counts
258
266
 
259
- mag_4s_b_gse:
267
+ mag_epoch:
268
+ <<: *default_float32
269
+ CATDESC: MAG instrument epoch
270
+ FIELDNAM: mag_epoch
271
+ LABLAXIS: mag_epoch
272
+ UNITS: ns
273
+ VALIDMIN: 0.0
274
+ VALIDMAX: 9223372036854775807
275
+
276
+ mag_B_GSE:
260
277
  <<: *default_float32
261
278
  CATDESC: Magnetic field vector in GSE coordinates
262
- FIELDNAM: mag_4s_b_gse
263
- LABLAXIS: mag_4s_b_gse
279
+ FIELDNAM: mag_B_GSE
280
+ LABL_PTR_1: component
264
281
  UNITS: nT
265
282
  DEPEND_1: component
283
+ VALIDMIN: -65000
284
+ VALIDMAX: 65000
266
285
 
267
- mag_4s_b_gsm:
286
+ mag_B_GSM:
268
287
  <<: *default_float32
269
288
  CATDESC: Magnetic field vector in GSM coordinates
270
- FIELDNAM: mag_4s_b_gsm
271
- LABLAXIS: mag_4s_b_gsm
289
+ FIELDNAM: mag_B_GSM
290
+ LABL_PTR_1: component
272
291
  UNITS: nT
273
292
  DEPEND_1: component
293
+ VALIDMIN: -65000
294
+ VALIDMAX: 65000
274
295
 
275
- mag_4s_b_rtn:
296
+ mag_B_RTN:
276
297
  <<: *default_float32
277
298
  CATDESC: Magnetic field vector in RTN coordinates
278
- FIELDNAM: mag_4s_b_rtn
279
- LABLAXIS: mag_4s_b_rtn
299
+ FIELDNAM: mag_B_RTN
300
+ LABL_PTR_1: RTN_component
280
301
  UNITS: nT
281
- DEPEND_1: component
302
+ DEPEND_1: RTN_component
303
+ VALIDMIN: -65000
304
+ VALIDMAX: 65000
282
305
 
283
- mag_phi_4s_b_gsm:
306
+ mag_B_magnitude:
307
+ <<: *default_float32
308
+ CATDESC: Magnitude of the magnetic field vector
309
+ FIELDNAM: mag_B_magnitude
310
+ LABLAXIS: "|B|"
311
+ UNITS: nT
312
+ VALIDMIN: 0
313
+ VALIDMAX: 65000
314
+
315
+ mag_phi_B_GSM:
284
316
  <<: *default_float32
285
317
  CATDESC: Azimuth angle (φ) of the magnetic field in GSM coordinates
286
- FIELDNAM: mag_phi_4s_b_gsm
287
- LABLAXIS: mag_phi_4s_b_gsm
318
+ FIELDNAM: mag_phi_B_GSM
319
+ LABLAXIS: mag_phi_B_GSM
288
320
  UNITS: degrees
321
+ VALIDMIN: 0
322
+ VALIDMAX: 360
289
323
 
290
- mag_theta_4s_b_gsm:
324
+ mag_theta_B_GSM:
291
325
  <<: *default_float32
292
326
  CATDESC: Elevation angle (θ) of the magnetic field in GSM coordinates
293
- FIELDNAM: mag_theta_4s_b_gsm
294
- LABLAXIS: mag_theta_4s_b_gsm
327
+ FIELDNAM: mag_theta_B_GSM
328
+ LABLAXIS: mag_theta_B_GSM
295
329
  UNITS: degrees
330
+ VALIDMIN: -90
331
+ VALIDMAX: 90
332
+
333
+ mag_phi_B_GSE:
334
+ <<: *default_float32
335
+ CATDESC: Azimuth angle (φ) of the magnetic field in GSE coordinates
336
+ FIELDNAM: mag_phi_B_GSE
337
+ LABLAXIS: mag_phi_B_GSE
338
+ UNITS: degrees
339
+ VALIDMIN: 0
340
+ VALIDMAX: 360
341
+
342
+ mag_theta_B_GSE:
343
+ <<: *default_float32
344
+ CATDESC: Elevation angle (θ) of the magnetic field in GSE coordinates
345
+ FIELDNAM: mag_theta_B_GSE
346
+ LABLAXIS: mag_theta_B_GSE
347
+ UNITS: degrees
348
+ VALIDMIN: -90
349
+ VALIDMAX: 90
296
350
 
297
351
  swapi_pseudo_proton_density:
298
352
  <<: *default_float32
@@ -321,23 +375,12 @@ swapi_pseudo_proton_temperature:
321
375
  VALIDMIN: 0.0
322
376
  VALIDMAX: 50000000.0
323
377
 
324
- # SWE Normalized Counts, First Half Cycle
325
- swe_normalized_counts_half_1:
326
- <<: *default_uint32
327
- CATDESC: Normalized electron counts (Half Cycle 1, ESA step 0)
328
- FIELDNAM: swe_normalized_counts_half_1
329
- LABLAXIS: swe_norm_cts_q1_esa0
330
- UNITS: Normalized counts
331
- VALIDMIN: 0
332
- VALIDMAX: 500000
333
- DEPEND_1: esa_step
334
-
335
- # SWE Normalized Counts, Second Half Cycle
336
- swe_normalized_counts_half_2:
378
+ # SWE Normalized Counts
379
+ swe_normalized_counts:
337
380
  <<: *default_uint32
338
- CATDESC: Normalized electron counts (Half Cycle 2, ESA step 0)
339
- FIELDNAM: swe_normalized_counts_half_2
340
- LABLAXIS: swe_norm_cts_q2_esa0
381
+ CATDESC: Normalized electron counts
382
+ FIELDNAM: swe_normalized_counts
383
+ LABLAXIS: swe_normalized_counts
341
384
  UNITS: Normalized counts
342
385
  VALIDMIN: 0
343
386
  VALIDMAX: 500000
@@ -28,7 +28,7 @@ impact_charge_base: &impact_charge_base
28
28
  DICT_KEY: SPASE>Particle>ParticleType:Dust>ParticleQuantity:Current>Qualifier:Derived # TODO quantity should be charge but there is no SPASE charge
29
29
 
30
30
  mass_estimate_base: &mass_estimate_base
31
- UNITS: amu
31
+ UNITS: Kg
32
32
  VALIDMIN: 0.0
33
33
  VALIDMAX: *int_maxval
34
34
  VAR_TYPE: data
@@ -38,6 +38,17 @@ mass_estimate_base: &mass_estimate_base
38
38
  FILLVAL: *double_fillval
39
39
  DICT_KEY: SPASE>Particle>ParticleType:Dust>ParticleQuantity:Mass>Qualifier:Derived
40
40
 
41
+ velocity_estimate_base: &velocity_estimate_base
42
+ UNITS: km/s
43
+ VALIDMIN: 0.0
44
+ VALIDMAX: *int_maxval
45
+ VAR_TYPE: data
46
+ DEPEND_0: epoch
47
+ DISPLAY_TYPE: time_series
48
+ FORMAT: F20.4
49
+ FILLVAL: *double_fillval
50
+ DICT_KEY: SPASE>Particle>ParticleType:Dust>ParticleQuantity:Velocity>Qualifier:Derived
51
+
41
52
  chi_square_base: &chi_square_base
42
53
  UNITS: " "
43
54
  VALIDMIN: 0.0
@@ -116,7 +127,7 @@ target_fit_parameter_index:
116
127
  mass_index:
117
128
  CATDESC: Mass index values from 1 to 500
118
129
  FIELDNAM: Mass Index
119
- UNITS: amu
130
+ UNITS: Kg
120
131
  FORMAT: I4
121
132
  VAR_TYPE: support_data
122
133
  SCALETYP: linear
@@ -146,7 +157,7 @@ tof_snr:
146
157
  tof_peak_kappa:
147
158
  CATDESC: TOF High spectrum with x-axis converted from time to mass.
148
159
  FIELDNAM: Mass Scale
149
- UNITS: amu
160
+ UNITS: Kg
150
161
  VALIDMIN: 0.0
151
162
  VALIDMAX: 1.0
152
163
  VAR_TYPE: data
@@ -208,7 +219,7 @@ tof_peak_reduced_chi_squared:
208
219
  mass_scale:
209
220
  CATDESC: TOF High spectrum with x-axis converted from time to mass.
210
221
  FIELDNAM: Mass Scale
211
- UNITS: amu
222
+ UNITS: Kg
212
223
  VALIDMIN: 0.0
213
224
  VALIDMAX: *int_maxval
214
225
  FILLVAL: *double_fillval
@@ -239,6 +250,12 @@ target_low_dust_mass_estimate:
239
250
  CATDESC: Estimated dust mass from Target Low signal based on impact charge.
240
251
  FIELDNAM: Estimated Dust Mass (Target Low)
241
252
 
253
+ target_low_velocity_estimate:
254
+ <<: *velocity_estimate_base
255
+ LABLAXIS: Target Low Velocity Estimate
256
+ CATDESC: Estimated particle velocity from Target Low signal based on impact charge.
257
+ FIELDNAM: Estimated Velocity (Target Low)
258
+
242
259
  target_low_chi_squared:
243
260
  <<: *chi_square_base
244
261
  LABLAXIS: Target Low Chi Square
@@ -275,6 +292,12 @@ target_high_dust_mass_estimate:
275
292
  CATDESC: Estimated dust mass from Target High signal based on impact charge.
276
293
  FIELDNAM: Estimated Dust Mass (Target High)
277
294
 
295
+ target_high_velocity_estimate:
296
+ <<: *velocity_estimate_base
297
+ LABLAXIS: Target High Velocity Estimate
298
+ CATDESC: Estimated particle velocity from Target High signal based on impact charge.
299
+ FIELDNAM: Estimated Velocity (Target High)
300
+
278
301
  target_high_chi_squared:
279
302
  <<: *chi_square_base
280
303
  LABLAXIS: Target High Chi Square
@@ -311,6 +334,12 @@ ion_grid_dust_mass_estimate:
311
334
  CATDESC: Estimated dust mass from Ion Grid signal based on impact charge.
312
335
  FIELDNAM: Estimated Dust Mass (Ion Grid)
313
336
 
337
+ ion_grid_velocity_estimate:
338
+ <<: *velocity_estimate_base
339
+ LABLAXIS: Ion Grid Velocity Estimate
340
+ CATDESC: Estimated particle velocity from Ion Grid signal based on impact charge.
341
+ FIELDNAM: Estimated Velocity (Ion Grid)
342
+
314
343
  ion_grid_chi_squared:
315
344
  <<: *chi_square_base
316
345
  LABLAXIS: Ion Grid Chi Square
@@ -4,81 +4,81 @@ double_fillval: &double_fillval -1.0E31
4
4
 
5
5
  # Label attributes
6
6
  mass_labels:
7
- CATDESC: Labels for mass bins
8
- FIELDNAM: Mass Bin Labels
7
+ CATDESC: Labels for Mass (kg)
8
+ FIELDNAM: Mass (kg)
9
9
  VAR_TYPE: metadata
10
10
  FORMAT: A8
11
- DEPEND_1: mass_bins
11
+ DEPEND_1: mass
12
12
  DICT_KEY: SPASE>Support>SupportQuantity:Other
13
13
 
14
14
  charge_labels:
15
- CATDESC: Labels for impact charge bins
16
- FIELDNAM: Impact Charge Bin Labels
15
+ CATDESC: Labels for Impact Charge (fC)
16
+ FIELDNAM: Impact Charge (fC)
17
17
  VAR_TYPE: metadata
18
18
  FORMAT: A8
19
- DEPEND_1: impact_charge_bins
19
+ DEPEND_1: impact_charge
20
20
  DICT_KEY: SPASE>Support>SupportQuantity:Other
21
21
 
22
22
  spin_phase_labels:
23
- CATDESC: Labels for spin phase bins
24
- FIELDNAM: Spin Phase Bin Labels
25
- VAR_TYPE: metadata
26
- FORMAT: A8
27
- DEPEND_1: spin_phase_bins
28
- DICT_KEY: SPASE>Support>SupportQuantity:Other
23
+ CATDESC: Labels for Spin Phase (deg)
24
+ FIELDNAM: Spin Phase (deg)
25
+ VAR_TYPE: metadata
26
+ FORMAT: A8
27
+ DEPEND_1: spin_phase
28
+ DICT_KEY: SPASE>Support>SupportQuantity:Other
29
29
 
30
30
  # Index attributes
31
- mass_bins:
32
- CATDESC: Log-spaced mass bins
33
- FIELDNAM: Mass Bins
34
- UNITS: " "
35
- FORMAT: I4
31
+ mass:
32
+ CATDESC: Log-spaced mass
33
+ FIELDNAM: Mass (kg)
34
+ UNITS: kg
35
+ FORMAT: E10.4
36
36
  VAR_TYPE: support_data
37
- SCALETYP: linear
38
- LABLAXIS: Mass Bins
39
- VALIDMIN: 0
40
- VALIDMAX: 10
41
- FILLVAL: *int_fillval
37
+ SCALETYP: log
38
+ LABLAXIS: Mass (kg)
39
+ VALIDMIN: 0.0
40
+ VALIDMAX: 1.00e-14
41
+ FILLVAL: *double_fillval
42
42
  LABL_PTR_1: mass_labels
43
43
  DICT_KEY: SPASE>Support>SupportQuantity:Other
44
44
 
45
- spin_phase_bins:
45
+ spin_phase:
46
46
  CATDESC: The spacecraft spin phase at the time of detection
47
47
  VAR_NOTES: This is given in 4 bins [315-45, 45-135, 135-225, 225-315] degrees.
48
- FIELDNAM: Spin Phase Bins
49
- LABLAXIS: Spin Phase Bins
48
+ FIELDNAM: Spin Phase (deg)
49
+ LABLAXIS: Spin Phase (deg)
50
50
  VAR_TYPE: support_data
51
51
  SCALETYP: linear
52
52
  FILLVAL: *int_fillval
53
53
  FORMAT: I4
54
- VALIDMIN: 0
55
- VALIDMAX: 3
54
+ VALIDMIN: 0.0
55
+ VALIDMAX: 360
56
56
  LABL_PTR_1: spin_phase_labels
57
- UNITS: " "
57
+ UNITS: deg
58
58
  DICT_KEY: SPASE>SupportQuantity:SpinPhase,Qualifier:Array
59
59
 
60
- impact_charge_bins:
61
- CATDESC: Log-spaced impact charge bins
62
- VAR_NOTES: Impact Charge Bins
63
- FIELDNAM: Impact Charge Bins
64
- LABLAXIS: Impact Charge Bins
60
+ impact_charge:
61
+ CATDESC: Log-spaced impact charge
62
+ FIELDNAM: Impact Charge (fC)
63
+ LABLAXIS: Impact Charge (fC)
65
64
  VAR_TYPE: support_data
66
- SCALETYP: linear
65
+ SCALETYP: log
67
66
  FILLVAL: *int_fillval
68
- FORMAT: I4
69
- VALIDMIN: 0
70
- VALIDMAX: 10
67
+ FORMAT: E10.3
68
+ VALIDMIN: 0.0
69
+ VALIDMAX: 1.00e04
71
70
  LABL_PTR_1: spin_phase_labels
72
- UNITS: " "
71
+ UNITS: fC
73
72
  DICT_KEY: SPASE>Support>SupportQuantity:Other
74
73
 
74
+
75
75
  # Base attributes for charge and mass variables
76
76
  base_charge: &base_charge
77
77
  CATDESC: " "
78
78
  FIELDNAM: " "
79
79
  DEPEND_0: epoch
80
- DEPEND_1: impact_charge_bins
81
- DEPEND_2: spin_phase_bins
80
+ DEPEND_1: impact_charge
81
+ DEPEND_2: spin_phase
82
82
  LABL_PTR_1: charge_labels
83
83
  LABL_PTR_2: spin_phase_labels
84
84
  DISPLAY_TYPE: spectrogram
@@ -92,8 +92,8 @@ base_mass: &base_mass
92
92
  CATDESC: " "
93
93
  FIELDNAM: " "
94
94
  DEPEND_0: epoch
95
- DEPEND_1: mass_bins
96
- DEPEND_2: spin_phase_bins
95
+ DEPEND_1: mass
96
+ DEPEND_2: spin_phase
97
97
  LABL_PTR_1: mass_labels
98
98
  LABL_PTR_2: spin_phase_labels
99
99
  DISPLAY_TYPE: spectrogram
@@ -106,7 +106,7 @@ base_mass: &base_mass
106
106
  rate_by_charge:
107
107
  <<: *base_charge
108
108
  CATDESC: Count rate per day by impact charge and spin phase.
109
- FIELDNAM: Rate by Charge
109
+ FIELDNAM: Rate (day^-1) by Charge
110
110
  UNITS: day^-1
111
111
  FILLVAL: *double_fillval
112
112
  DICT_KEY: SPASE>SupportQuantity:CountRate,Qualifier:Array
@@ -114,7 +114,7 @@ rate_by_charge:
114
114
  rate_by_mass:
115
115
  <<: *base_mass
116
116
  CATDESC: Count rate per day by mass and spin phase.
117
- FIELDNAM: Rate by Mass
117
+ FIELDNAM: Rate (day^-1) by Mass
118
118
  UNITS: day^-1
119
119
  FILLVAL: *double_fillval
120
120
  DICT_KEY: SPASE>SupportQuantity:CountRate,Qualifier:Array