imap-processing 0.16.2__py3-none-any.whl → 0.18.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 (110) hide show
  1. imap_processing/_version.py +2 -2
  2. imap_processing/ccsds/excel_to_xtce.py +12 -0
  3. imap_processing/cdf/config/imap_codice_global_cdf_attrs.yaml +6 -6
  4. imap_processing/cdf/config/imap_codice_l1a_variable_attrs.yaml +35 -0
  5. imap_processing/cdf/config/imap_codice_l1b_variable_attrs.yaml +35 -0
  6. imap_processing/cdf/config/imap_codice_l2_variable_attrs.yaml +24 -0
  7. imap_processing/cdf/config/imap_hi_variable_attrs.yaml +8 -8
  8. imap_processing/cdf/config/imap_hit_global_cdf_attrs.yaml +1 -1
  9. imap_processing/cdf/config/imap_hit_l1a_variable_attrs.yaml +163 -100
  10. imap_processing/cdf/config/imap_hit_l2_variable_attrs.yaml +398 -415
  11. imap_processing/cdf/config/imap_ialirt_l1_variable_attrs.yaml +97 -54
  12. imap_processing/cdf/config/imap_idex_global_cdf_attrs.yaml +9 -9
  13. imap_processing/cdf/config/imap_idex_l2b_variable_attrs.yaml +233 -57
  14. imap_processing/cdf/config/imap_idex_l2c_variable_attrs.yaml +16 -90
  15. imap_processing/cdf/config/imap_lo_global_cdf_attrs.yaml +30 -0
  16. imap_processing/cdf/config/imap_mag_global_cdf_attrs.yaml +15 -1
  17. imap_processing/cdf/config/imap_swapi_variable_attrs.yaml +19 -0
  18. imap_processing/cdf/config/imap_swe_l1b_variable_attrs.yaml +20 -0
  19. imap_processing/cdf/config/imap_swe_l2_variable_attrs.yaml +39 -0
  20. imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml +168 -0
  21. imap_processing/cdf/config/imap_ultra_l1a_variable_attrs.yaml +103 -2
  22. imap_processing/cdf/config/imap_ultra_l1b_variable_attrs.yaml +91 -11
  23. imap_processing/cdf/utils.py +7 -1
  24. imap_processing/cli.py +42 -13
  25. imap_processing/codice/codice_l1a.py +125 -78
  26. imap_processing/codice/codice_l1b.py +1 -1
  27. imap_processing/codice/codice_l2.py +0 -9
  28. imap_processing/codice/constants.py +481 -498
  29. imap_processing/hi/hi_l1a.py +4 -4
  30. imap_processing/hi/hi_l1b.py +2 -2
  31. imap_processing/hi/packet_definitions/TLM_HI_COMBINED_SCI.xml +218 -38
  32. imap_processing/hit/hit_utils.py +2 -2
  33. imap_processing/hit/l0/decom_hit.py +4 -3
  34. imap_processing/hit/l1a/hit_l1a.py +64 -24
  35. imap_processing/hit/l1b/constants.py +5 -0
  36. imap_processing/hit/l1b/hit_l1b.py +18 -16
  37. imap_processing/hit/l2/constants.py +1 -1
  38. imap_processing/hit/l2/hit_l2.py +4 -4
  39. imap_processing/ialirt/constants.py +21 -0
  40. imap_processing/ialirt/generate_coverage.py +188 -0
  41. imap_processing/ialirt/l0/parse_mag.py +62 -5
  42. imap_processing/ialirt/l0/process_swapi.py +1 -1
  43. imap_processing/ialirt/l0/process_swe.py +23 -7
  44. imap_processing/ialirt/utils/constants.py +22 -16
  45. imap_processing/ialirt/utils/create_xarray.py +42 -19
  46. imap_processing/idex/idex_constants.py +8 -5
  47. imap_processing/idex/idex_l2b.py +554 -58
  48. imap_processing/idex/idex_l2c.py +30 -196
  49. imap_processing/lo/l0/lo_apid.py +1 -0
  50. imap_processing/lo/l0/lo_star_sensor.py +48 -0
  51. imap_processing/lo/l1a/lo_l1a.py +74 -30
  52. imap_processing/lo/packet_definitions/lo_xtce.xml +5359 -106
  53. imap_processing/mag/constants.py +1 -0
  54. imap_processing/mag/l0/decom_mag.py +9 -6
  55. imap_processing/mag/l0/mag_l0_data.py +46 -0
  56. imap_processing/mag/l1d/__init__.py +0 -0
  57. imap_processing/mag/l1d/mag_l1d.py +133 -0
  58. imap_processing/mag/l1d/mag_l1d_data.py +588 -0
  59. imap_processing/mag/l2/__init__.py +0 -0
  60. imap_processing/mag/l2/mag_l2.py +25 -20
  61. imap_processing/mag/l2/mag_l2_data.py +191 -130
  62. imap_processing/quality_flags.py +20 -2
  63. imap_processing/spice/geometry.py +25 -3
  64. imap_processing/spice/pointing_frame.py +1 -1
  65. imap_processing/spice/spin.py +4 -0
  66. imap_processing/spice/time.py +51 -0
  67. imap_processing/swapi/l1/swapi_l1.py +12 -2
  68. imap_processing/swapi/l2/swapi_l2.py +59 -14
  69. imap_processing/swapi/swapi_utils.py +1 -1
  70. imap_processing/swe/l1b/swe_l1b.py +11 -4
  71. imap_processing/swe/l2/swe_l2.py +111 -17
  72. imap_processing/ultra/constants.py +49 -1
  73. imap_processing/ultra/l0/decom_tools.py +28 -14
  74. imap_processing/ultra/l0/decom_ultra.py +225 -15
  75. imap_processing/ultra/l0/ultra_utils.py +281 -8
  76. imap_processing/ultra/l1a/ultra_l1a.py +77 -8
  77. imap_processing/ultra/l1b/cullingmask.py +3 -3
  78. imap_processing/ultra/l1b/de.py +53 -15
  79. imap_processing/ultra/l1b/extendedspin.py +26 -2
  80. imap_processing/ultra/l1b/lookup_utils.py +171 -50
  81. imap_processing/ultra/l1b/quality_flag_filters.py +14 -0
  82. imap_processing/ultra/l1b/ultra_l1b_culling.py +198 -5
  83. imap_processing/ultra/l1b/ultra_l1b_extended.py +304 -66
  84. imap_processing/ultra/l1c/helio_pset.py +54 -7
  85. imap_processing/ultra/l1c/spacecraft_pset.py +9 -1
  86. imap_processing/ultra/l1c/ultra_l1c.py +2 -0
  87. imap_processing/ultra/l1c/ultra_l1c_pset_bins.py +106 -109
  88. imap_processing/ultra/packet_definitions/ULTRA_SCI_COMBINED.xml +3 -3
  89. imap_processing/ultra/utils/ultra_l1_utils.py +13 -1
  90. imap_processing/utils.py +20 -42
  91. {imap_processing-0.16.2.dist-info → imap_processing-0.18.0.dist-info}/METADATA +2 -2
  92. {imap_processing-0.16.2.dist-info → imap_processing-0.18.0.dist-info}/RECORD +95 -103
  93. imap_processing/lo/l0/data_classes/star_sensor.py +0 -98
  94. imap_processing/lo/l0/utils/lo_base.py +0 -57
  95. imap_processing/ultra/lookup_tables/Angular_Profiles_FM45_LeftSlit.csv +0 -526
  96. imap_processing/ultra/lookup_tables/Angular_Profiles_FM45_RightSlit.csv +0 -526
  97. imap_processing/ultra/lookup_tables/Angular_Profiles_FM90_LeftSlit.csv +0 -526
  98. imap_processing/ultra/lookup_tables/Angular_Profiles_FM90_RightSlit.csv +0 -524
  99. imap_processing/ultra/lookup_tables/EgyNorm.mem.csv +0 -32769
  100. imap_processing/ultra/lookup_tables/FM45_Startup1_ULTRA_IMGPARAMS_20240719.csv +0 -2
  101. imap_processing/ultra/lookup_tables/FM90_Startup1_ULTRA_IMGPARAMS_20240719.csv +0 -2
  102. imap_processing/ultra/lookup_tables/dps_grid45_compressed.cdf +0 -0
  103. imap_processing/ultra/lookup_tables/ultra45_back-pos-luts.csv +0 -4097
  104. imap_processing/ultra/lookup_tables/ultra45_tdc_norm.csv +0 -2050
  105. imap_processing/ultra/lookup_tables/ultra90_back-pos-luts.csv +0 -4097
  106. imap_processing/ultra/lookup_tables/ultra90_tdc_norm.csv +0 -2050
  107. imap_processing/ultra/lookup_tables/yadjust.csv +0 -257
  108. {imap_processing-0.16.2.dist-info → imap_processing-0.18.0.dist-info}/LICENSE +0 -0
  109. {imap_processing-0.16.2.dist-info → imap_processing-0.18.0.dist-info}/WHEEL +0 -0
  110. {imap_processing-0.16.2.dist-info → imap_processing-0.18.0.dist-info}/entry_points.txt +0 -0
@@ -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
@@ -54,20 +54,20 @@ imap_idex_l2a_sci:
54
54
  imap_idex_l2b_sci:
55
55
  <<: *instrument_base
56
56
  Data_level: 2B
57
- Data_type: L2B_SCI>Level-2B Science Weekly Data
58
- Logical_source: imap_idex_l2b_sci-1week
59
- Logical_source_description: IMAP Mission IDEX Instrument Level-2B Weekly Data
57
+ Data_type: L2B_SCI-1MO>Level-2B Science Monthly Data
58
+ Logical_source: imap_idex_l2b_sci-1mo
59
+ Logical_source_description: IMAP Mission IDEX Instrument Level-2B Monthly Data
60
60
 
61
61
  imap_idex_l2c_sci-healpix:
62
62
  <<: *instrument_base
63
63
  Data_level: 2C
64
- Data_type: L2C_HEALPIX-MAP-1WEEK>Level-2C HEALPIX Map Weekly Data
65
- Logical_source: imap_idex_l2c_healpix-map-1week
66
- Logical_source_description: IMAP Mission IDEX Instrument Level-2C Weekly Data Healpix
64
+ Data_type: L2C_HEALPIX-MAP-1MO>Level-2C HEALPIX Map Monthly Data
65
+ Logical_source: imap_idex_l2c_healpix-map-1mo
66
+ Logical_source_description: IMAP Mission IDEX Instrument Level-2C Monthly Data Healpix
67
67
 
68
68
  imap_idex_l2c_sci-rectangular:
69
69
  <<: *instrument_base
70
70
  Data_level: 2C
71
- Data_type: L2C_RECTANGULAR-MAP-1WEEK>Level-2C Rectangular Map Weekly Data
72
- Logical_source: imap_idex_l2c_rectangular-map-1week
73
- Logical_source_description: IMAP Mission IDEX Instrument Level-2C Weekly Data Rectangular
71
+ Data_type: L2C_RECTANGULAR-MAP-1MO>Level-2C Rectangular Map Monthly Data
72
+ Logical_source: imap_idex_l2c_rectangular-map-1mo
73
+ Logical_source_description: IMAP Mission IDEX Instrument Level-2C Monthly Data Rectangular
@@ -1,7 +1,225 @@
1
1
  int_fillval: &int_fillval -9223372036854775808
2
+ int_maxval: &int_maxval 9223372036854775807
3
+ double_fillval: &double_fillval -1.0E31
4
+
5
+ # Label attributes
6
+ mass_labels:
7
+ CATDESC: Labels for Mass (kg)
8
+ FIELDNAM: Mass (kg)
9
+ VAR_TYPE: metadata
10
+ FORMAT: A8
11
+ DEPEND_1: mass
12
+ DICT_KEY: SPASE>Support>SupportQuantity:Other
13
+
14
+ charge_labels:
15
+ CATDESC: Labels for Impact Charge (fC)
16
+ FIELDNAM: Impact Charge (fC)
17
+ VAR_TYPE: metadata
18
+ FORMAT: A8
19
+ DEPEND_1: impact_charge
20
+ DICT_KEY: SPASE>Support>SupportQuantity:Other
21
+
22
+ spin_phase_labels:
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
+
30
+ rectangular_lon_pixel_label:
31
+ CATDESC: Longitude pixel index label for IDEX SkyMap.
32
+ FIELDNAM: Longitude pixel label
33
+ FORMAT: A5
34
+ VAR_TYPE: metadata
35
+ DICT_KEY: SPASE>Support>SupportQuantity:Other
36
+
37
+ rectangular_lat_pixel_label:
38
+ CATDESC: Latitude pixel index label for IDEX SkyMap.
39
+ FIELDNAM: Latitude pixel label
40
+ FORMAT: A5
41
+ VAR_TYPE: metadata
42
+ DICT_KEY: SPASE>Support>SupportQuantity:Other
43
+
44
+ # Index attributes
45
+ mass:
46
+ CATDESC: Log-spaced mass
47
+ FIELDNAM: Mass (kg)
48
+ UNITS: kg
49
+ FORMAT: I4
50
+ VAR_TYPE: support_data
51
+ SCALETYP: log
52
+ LABLAXIS: Mass (kg)
53
+ VALIDMIN: 0
54
+ VALIDMAX: 10
55
+ FILLVAL: *double_fillval
56
+ LABL_PTR_1: mass_labels
57
+ DICT_KEY: SPASE>Support>SupportQuantity:Other
58
+
59
+ spin_phase:
60
+ CATDESC: The spacecraft spin phase at the time of detection
61
+ VAR_NOTES: This is given in 4 bins [315-45, 45-135, 135-225, 225-315] degrees.
62
+ FIELDNAM: Spin Phase (deg)
63
+ LABLAXIS: Spin Phase (deg)
64
+ VAR_TYPE: support_data
65
+ SCALETYP: linear
66
+ FILLVAL: *int_fillval
67
+ FORMAT: I4
68
+ VALIDMIN: 0
69
+ VALIDMAX: 3
70
+ LABL_PTR_1: spin_phase_labels
71
+ UNITS: deg
72
+ DICT_KEY: SPASE>SupportQuantity:SpinPhase,Qualifier:Array
73
+
74
+ impact_charge:
75
+ CATDESC: Log-spaced impact charge
76
+ FIELDNAM: Impact Charge (fC)
77
+ LABLAXIS: Impact Charge (fC)
78
+ VAR_TYPE: support_data
79
+ SCALETYP: log
80
+ FILLVAL: *int_fillval
81
+ FORMAT: I4
82
+ VALIDMIN: 0
83
+ VALIDMAX: 10
84
+ LABL_PTR_1: spin_phase_labels
85
+ UNITS: fC
86
+ DICT_KEY: SPASE>Support>SupportQuantity:Other
87
+
88
+ rectangular_lon_pixel:
89
+ CATDESC: Longitude pixel center for IDEX SkyMap
90
+ FIELDNAM: Rectangular Longitude Center
91
+ FORMAT: F12.6
92
+ LABLAXIS: Longitude Pixel
93
+ VAR_TYPE: support_data
94
+ UNITS: degrees
95
+ VALIDMIN: 0
96
+ VALIDMAX: 360
97
+ FILLVAL: *double_fillval
98
+ DICT_KEY: SPASE>Support>SupportQuantity:Positional
99
+
100
+ rectangular_lat_pixel:
101
+ CATDESC: Latitude pixel center for IDEX SkyMap
102
+ FIELDNAM: Rectangular Latitude Center
103
+ FORMAT: F12.6
104
+ LABLAXIS: Latitude Pixel
105
+ VAR_TYPE: support_data
106
+ UNITS: degrees
107
+ VALIDMIN: -90
108
+ VALIDMAX: 90
109
+ FILLVAL: *double_fillval
110
+ DICT_KEY: SPASE>Support>SupportQuantity:Positional
111
+
112
+ # Base attributes for charge and mass variables
113
+ base_charge: &base_charge
114
+ CATDESC: " "
115
+ FIELDNAM: " "
116
+ DEPEND_0: epoch
117
+ DEPEND_1: impact_charge
118
+ DEPEND_2: spin_phase
119
+ LABL_PTR_1: charge_labels
120
+ LABL_PTR_2: spin_phase_labels
121
+ DISPLAY_TYPE: spectrogram
122
+ VAR_TYPE: data
123
+ FILLVAL: *int_fillval
124
+ FORMAT: E10.3
125
+ VALIDMIN: -1
126
+ VALIDMAX: *int_maxval
127
+
128
+ base_mass: &base_mass
129
+ CATDESC: " "
130
+ FIELDNAM: " "
131
+ DEPEND_0: epoch
132
+ DEPEND_1: mass
133
+ DEPEND_2: spin_phase
134
+ LABL_PTR_1: mass_labels
135
+ LABL_PTR_2: spin_phase_labels
136
+ DISPLAY_TYPE: spectrogram
137
+ VAR_TYPE: data
138
+ FILLVAL: *int_fillval
139
+ FORMAT: E10.3
140
+ VALIDMIN: 0.0
141
+ VALIDMAX: *int_maxval
142
+
143
+ base_charge_map: &base_charge_map
144
+ <<: *base_charge
145
+ DEPEND_2: rectangular_lon_pixel
146
+ DEPEND_3: rectangular_lat_pixel
147
+ LABL_PTR_2: rectangular_lon_pixel_label
148
+ LABL_PTR_3: rectangular_lat_pixel_label
149
+
150
+ base_mass_map: &base_mass_map
151
+ <<: *base_mass
152
+ DEPEND_2: rectangular_lon_pixel
153
+ DEPEND_3: rectangular_lat_pixel
154
+ LABL_PTR_2: rectangular_lon_pixel_label
155
+ LABL_PTR_3: rectangular_lat_pixel_label
156
+
157
+ rate_by_charge:
158
+ <<: *base_charge
159
+ CATDESC: Count rate per day by impact charge and spin phase.
160
+ FIELDNAM: Rate (day^-1) by Charge
161
+ UNITS: day^-1
162
+ FILLVAL: *double_fillval
163
+ DICT_KEY: SPASE>SupportQuantity:CountRate,Qualifier:Array
164
+
165
+ rate_by_charge_map:
166
+ <<: *base_charge_map
167
+ CATDESC: Count rate per day by impact charge, longitude, and latitude.
168
+ FIELDNAM: Rate (day^-1) by Charge Map
169
+ UNITS: day^-1
170
+ FILLVAL: *double_fillval
171
+ DICT_KEY: SPASE>SupportQuantity:CountRate,Qualifier:Array
172
+
173
+ rate_by_mass:
174
+ <<: *base_mass
175
+ CATDESC: Count rate per day by mass and spin phase.
176
+ FIELDNAM: Rate (day^-1) by Mass
177
+ UNITS: day^-1
178
+ FILLVAL: *double_fillval
179
+ DICT_KEY: SPASE>SupportQuantity:CountRate,Qualifier:Array
180
+
181
+ rate_by_mass_map:
182
+ <<: *base_mass_map
183
+ CATDESC: Count rate per day by mass, longitude, and latitude.
184
+ FIELDNAM: Rate (day^-1) by Mass Map
185
+ UNITS: day^-1
186
+ FILLVAL: *double_fillval
187
+ DICT_KEY: SPASE>SupportQuantity:CountRate,Qualifier:Array
188
+
189
+ counts_by_charge:
190
+ <<: *base_charge
191
+ CATDESC: Count by impact charge and spin phase.
192
+ FIELDNAM: Counts by Charge
193
+ FORMAT: I8
194
+ UNITS: counts
195
+ DICT_KEY: SPASE>Particle>ParticleType:Dust,ParticleQuantity:Counts,Qualifier:Array
196
+
197
+ counts_by_charge_map:
198
+ <<: *base_charge_map
199
+ CATDESC: Count by impact charge, longitude, and latitude.
200
+ FIELDNAM: Counts by Charge Map
201
+ FORMAT: I8
202
+ UNITS: counts
203
+ DICT_KEY: SPASE>Particle>ParticleType:Dust,ParticleQuantity:Counts,Qualifier:Array
204
+
205
+ counts_by_mass:
206
+ <<: *base_mass
207
+ CATDESC: Count by mass and spin phase.
208
+ FIELDNAM: Counts by Mass
209
+ FORMAT: I8
210
+ UNITS: counts
211
+ DICT_KEY: SPASE>Particle>ParticleType:Dust,ParticleQuantity:Counts,Qualifier:Array
212
+
213
+ counts_by_mass_map:
214
+ <<: *base_mass_map
215
+ CATDESC: Count by mass, longitude, and latitude.
216
+ FIELDNAM: Counts by Mass Map
217
+ FORMAT: I8
218
+ UNITS: counts
219
+ DICT_KEY: SPASE>Particle>ParticleType:Dust,ParticleQuantity:Counts,Qualifier:Array
2
220
 
3
221
  impact_day_of_year:
4
- CATDESC: The day of the year when the impact occurred.
222
+ CATDESC: The unique day of the years when dust impacts occurred.
5
223
  FIELDNAM: Impact Day of Year
6
224
  LABLAXIS: Impact DOY
7
225
  DEPEND_0: epoch
@@ -12,60 +230,18 @@ impact_day_of_year:
12
230
  VALIDMAX: 366
13
231
  VAR_TYPE: data
14
232
  UNITS: days
15
- DICT_KEY: SPASE>SupportQuantity:Temporal,Qualifier:Array # TODO: review this
16
-
17
- spin_phase_quadrants:
18
- CATDESC: The spacecraft spin phase at the time of detection.
19
- VAR_NOTES: This is given in quadrants (0, 90, 180, 270).
20
- FIELDNAM: Spin Phase Quadrants
21
- LABLAXIS: Spin Phase Quadrants
22
- DEPEND_0: epoch
23
- DISPLAY_TYPE: time_series
24
- FILLVAL: *int_fillval
25
- FORMAT: I3
26
- VALIDMIN: 0
27
- VALIDMAX: 270
28
- VAR_TYPE: data
29
- UNITS: degrees
30
- DICT_KEY: SPASE>SupportQuantity:SpinPhase,Qualifier:Array # TODO: review this
31
-
32
- science_acquisition_messages:
33
- CATDESC: The IDEX science acquisition start and stop messages.
34
- FIELDNAM: Science Acquisition Messages
35
- DEPEND_0: epoch_science_acquisition
36
- FORMAT: A30
37
- FILLVAL: " "
38
- VAR_TYPE: metadata
39
- DICT_KEY: SPASE>SupportQuantity:Housekeeping,Qualifier:Array
40
-
41
- science_acquisition_values:
42
- CATDESC: Values indicating if the event is a science start (1) or stop (0).
43
- FIELDNAM: Science Acquisition Value
44
- DEPEND_0: epoch_science_acquisition
45
- FILLVAL: *int_fillval
46
- FORMAT: I1
47
- VALIDMIN: 0
48
- VALIDMAX: 1
49
- UNITS: " "
50
- VAR_TYPE: support_data
51
- DICT_KEY: SPASE>SupportQuantity:Housekeeping,Qualifier:Array
52
-
53
- epoch_science_acquisition:
54
- CATDESC: Time, number of nanoseconds since J2000 with leap seconds included
55
- FIELDNAM: Epoch Science Acquisition Time
56
- LABLAXIS: Epoch Science Acquisition Time
57
- FILLVAL: -9223372036854775808
58
- FORMAT: " " # Supposedly not required, fails in xarray_to_cdf
59
- VALIDMIN: -9223372036854775808
60
- VALIDMAX: 9223372036854775807
61
- UNITS: ns
62
- VAR_TYPE: support_data
63
- SCALETYP: linear
64
- MONOTON: INCREASE
65
- TIME_BASE: J2000
66
- TIME_SCALE: Terrestrial Time
67
- CDF_DATA_TYPE: CDF_TIME_TT2000
68
- REFERENCE_POSITION: Rotating Earth Geoid
69
- RESOLUTION: ' '
70
- DISPLAY_TYPE: time_series
71
233
  DICT_KEY: SPASE>SupportQuantity:Temporal,Qualifier:Array
234
+
235
+ rate_calculation_quality_flags:
236
+ CATDESC: Quality flag for rate calculation (1 = good, 0 = insufficient IDEX uptime data)
237
+ FIELDNAM: Rate Quality Flag
238
+ LABLAXIS: Quality Flag
239
+ DEPEND_0: epoch
240
+ DISPLAY_TYPE: time_series
241
+ FILLVAL: 255
242
+ FORMAT: I1
243
+ VALIDMIN: 0
244
+ VALIDMAX: 1
245
+ VAR_TYPE: data
246
+ UNITS: " "
247
+ DICT_KEY: SPASE>SupportQuantity:QualityFlag,Qualifier:Array
@@ -1,25 +1,19 @@
1
- int_fillval: &int_fillval -9223372036854775808
2
- int_maxval: &int_maxval 9223372036854775807
3
- double_fillval: &double_fillval -1.0E31
1
+ # Label attributes
2
+ mass_labels:
3
+ CATDESC: Labels for mass bins
4
+ FIELDNAM: Mass Bin Labels
5
+ VAR_TYPE: metadata
6
+ FORMAT: A8
7
+ DEPEND_1: mass_bins
8
+ DICT_KEY: SPASE>Support>SupportQuantity:Other
4
9
 
5
- epoch_collection_set:
6
- CATDESC: Nanoseconds since J2000 with leap seconds. Start (left-edge) of reference time.
7
- FIELDNAM: epoch
8
- LABLAXIS: epoch
9
- FILLVAL: -9223372036854775808
10
- FORMAT: " " # Supposedly not required, fails in xarray_to_cdf
11
- VALIDMIN: -9223372036854775808
12
- VALIDMAX: 9223372036854775807
13
- UNITS: ns
14
- VAR_TYPE: support_data
15
- SCALETYP: linear
16
- MONOTON: INCREASE
17
- TIME_BASE: J2000
18
- TIME_SCALE: Terrestrial Time
19
- REFERENCE_POSITION: Rotating Earth Geoid
20
- RESOLUTION: ' '
21
- DISPLAY_TYPE: time_series
22
- DICT_KEY: SPASE>Support>SupportQantity:Temporal
10
+ charge_labels:
11
+ CATDESC: Labels for impact charge bins
12
+ FIELDNAM: Impact Charge Bin Labels
13
+ VAR_TYPE: metadata
14
+ FORMAT: A8
15
+ DEPEND_1: impact_charge_bins
16
+ DICT_KEY: SPASE>Support>SupportQuantity:Other
23
17
 
24
18
  rectangular_lon_pixel_label:
25
19
  CATDESC: Longitude pixel index label for IDEX SkyMap.
@@ -33,72 +27,4 @@ rectangular_lat_pixel_label:
33
27
  FIELDNAM: Latitude pixel label
34
28
  FORMAT: A5
35
29
  VAR_TYPE: metadata
36
- DICT_KEY: SPASE>Support>SupportQuantity:Other
37
-
38
- pixel_label:
39
- CATDESC: HEALPix pixel index label for IDEX SkyMap.
40
- FIELDNAM: Pixel label
41
- FORMAT: A5
42
- VAR_TYPE: metadata
43
- DICT_KEY: SPASE>Support>SupportQuantity:Other
44
-
45
- pixel_index:
46
- CATDESC: HEALPix pixel index for IDEX SkyMap
47
- FIELDNAM: HEALPix Index
48
- FORMAT: I4
49
- LABLAXIS: HEALPix Index
50
- VAR_TYPE: support_data
51
- UNITS: " "
52
- VALIDMIN: 0
53
- VALIDMAX: 768
54
- FILLVAL: *int_fillval
55
- DICT_KEY: SPASE>Support>SupportQuantity:Positional
56
-
57
- rectangular_lon_pixel:
58
- CATDESC: Longitude pixel index for IDEX SkyMap
59
- FIELDNAM: Rectangular Longitude Index
60
- FORMAT: F12.6
61
- LABLAXIS: Longitude Pixel
62
- VAR_TYPE: support_data
63
- UNITS: degrees
64
- VALIDMIN: 0
65
- VALIDMAX: 360
66
- FILLVAL: *double_fillval
67
- DICT_KEY: SPASE>Support>SupportQuantity:Positional
68
-
69
- rectangular_lat_pixel:
70
- CATDESC: Latitude pixel index for IDEX SkyMap
71
- FIELDNAM: Rectangular Latitude Index
72
- FORMAT: F12.6
73
- LABLAXIS: Latitude Pixel
74
- VAR_TYPE: support_data
75
- UNITS: degrees
76
- VALIDMIN: -90
77
- VALIDMAX: 90
78
- FILLVAL: *double_fillval
79
- DICT_KEY: SPASE>Support>SupportQuantity:Positional
80
-
81
- counts: &counts
82
- CATDESC: Number of raw dust events for each pixel
83
- FIELDNAM: Dust Counts
84
- FORMAT: I20
85
- UNITS: counts
86
- VAR_TYPE: data
87
- DISPLAY_TYPE: spectrogram
88
- DEPEND_0: epoch
89
- VALIDMIN: 0
90
- VALIDMAX: *int_maxval
91
- FILLVAL: *int_fillval
92
- DICT_KEY: SPASE>Particle>ParticleType:Dust,ParticleQuantity:Counts,Qualifier:Array
93
-
94
- healpix_counts:
95
- <<: *counts
96
- DEPEND_1: pixel_index
97
- LABLAXIS: Counts
98
-
99
- rectangular_counts:
100
- <<: *counts
101
- DEPEND_1: rectangular_lon_pixel
102
- DEPEND_2: rectangular_lat_pixel
103
- LABL_PTR_1: rectangular_lon_pixel_label
104
- LABL_PTR_2: rectangular_lat_pixel_label
30
+ DICT_KEY: SPASE>Support>SupportQuantity:Other