imap-processing 0.18.0__py3-none-any.whl → 0.19.2__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 (122) hide show
  1. imap_processing/_version.py +2 -2
  2. imap_processing/ancillary/ancillary_dataset_combiner.py +161 -1
  3. imap_processing/cdf/config/imap_codice_global_cdf_attrs.yaml +6 -0
  4. imap_processing/cdf/config/imap_codice_l1a_variable_attrs.yaml +221 -1057
  5. imap_processing/cdf/config/imap_codice_l1b_variable_attrs.yaml +307 -283
  6. imap_processing/cdf/config/imap_codice_l2_variable_attrs.yaml +1044 -203
  7. imap_processing/cdf/config/imap_constant_attrs.yaml +4 -2
  8. imap_processing/cdf/config/imap_enamaps_l2-common_variable_attrs.yaml +11 -0
  9. imap_processing/cdf/config/imap_glows_l1b_variable_attrs.yaml +15 -1
  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_idex_l2a_variable_attrs.yaml +33 -4
  13. imap_processing/cdf/config/imap_idex_l2b_variable_attrs.yaml +8 -91
  14. imap_processing/cdf/config/imap_idex_l2c_variable_attrs.yaml +106 -16
  15. imap_processing/cdf/config/imap_lo_global_cdf_attrs.yaml +5 -4
  16. imap_processing/cdf/config/imap_lo_l1a_variable_attrs.yaml +4 -15
  17. imap_processing/cdf/config/imap_lo_l1c_variable_attrs.yaml +189 -98
  18. imap_processing/cdf/config/imap_mag_global_cdf_attrs.yaml +85 -2
  19. imap_processing/cdf/config/imap_mag_l1c_variable_attrs.yaml +24 -1
  20. imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml +20 -8
  21. imap_processing/cdf/config/imap_ultra_l1b_variable_attrs.yaml +45 -35
  22. imap_processing/cdf/config/imap_ultra_l1c_variable_attrs.yaml +110 -7
  23. imap_processing/cli.py +138 -93
  24. imap_processing/codice/codice_l0.py +2 -1
  25. imap_processing/codice/codice_l1a.py +167 -69
  26. imap_processing/codice/codice_l1b.py +42 -32
  27. imap_processing/codice/codice_l2.py +215 -9
  28. imap_processing/codice/constants.py +790 -603
  29. imap_processing/codice/data/lo_stepping_values.csv +1 -1
  30. imap_processing/decom.py +1 -4
  31. imap_processing/ena_maps/ena_maps.py +71 -43
  32. imap_processing/ena_maps/utils/corrections.py +291 -0
  33. imap_processing/ena_maps/utils/map_utils.py +20 -4
  34. imap_processing/ena_maps/utils/naming.py +8 -2
  35. imap_processing/glows/ancillary/imap_glows_exclusions-by-instr-team_20250923_v002.dat +10 -0
  36. imap_processing/glows/ancillary/imap_glows_map-of-excluded-regions_20250923_v002.dat +393 -0
  37. imap_processing/glows/ancillary/imap_glows_map-of-uv-sources_20250923_v002.dat +593 -0
  38. imap_processing/glows/ancillary/imap_glows_pipeline-settings_20250923_v002.json +54 -0
  39. imap_processing/glows/ancillary/imap_glows_suspected-transients_20250923_v002.dat +10 -0
  40. imap_processing/glows/l1b/glows_l1b.py +123 -18
  41. imap_processing/glows/l1b/glows_l1b_data.py +358 -47
  42. imap_processing/glows/l2/glows_l2.py +11 -0
  43. imap_processing/hi/hi_l1a.py +124 -3
  44. imap_processing/hi/hi_l1b.py +154 -71
  45. imap_processing/hi/hi_l1c.py +4 -109
  46. imap_processing/hi/hi_l2.py +104 -60
  47. imap_processing/hi/utils.py +262 -8
  48. imap_processing/hit/l0/constants.py +3 -0
  49. imap_processing/hit/l0/decom_hit.py +3 -6
  50. imap_processing/hit/l1a/hit_l1a.py +311 -21
  51. imap_processing/hit/l1b/hit_l1b.py +54 -126
  52. imap_processing/hit/l2/hit_l2.py +6 -6
  53. imap_processing/ialirt/calculate_ingest.py +219 -0
  54. imap_processing/ialirt/constants.py +12 -2
  55. imap_processing/ialirt/generate_coverage.py +15 -2
  56. imap_processing/ialirt/l0/ialirt_spice.py +6 -2
  57. imap_processing/ialirt/l0/parse_mag.py +293 -42
  58. imap_processing/ialirt/l0/process_hit.py +5 -3
  59. imap_processing/ialirt/l0/process_swapi.py +41 -25
  60. imap_processing/ialirt/process_ephemeris.py +70 -14
  61. imap_processing/ialirt/utils/create_xarray.py +1 -1
  62. imap_processing/idex/idex_l0.py +2 -2
  63. imap_processing/idex/idex_l1a.py +2 -3
  64. imap_processing/idex/idex_l1b.py +2 -3
  65. imap_processing/idex/idex_l2a.py +130 -4
  66. imap_processing/idex/idex_l2b.py +158 -143
  67. imap_processing/idex/idex_utils.py +1 -3
  68. imap_processing/lo/ancillary_data/imap_lo_hydrogen-geometric-factor_v001.csv +75 -0
  69. imap_processing/lo/ancillary_data/imap_lo_oxygen-geometric-factor_v001.csv +75 -0
  70. imap_processing/lo/l0/lo_science.py +25 -24
  71. imap_processing/lo/l1b/lo_l1b.py +93 -19
  72. imap_processing/lo/l1c/lo_l1c.py +273 -93
  73. imap_processing/lo/l2/lo_l2.py +949 -135
  74. imap_processing/lo/lo_ancillary.py +55 -0
  75. imap_processing/mag/l1a/mag_l1a.py +1 -0
  76. imap_processing/mag/l1a/mag_l1a_data.py +26 -0
  77. imap_processing/mag/l1b/mag_l1b.py +3 -2
  78. imap_processing/mag/l1c/interpolation_methods.py +14 -15
  79. imap_processing/mag/l1c/mag_l1c.py +23 -6
  80. imap_processing/mag/l1d/mag_l1d.py +57 -14
  81. imap_processing/mag/l1d/mag_l1d_data.py +202 -32
  82. imap_processing/mag/l2/mag_l2.py +2 -0
  83. imap_processing/mag/l2/mag_l2_data.py +14 -5
  84. imap_processing/quality_flags.py +23 -1
  85. imap_processing/spice/geometry.py +89 -39
  86. imap_processing/spice/pointing_frame.py +4 -8
  87. imap_processing/spice/repoint.py +78 -2
  88. imap_processing/spice/spin.py +28 -8
  89. imap_processing/spice/time.py +12 -22
  90. imap_processing/swapi/l1/swapi_l1.py +10 -4
  91. imap_processing/swapi/l2/swapi_l2.py +15 -17
  92. imap_processing/swe/l1b/swe_l1b.py +1 -2
  93. imap_processing/ultra/constants.py +30 -24
  94. imap_processing/ultra/l0/ultra_utils.py +9 -11
  95. imap_processing/ultra/l1a/ultra_l1a.py +1 -2
  96. imap_processing/ultra/l1b/badtimes.py +35 -11
  97. imap_processing/ultra/l1b/de.py +95 -31
  98. imap_processing/ultra/l1b/extendedspin.py +31 -16
  99. imap_processing/ultra/l1b/goodtimes.py +112 -0
  100. imap_processing/ultra/l1b/lookup_utils.py +281 -28
  101. imap_processing/ultra/l1b/quality_flag_filters.py +10 -1
  102. imap_processing/ultra/l1b/ultra_l1b.py +7 -7
  103. imap_processing/ultra/l1b/ultra_l1b_culling.py +169 -7
  104. imap_processing/ultra/l1b/ultra_l1b_extended.py +311 -69
  105. imap_processing/ultra/l1c/helio_pset.py +139 -37
  106. imap_processing/ultra/l1c/l1c_lookup_utils.py +289 -0
  107. imap_processing/ultra/l1c/spacecraft_pset.py +140 -29
  108. imap_processing/ultra/l1c/ultra_l1c.py +33 -24
  109. imap_processing/ultra/l1c/ultra_l1c_culling.py +92 -0
  110. imap_processing/ultra/l1c/ultra_l1c_pset_bins.py +400 -292
  111. imap_processing/ultra/l2/ultra_l2.py +54 -11
  112. imap_processing/ultra/utils/ultra_l1_utils.py +37 -7
  113. imap_processing/utils.py +3 -4
  114. {imap_processing-0.18.0.dist-info → imap_processing-0.19.2.dist-info}/METADATA +2 -2
  115. {imap_processing-0.18.0.dist-info → imap_processing-0.19.2.dist-info}/RECORD +118 -109
  116. imap_processing/idex/idex_l2c.py +0 -84
  117. imap_processing/spice/kernels.py +0 -187
  118. imap_processing/ultra/l1b/cullingmask.py +0 -87
  119. imap_processing/ultra/l1c/histogram.py +0 -36
  120. {imap_processing-0.18.0.dist-info → imap_processing-0.19.2.dist-info}/LICENSE +0 -0
  121. {imap_processing-0.18.0.dist-info → imap_processing-0.19.2.dist-info}/WHEEL +0 -0
  122. {imap_processing-0.18.0.dist-info → imap_processing-0.19.2.dist-info}/entry_points.txt +0 -0
@@ -2,14 +2,15 @@
2
2
  # center of accumulation/measurement period. But if, for some good reason,
3
3
  # time corresponds to the beginning or end or any other part of
4
4
  # accumulation/measurement period, that has to be stated in CATDESC.
5
+
5
6
  epoch:
6
7
  CATDESC: Time, number of nanoseconds since J2000 with leap seconds included
7
8
  FIELDNAM: epoch
8
9
  LABLAXIS: epoch
9
10
  FILLVAL: -9223372036854775808
10
11
  FORMAT: " " # Supposedly not required, fails in xarray_to_cdf
11
- VALIDMIN: -9223372036854775808
12
- VALIDMAX: 9223372036854775807
12
+ VALIDMIN: 315576066184000000 # 2010-01-01T00:00:00 mission start (APL 0 epoch)
13
+ VALIDMAX: 3155716869184000000 # 2100-01-01T00:00:00 mission end
13
14
  UNITS: ns
14
15
  VAR_TYPE: support_data
15
16
  SCALETYP: linear
@@ -20,6 +21,7 @@ epoch:
20
21
  RESOLUTION: ' '
21
22
  DICT_KEY: "SPASE>Support>SupportQantity:Temporal"
22
23
 
24
+
23
25
  # <=== Data Variables ===>
24
26
  # Default Attrs for all metadata variables unless overridden
25
27
  metadata_attrs:
@@ -163,6 +163,17 @@ ena_rate:
163
163
  DISPLAY_TYPE: image
164
164
  DICT_KEY: SPASE>Particle>ParticleType:Atom,ParticleQuantity:NumberFlux,Qualifier:Incident,CoordinateSystemName:HAE,CoordinateRepresentation:Spherical
165
165
 
166
+ background_rates:
167
+ <<: *default_float32
168
+ CATDESC: Estimated background count rate.
169
+ FIELDNAM: Background Rate
170
+ UNITS: counts/s
171
+ DEPEND_0: epoch
172
+ VAR_TYPE: data
173
+ LABLAXIS: Rate
174
+ DISPLAY_TYPE: image
175
+ DICT_KEY: SPASE>Particle>ParticleType:Atom,ParticleQuantity:NumberFlux,Qualifier:Incident,CoordinateSystemName:HAE,CoordinateRepresentation:Spherical
176
+
166
177
  ena_count:
167
178
  <<: *default_float32
168
179
  CATDESC: Mono-energetic ENA Count.
@@ -203,9 +203,11 @@ number_of_spins_per_block:
203
203
  VALIDMIN: 1
204
204
 
205
205
  unique_block_identifier:
206
- <<: *support_data_defaults
207
206
  CATDESC: YYYY-MM-DDThh:mm:ss based on IMAP UTC time
208
207
  FIELDNAM: YYYY-MM-DDThh:mm:ss based on IMAP UTC time
208
+ FORMAT: A19
209
+ VAR_TYPE: support_data
210
+ DEPEND_0: epoch
209
211
 
210
212
  number_of_bins_per_histogram:
211
213
  <<: *support_data_defaults
@@ -229,6 +231,18 @@ ecliptic_attrs:
229
231
  VAR_TYPE: support_data
230
232
  FORMAT: I1
231
233
 
234
+ latitudinal_attrs:
235
+ <<: *default_attrs
236
+ VALIDMIN: 0
237
+ VALIDMAX: 360
238
+ CATDESC: Component index for cartesian latitudinal coordinates
239
+ FIELDNAM: Component index
240
+ LABLAXIS: Index
241
+ UNITS: ' '
242
+ FILLVAL: 999
243
+ VAR_TYPE: support_data
244
+ FORMAT: I3
245
+
232
246
  number_of_events:
233
247
  <<: *support_data_defaults
234
248
  CATDESC: Total number of events/counts in histogram
@@ -39,6 +39,11 @@ imap_hi_l1a_hk_attrs:
39
39
  Logical_source: imap_hi_l1a_{sensor}-hk
40
40
  Logical_source_description: IMAP-Hi Instrument Level-1A Housekeeping Data.
41
41
 
42
+ imap_hi_l1a_memdmp_attrs:
43
+ Data_type: L1A_HK>Level-1A Memory Dump
44
+ Logical_source: imap_hi_l1a_{sensor}-memdmp
45
+ Logical_source_description: IMAP-Hi Instrument Level-1A Memory Dump Data.
46
+
42
47
  imap_hi_l1b_hk_attrs:
43
48
  Data_type: L1B_HK>Level-1B Housekeeping
44
49
  Logical_source: imap_hi_l1b_{sensor}-hk
@@ -17,11 +17,17 @@ imap_hit_l1a_hk:
17
17
  Logical_source: imap_hit_l1a_hk
18
18
  Logical_source_description: IMAP Mission HIT Instrument Level-1A Housekeeping Data.
19
19
 
20
- imap_hit_l1a_counts:
20
+ imap_hit_l1a_counts-standard:
21
21
  <<: *instrument_base
22
- Data_type: L1A_counts>Level-1A Counts
23
- Logical_source: imap_hit_l1a_counts
24
- Logical_source_description: IMAP Mission HIT Instrument Level-1A Count Rates Data.
22
+ Data_type: L1A_counts>Level-1A Standard Counts
23
+ Logical_source: imap_hit_l1a_counts-standard
24
+ Logical_source_description: IMAP Mission HIT Instrument Level-1A Standard Count Rates Data.
25
+
26
+ imap_hit_l1a_counts-sectored:
27
+ <<: *instrument_base
28
+ Data_type: L1A_counts>Level-1A Sectored Counts
29
+ Logical_source: imap_hit_l1a_counts-sectored
30
+ Logical_source_description: IMAP Mission HIT Instrument Level-1A Sectored Count Rates Data.
25
31
 
26
32
  imap_hit_l1a_direct-events:
27
33
  <<: *instrument_base
@@ -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
@@ -27,31 +27,17 @@ spin_phase_labels:
27
27
  DEPEND_1: spin_phase
28
28
  DICT_KEY: SPASE>Support>SupportQuantity:Other
29
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
30
  # Index attributes
45
31
  mass:
46
32
  CATDESC: Log-spaced mass
47
33
  FIELDNAM: Mass (kg)
48
34
  UNITS: kg
49
- FORMAT: I4
35
+ FORMAT: E10.4
50
36
  VAR_TYPE: support_data
51
37
  SCALETYP: log
52
38
  LABLAXIS: Mass (kg)
53
- VALIDMIN: 0
54
- VALIDMAX: 10
39
+ VALIDMIN: 0.0
40
+ VALIDMAX: 1.00e-14
55
41
  FILLVAL: *double_fillval
56
42
  LABL_PTR_1: mass_labels
57
43
  DICT_KEY: SPASE>Support>SupportQuantity:Other
@@ -65,8 +51,8 @@ spin_phase:
65
51
  SCALETYP: linear
66
52
  FILLVAL: *int_fillval
67
53
  FORMAT: I4
68
- VALIDMIN: 0
69
- VALIDMAX: 3
54
+ VALIDMIN: 0.0
55
+ VALIDMAX: 360
70
56
  LABL_PTR_1: spin_phase_labels
71
57
  UNITS: deg
72
58
  DICT_KEY: SPASE>SupportQuantity:SpinPhase,Qualifier:Array
@@ -78,36 +64,13 @@ impact_charge:
78
64
  VAR_TYPE: support_data
79
65
  SCALETYP: log
80
66
  FILLVAL: *int_fillval
81
- FORMAT: I4
82
- VALIDMIN: 0
83
- VALIDMAX: 10
67
+ FORMAT: E10.3
68
+ VALIDMIN: 0.0
69
+ VALIDMAX: 1.00e04
84
70
  LABL_PTR_1: spin_phase_labels
85
71
  UNITS: fC
86
72
  DICT_KEY: SPASE>Support>SupportQuantity:Other
87
73
 
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
74
 
112
75
  # Base attributes for charge and mass variables
113
76
  base_charge: &base_charge
@@ -140,20 +103,6 @@ base_mass: &base_mass
140
103
  VALIDMIN: 0.0
141
104
  VALIDMAX: *int_maxval
142
105
 
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
106
  rate_by_charge:
158
107
  <<: *base_charge
159
108
  CATDESC: Count rate per day by impact charge and spin phase.
@@ -162,14 +111,6 @@ rate_by_charge:
162
111
  FILLVAL: *double_fillval
163
112
  DICT_KEY: SPASE>SupportQuantity:CountRate,Qualifier:Array
164
113
 
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
114
  rate_by_mass:
174
115
  <<: *base_mass
175
116
  CATDESC: Count rate per day by mass and spin phase.
@@ -178,14 +119,6 @@ rate_by_mass:
178
119
  FILLVAL: *double_fillval
179
120
  DICT_KEY: SPASE>SupportQuantity:CountRate,Qualifier:Array
180
121
 
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
122
  counts_by_charge:
190
123
  <<: *base_charge
191
124
  CATDESC: Count by impact charge and spin phase.
@@ -194,14 +127,6 @@ counts_by_charge:
194
127
  UNITS: counts
195
128
  DICT_KEY: SPASE>Particle>ParticleType:Dust,ParticleQuantity:Counts,Qualifier:Array
196
129
 
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
130
  counts_by_mass:
206
131
  <<: *base_mass
207
132
  CATDESC: Count by mass and spin phase.
@@ -210,14 +135,6 @@ counts_by_mass:
210
135
  UNITS: counts
211
136
  DICT_KEY: SPASE>Particle>ParticleType:Dust,ParticleQuantity:Counts,Qualifier:Array
212
137
 
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
-
221
138
  impact_day_of_year:
222
139
  CATDESC: The unique day of the years when dust impacts occurred.
223
140
  FIELDNAM: Impact Day of Year
@@ -1,20 +1,53 @@
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
1
+ int_fillval: &int_fillval -9223372036854775808
2
+ int_maxval: &int_maxval 9223372036854775807
3
+ double_fillval: &double_fillval -1.0E31
9
4
 
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
5
+ # Base attributes for charge and mass variables
6
+ base_charge: &base_charge
7
+ CATDESC: " "
8
+ FIELDNAM: " "
9
+ DEPEND_0: epoch
10
+ DEPEND_1: impact_charge
11
+ DEPEND_2: spin_phase
12
+ LABL_PTR_1: charge_labels
13
+ LABL_PTR_2: spin_phase_labels
14
+ DISPLAY_TYPE: spectrogram
15
+ VAR_TYPE: data
16
+ FILLVAL: *int_fillval
17
+ FORMAT: E10.3
18
+ VALIDMIN: -1
19
+ VALIDMAX: *int_maxval
20
+
21
+ base_mass: &base_mass
22
+ CATDESC: " "
23
+ FIELDNAM: " "
24
+ DEPEND_0: epoch
25
+ DEPEND_1: mass
26
+ DEPEND_2: spin_phase
27
+ LABL_PTR_1: mass_labels
28
+ LABL_PTR_2: spin_phase_labels
29
+ DISPLAY_TYPE: spectrogram
30
+ VAR_TYPE: data
31
+ FILLVAL: *int_fillval
32
+ FORMAT: E10.3
33
+ VALIDMIN: 0.0
34
+ VALIDMAX: *int_maxval
35
+
36
+ base_charge_map: &base_charge_map
37
+ <<: *base_charge
38
+ DEPEND_2: rectangular_lon_pixel
39
+ DEPEND_3: rectangular_lat_pixel
40
+ LABL_PTR_2: rectangular_lon_pixel_label
41
+ LABL_PTR_3: rectangular_lat_pixel_label
42
+
43
+ base_mass_map: &base_mass_map
44
+ <<: *base_mass
45
+ DEPEND_2: rectangular_lon_pixel
46
+ DEPEND_3: rectangular_lat_pixel
47
+ LABL_PTR_2: rectangular_lon_pixel_label
48
+ LABL_PTR_3: rectangular_lat_pixel_label
17
49
 
50
+ # Label attributes
18
51
  rectangular_lon_pixel_label:
19
52
  CATDESC: Longitude pixel index label for IDEX SkyMap.
20
53
  FIELDNAM: Longitude pixel label
@@ -27,4 +60,61 @@ rectangular_lat_pixel_label:
27
60
  FIELDNAM: Latitude pixel label
28
61
  FORMAT: A5
29
62
  VAR_TYPE: metadata
30
- DICT_KEY: SPASE>Support>SupportQuantity:Other
63
+ DICT_KEY: SPASE>Support>SupportQuantity:Other
64
+
65
+ # Vars
66
+ rectangular_lon_pixel:
67
+ CATDESC: Longitude pixel center for IDEX SkyMap
68
+ FIELDNAM: Rectangular Longitude Center
69
+ FORMAT: F12.6
70
+ LABLAXIS: Longitude Pixel
71
+ VAR_TYPE: support_data
72
+ UNITS: degrees
73
+ VALIDMIN: 0
74
+ VALIDMAX: 360
75
+ FILLVAL: *double_fillval
76
+ DICT_KEY: SPASE>Support>SupportQuantity:Positional
77
+
78
+ rectangular_lat_pixel:
79
+ CATDESC: Latitude pixel center for IDEX SkyMap
80
+ FIELDNAM: Rectangular Latitude Center
81
+ FORMAT: F12.6
82
+ LABLAXIS: Latitude Pixel
83
+ VAR_TYPE: support_data
84
+ UNITS: degrees
85
+ VALIDMIN: -90
86
+ VALIDMAX: 90
87
+ FILLVAL: *double_fillval
88
+ DICT_KEY: SPASE>Support>SupportQuantity:Positional
89
+
90
+ rate_by_charge_map:
91
+ <<: *base_charge_map
92
+ CATDESC: Count rate per day by impact charge, longitude, and latitude.
93
+ FIELDNAM: Rate (day^-1) by Charge Map
94
+ UNITS: day^-1
95
+ FILLVAL: *double_fillval
96
+ DICT_KEY: SPASE>SupportQuantity:CountRate,Qualifier:Array
97
+
98
+ counts_by_charge_map:
99
+ <<: *base_charge_map
100
+ CATDESC: Count by impact charge, longitude, and latitude.
101
+ FIELDNAM: Counts by Charge Map
102
+ FORMAT: I8
103
+ UNITS: counts
104
+ DICT_KEY: SPASE>Particle>ParticleType:Dust,ParticleQuantity:Counts,Qualifier:Array
105
+
106
+ counts_by_mass_map:
107
+ <<: *base_mass_map
108
+ CATDESC: Count by mass, longitude, and latitude.
109
+ FIELDNAM: Counts by Mass Map
110
+ FORMAT: I8
111
+ UNITS: counts
112
+ DICT_KEY: SPASE>Particle>ParticleType:Dust,ParticleQuantity:Counts,Qualifier:Array
113
+
114
+ rate_by_mass_map:
115
+ <<: *base_mass_map
116
+ CATDESC: Count rate per day by mass, longitude, and latitude.
117
+ FIELDNAM: Rate (day^-1) by Mass Map
118
+ UNITS: day^-1
119
+ FILLVAL: *double_fillval
120
+ DICT_KEY: SPASE>SupportQuantity:CountRate,Qualifier:Array
@@ -107,8 +107,9 @@ imap_lo_l1c_pset:
107
107
  Logical_source: imap_lo_l1c_pset
108
108
  Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-1C Data
109
109
 
110
- imap_lo_l2_l090-ena-h-sf-nsp-ram-hae-6deg-3mo:
110
+ # Global attributes for different sensors and sky tiling types and durations
111
+ imap_lo_l2_enamap:
111
112
  <<: *instrument_base
112
- Data_type: L2_l090-ena-h-sf-nsp-ram-hae-6deg-3mo>Level-2 Low-Energy ENA Maps
113
- Logical_source: imap_lo_l2_l090-ena-h-sf-nsp-ram-hae-6deg-3mo
114
- Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-2 Low-Energy ENA Maps
113
+ Data_type: L2_{descriptor}>Level-2 Intensity Map for Lo
114
+ Logical_source: imap_lo_l2_{descriptor}
115
+ Logical_source_description: IMAP-Lo Instrument Level-2 Intensity Map Data for Lo
@@ -57,8 +57,8 @@ hist_az_60_default: &hist_az_60_default
57
57
  <<: *default_uint32
58
58
  VAR_TYPE: data
59
59
  DEPEND_0: epoch
60
- DEPEND_1: azimuth_60
61
- DEPEND_2: esa_step
60
+ DEPEND_1: esa_step
61
+ DEPEND_2: azimuth_60
62
62
  LABL_PTR_1: azimuth_60_label
63
63
  LABL_PTR_2: esa_step_label
64
64
 
@@ -66,8 +66,8 @@ hist_az_6_default: &hist_az_6_default
66
66
  <<: *default_uint32
67
67
  VAR_TYPE: data
68
68
  DEPEND_0: epoch
69
- DEPEND_1: azimuth_6
70
- DEPEND_2: esa_step
69
+ DEPEND_1: esa_step
70
+ DEPEND_2: azimuth_6
71
71
  LABL_PTR_1: azimuth_6_label
72
72
  LABL_PTR_2: esa_step_label
73
73
 
@@ -78,17 +78,6 @@ spin_default_attrs: &spin_default
78
78
  DEPEND_1: spin
79
79
  LABL_PTR_1: spin_label
80
80
 
81
-
82
- # Re-used Coordinate
83
- epoch:
84
- <<: *default_int64
85
- CATDESC: Epoch Time
86
- DEPEND_0: epoch
87
- FIELDNAM: Epoch time
88
- Units: 'ns'
89
- VAR_TYPE: support_data
90
- LABLAXIS: Epoch
91
-
92
81
  esa_step_label:
93
82
  CATDESC: ESA Steps
94
83
  FIELDNAM: ESA Steps