imap-processing 0.17.0__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 (89) 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 +11 -0
  5. imap_processing/cdf/config/imap_codice_l1b_variable_attrs.yaml +11 -0
  6. imap_processing/cdf/config/imap_codice_l2_variable_attrs.yaml +24 -0
  7. imap_processing/cdf/config/imap_hit_l1a_variable_attrs.yaml +163 -100
  8. imap_processing/cdf/config/imap_hit_l2_variable_attrs.yaml +4 -4
  9. imap_processing/cdf/config/imap_ialirt_l1_variable_attrs.yaml +97 -54
  10. imap_processing/cdf/config/imap_idex_l2b_variable_attrs.yaml +119 -36
  11. imap_processing/cdf/config/imap_idex_l2c_variable_attrs.yaml +16 -90
  12. imap_processing/cdf/config/imap_lo_global_cdf_attrs.yaml +30 -0
  13. imap_processing/cdf/config/imap_mag_global_cdf_attrs.yaml +15 -1
  14. imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml +60 -0
  15. imap_processing/cdf/config/imap_ultra_l1b_variable_attrs.yaml +91 -11
  16. imap_processing/cli.py +28 -5
  17. imap_processing/codice/codice_l1a.py +36 -48
  18. imap_processing/codice/codice_l1b.py +1 -1
  19. imap_processing/codice/codice_l2.py +0 -9
  20. imap_processing/codice/constants.py +481 -498
  21. imap_processing/hit/l0/decom_hit.py +2 -2
  22. imap_processing/hit/l1a/hit_l1a.py +64 -24
  23. imap_processing/hit/l1b/constants.py +5 -0
  24. imap_processing/hit/l1b/hit_l1b.py +18 -16
  25. imap_processing/hit/l2/constants.py +1 -1
  26. imap_processing/hit/l2/hit_l2.py +4 -5
  27. imap_processing/ialirt/constants.py +21 -0
  28. imap_processing/ialirt/generate_coverage.py +188 -0
  29. imap_processing/ialirt/l0/parse_mag.py +62 -5
  30. imap_processing/ialirt/l0/process_swapi.py +1 -1
  31. imap_processing/ialirt/l0/process_swe.py +23 -7
  32. imap_processing/ialirt/utils/constants.py +22 -16
  33. imap_processing/ialirt/utils/create_xarray.py +42 -19
  34. imap_processing/idex/idex_constants.py +1 -5
  35. imap_processing/idex/idex_l2b.py +246 -67
  36. imap_processing/idex/idex_l2c.py +30 -196
  37. imap_processing/lo/l0/lo_apid.py +1 -0
  38. imap_processing/lo/l1a/lo_l1a.py +44 -0
  39. imap_processing/lo/packet_definitions/lo_xtce.xml +5359 -106
  40. imap_processing/mag/constants.py +1 -0
  41. imap_processing/mag/l1d/__init__.py +0 -0
  42. imap_processing/mag/l1d/mag_l1d.py +133 -0
  43. imap_processing/mag/l1d/mag_l1d_data.py +588 -0
  44. imap_processing/mag/l2/__init__.py +0 -0
  45. imap_processing/mag/l2/mag_l2.py +25 -20
  46. imap_processing/mag/l2/mag_l2_data.py +191 -130
  47. imap_processing/quality_flags.py +20 -2
  48. imap_processing/spice/geometry.py +25 -3
  49. imap_processing/spice/pointing_frame.py +1 -1
  50. imap_processing/spice/spin.py +4 -0
  51. imap_processing/spice/time.py +51 -0
  52. imap_processing/swapi/l2/swapi_l2.py +52 -8
  53. imap_processing/swapi/swapi_utils.py +1 -1
  54. imap_processing/swe/l1b/swe_l1b.py +2 -4
  55. imap_processing/ultra/constants.py +49 -1
  56. imap_processing/ultra/l0/decom_tools.py +15 -8
  57. imap_processing/ultra/l0/decom_ultra.py +35 -11
  58. imap_processing/ultra/l0/ultra_utils.py +97 -5
  59. imap_processing/ultra/l1a/ultra_l1a.py +25 -4
  60. imap_processing/ultra/l1b/cullingmask.py +3 -3
  61. imap_processing/ultra/l1b/de.py +53 -15
  62. imap_processing/ultra/l1b/extendedspin.py +26 -2
  63. imap_processing/ultra/l1b/lookup_utils.py +171 -50
  64. imap_processing/ultra/l1b/quality_flag_filters.py +14 -0
  65. imap_processing/ultra/l1b/ultra_l1b_culling.py +198 -5
  66. imap_processing/ultra/l1b/ultra_l1b_extended.py +304 -66
  67. imap_processing/ultra/l1c/helio_pset.py +54 -7
  68. imap_processing/ultra/l1c/spacecraft_pset.py +9 -1
  69. imap_processing/ultra/l1c/ultra_l1c.py +2 -0
  70. imap_processing/ultra/l1c/ultra_l1c_pset_bins.py +106 -109
  71. imap_processing/ultra/utils/ultra_l1_utils.py +13 -1
  72. {imap_processing-0.17.0.dist-info → imap_processing-0.18.0.dist-info}/METADATA +2 -2
  73. {imap_processing-0.17.0.dist-info → imap_processing-0.18.0.dist-info}/RECORD +76 -83
  74. imap_processing/ultra/lookup_tables/Angular_Profiles_FM45_LeftSlit.csv +0 -526
  75. imap_processing/ultra/lookup_tables/Angular_Profiles_FM45_RightSlit.csv +0 -526
  76. imap_processing/ultra/lookup_tables/Angular_Profiles_FM90_LeftSlit.csv +0 -526
  77. imap_processing/ultra/lookup_tables/Angular_Profiles_FM90_RightSlit.csv +0 -524
  78. imap_processing/ultra/lookup_tables/EgyNorm.mem.csv +0 -32769
  79. imap_processing/ultra/lookup_tables/FM45_Startup1_ULTRA_IMGPARAMS_20240719.csv +0 -2
  80. imap_processing/ultra/lookup_tables/FM90_Startup1_ULTRA_IMGPARAMS_20240719.csv +0 -2
  81. imap_processing/ultra/lookup_tables/dps_grid45_compressed.cdf +0 -0
  82. imap_processing/ultra/lookup_tables/ultra45_back-pos-luts.csv +0 -4097
  83. imap_processing/ultra/lookup_tables/ultra45_tdc_norm.csv +0 -2050
  84. imap_processing/ultra/lookup_tables/ultra90_back-pos-luts.csv +0 -4097
  85. imap_processing/ultra/lookup_tables/ultra90_tdc_norm.csv +0 -2050
  86. imap_processing/ultra/lookup_tables/yadjust.csv +0 -257
  87. {imap_processing-0.17.0.dist-info → imap_processing-0.18.0.dist-info}/LICENSE +0 -0
  88. {imap_processing-0.17.0.dist-info → imap_processing-0.18.0.dist-info}/WHEEL +0 -0
  89. {imap_processing-0.17.0.dist-info → imap_processing-0.18.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
@@ -4,49 +4,63 @@ 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
+
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
29
43
 
30
44
  # Index attributes
31
- mass_bins:
32
- CATDESC: Log-spaced mass bins
33
- FIELDNAM: Mass Bins
34
- UNITS: " "
45
+ mass:
46
+ CATDESC: Log-spaced mass
47
+ FIELDNAM: Mass (kg)
48
+ UNITS: kg
35
49
  FORMAT: I4
36
50
  VAR_TYPE: support_data
37
- SCALETYP: linear
38
- LABLAXIS: Mass Bins
51
+ SCALETYP: log
52
+ LABLAXIS: Mass (kg)
39
53
  VALIDMIN: 0
40
54
  VALIDMAX: 10
41
- FILLVAL: *int_fillval
55
+ FILLVAL: *double_fillval
42
56
  LABL_PTR_1: mass_labels
43
57
  DICT_KEY: SPASE>Support>SupportQuantity:Other
44
58
 
45
- spin_phase_bins:
59
+ spin_phase:
46
60
  CATDESC: The spacecraft spin phase at the time of detection
47
61
  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
62
+ FIELDNAM: Spin Phase (deg)
63
+ LABLAXIS: Spin Phase (deg)
50
64
  VAR_TYPE: support_data
51
65
  SCALETYP: linear
52
66
  FILLVAL: *int_fillval
@@ -54,31 +68,54 @@ spin_phase_bins:
54
68
  VALIDMIN: 0
55
69
  VALIDMAX: 3
56
70
  LABL_PTR_1: spin_phase_labels
57
- UNITS: " "
71
+ UNITS: deg
58
72
  DICT_KEY: SPASE>SupportQuantity:SpinPhase,Qualifier:Array
59
73
 
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
74
+ impact_charge:
75
+ CATDESC: Log-spaced impact charge
76
+ FIELDNAM: Impact Charge (fC)
77
+ LABLAXIS: Impact Charge (fC)
65
78
  VAR_TYPE: support_data
66
- SCALETYP: linear
79
+ SCALETYP: log
67
80
  FILLVAL: *int_fillval
68
81
  FORMAT: I4
69
82
  VALIDMIN: 0
70
83
  VALIDMAX: 10
71
84
  LABL_PTR_1: spin_phase_labels
72
- UNITS: " "
85
+ UNITS: fC
73
86
  DICT_KEY: SPASE>Support>SupportQuantity:Other
74
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
+
75
112
  # Base attributes for charge and mass variables
76
113
  base_charge: &base_charge
77
114
  CATDESC: " "
78
115
  FIELDNAM: " "
79
116
  DEPEND_0: epoch
80
- DEPEND_1: impact_charge_bins
81
- DEPEND_2: spin_phase_bins
117
+ DEPEND_1: impact_charge
118
+ DEPEND_2: spin_phase
82
119
  LABL_PTR_1: charge_labels
83
120
  LABL_PTR_2: spin_phase_labels
84
121
  DISPLAY_TYPE: spectrogram
@@ -92,8 +129,8 @@ base_mass: &base_mass
92
129
  CATDESC: " "
93
130
  FIELDNAM: " "
94
131
  DEPEND_0: epoch
95
- DEPEND_1: mass_bins
96
- DEPEND_2: spin_phase_bins
132
+ DEPEND_1: mass
133
+ DEPEND_2: spin_phase
97
134
  LABL_PTR_1: mass_labels
98
135
  LABL_PTR_2: spin_phase_labels
99
136
  DISPLAY_TYPE: spectrogram
@@ -103,10 +140,32 @@ base_mass: &base_mass
103
140
  VALIDMIN: 0.0
104
141
  VALIDMAX: *int_maxval
105
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
+
106
157
  rate_by_charge:
107
158
  <<: *base_charge
108
159
  CATDESC: Count rate per day by impact charge and spin phase.
109
- FIELDNAM: Rate by Charge
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
110
169
  UNITS: day^-1
111
170
  FILLVAL: *double_fillval
112
171
  DICT_KEY: SPASE>SupportQuantity:CountRate,Qualifier:Array
@@ -114,7 +173,15 @@ rate_by_charge:
114
173
  rate_by_mass:
115
174
  <<: *base_mass
116
175
  CATDESC: Count rate per day by mass and spin phase.
117
- FIELDNAM: Rate by Mass
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
118
185
  UNITS: day^-1
119
186
  FILLVAL: *double_fillval
120
187
  DICT_KEY: SPASE>SupportQuantity:CountRate,Qualifier:Array
@@ -127,6 +194,14 @@ counts_by_charge:
127
194
  UNITS: counts
128
195
  DICT_KEY: SPASE>Particle>ParticleType:Dust,ParticleQuantity:Counts,Qualifier:Array
129
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
+
130
205
  counts_by_mass:
131
206
  <<: *base_mass
132
207
  CATDESC: Count by mass and spin phase.
@@ -135,6 +210,14 @@ counts_by_mass:
135
210
  UNITS: counts
136
211
  DICT_KEY: SPASE>Particle>ParticleType:Dust,ParticleQuantity:Counts,Qualifier:Array
137
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
220
+
138
221
  impact_day_of_year:
139
222
  CATDESC: The unique day of the years when dust impacts occurred.
140
223
  FIELDNAM: Impact Day of Year
@@ -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
@@ -29,6 +29,24 @@ imap_lo_l1a_spin:
29
29
  Logical_source: imap_lo_l1a_spin
30
30
  Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-1A Data
31
31
 
32
+ imap_lo_l1a_nhk:
33
+ <<: *instrument_base
34
+ Data_type: L1A_star>Level-1A Nominal Housekeeping
35
+ Logical_source: imap_lo_l1a_nhk
36
+ Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-1A Data
37
+
38
+ imap_lo_l1a_shk:
39
+ <<: *instrument_base
40
+ Data_type: L1A_star>Level-1A Static Housekeeping
41
+ Logical_source: imap_lo_l1a_shk
42
+ Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-1A Data
43
+
44
+ imap_lo_l1a_pcc:
45
+ <<: *instrument_base
46
+ Data_type: L1A_star>Level-1A Pivot Platform
47
+ Logical_source: imap_lo_l1a_pcc
48
+ Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-1A Data
49
+
32
50
  imap_lo_l1b_badtimes:
33
51
  <<: *instrument_base
34
52
  Data_type: L1B_badtimes>Level-1B Badtimes
@@ -65,6 +83,18 @@ imap_lo_l1b_prostar:
65
83
  Logical_source: imap_lo_l1b_prostar
66
84
  Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-1B Data
67
85
 
86
+ imap_lo_l1b_nhk:
87
+ <<: *instrument_base
88
+ Data_type: L1B_star>Level-1B Nominal Housekeeping
89
+ Logical_source: imap_lo_l1b_nhk
90
+ Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-1B Data
91
+
92
+ imap_lo_l1b_shk:
93
+ <<: *instrument_base
94
+ Data_type: L1B_star>Level-1B Static Housekeeping
95
+ Logical_source: imap_lo_l1b_shk
96
+ Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-1B Data
97
+
68
98
  imap_lo_l1c_goodtimes:
69
99
  <<: *instrument_base
70
100
  Data_type: L1C_goodtimes>Level-1C Goodtimes List