imap-processing 0.9.0__py3-none-any.whl → 0.11.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 (243) hide show
  1. imap_processing/_version.py +2 -2
  2. imap_processing/cdf/config/imap_codice_l1a_variable_attrs.yaml +749 -442
  3. imap_processing/cdf/config/imap_glows_global_cdf_attrs.yaml +7 -0
  4. imap_processing/cdf/config/imap_glows_l1a_variable_attrs.yaml +8 -2
  5. imap_processing/cdf/config/imap_glows_l1b_variable_attrs.yaml +0 -1
  6. imap_processing/cdf/config/imap_glows_l2_variable_attrs.yaml +358 -0
  7. imap_processing/cdf/config/imap_hi_variable_attrs.yaml +59 -25
  8. imap_processing/cdf/config/imap_hit_global_cdf_attrs.yaml +22 -0
  9. imap_processing/cdf/config/imap_idex_l1a_variable_attrs.yaml +32 -8
  10. imap_processing/cdf/config/imap_idex_l1b_variable_attrs.yaml +94 -5
  11. imap_processing/cdf/config/imap_lo_l1a_variable_attrs.yaml +65 -37
  12. imap_processing/cdf/config/imap_swapi_variable_attrs.yaml +16 -1
  13. imap_processing/cdf/config/imap_swe_global_cdf_attrs.yaml +7 -0
  14. imap_processing/cdf/config/imap_swe_l1a_variable_attrs.yaml +14 -14
  15. imap_processing/cdf/config/imap_swe_l1b_variable_attrs.yaml +25 -24
  16. imap_processing/cdf/config/imap_swe_l2_variable_attrs.yaml +238 -0
  17. imap_processing/cdf/config/imap_ultra_l1b_variable_attrs.yaml +100 -92
  18. imap_processing/cdf/utils.py +2 -2
  19. imap_processing/cli.py +45 -9
  20. imap_processing/codice/codice_l1a.py +104 -58
  21. imap_processing/codice/constants.py +111 -155
  22. imap_processing/codice/data/esa_sweep_values.csv +256 -256
  23. imap_processing/codice/data/lo_stepping_values.csv +128 -128
  24. imap_processing/ena_maps/ena_maps.py +519 -0
  25. imap_processing/ena_maps/utils/map_utils.py +145 -0
  26. imap_processing/ena_maps/utils/spatial_utils.py +226 -0
  27. imap_processing/glows/__init__.py +3 -0
  28. imap_processing/glows/ancillary/imap_glows_pipeline_settings_v001.json +52 -0
  29. imap_processing/glows/l1a/glows_l1a.py +72 -14
  30. imap_processing/glows/l1b/glows_l1b.py +2 -1
  31. imap_processing/glows/l1b/glows_l1b_data.py +25 -1
  32. imap_processing/glows/l2/glows_l2.py +324 -0
  33. imap_processing/glows/l2/glows_l2_data.py +156 -51
  34. imap_processing/hi/l1a/science_direct_event.py +57 -51
  35. imap_processing/hi/l1b/hi_l1b.py +43 -28
  36. imap_processing/hi/l1c/hi_l1c.py +225 -42
  37. imap_processing/hi/utils.py +20 -3
  38. imap_processing/hit/l0/constants.py +2 -2
  39. imap_processing/hit/l0/decom_hit.py +1 -1
  40. imap_processing/hit/l1a/hit_l1a.py +94 -13
  41. imap_processing/hit/l1b/hit_l1b.py +158 -9
  42. imap_processing/ialirt/l0/process_codicehi.py +156 -0
  43. imap_processing/ialirt/l0/process_codicelo.py +5 -2
  44. imap_processing/ialirt/packet_definitions/ialirt.xml +28 -20
  45. imap_processing/ialirt/packet_definitions/ialirt_codicehi.xml +241 -0
  46. imap_processing/ialirt/packet_definitions/ialirt_swapi.xml +170 -0
  47. imap_processing/ialirt/packet_definitions/ialirt_swe.xml +258 -0
  48. imap_processing/ialirt/process_ephemeris.py +72 -40
  49. imap_processing/idex/decode.py +241 -0
  50. imap_processing/idex/idex_l1a.py +143 -81
  51. imap_processing/idex/idex_l1b.py +244 -10
  52. imap_processing/lo/l0/lo_science.py +61 -0
  53. imap_processing/lo/l1a/lo_l1a.py +98 -10
  54. imap_processing/lo/l1b/lo_l1b.py +2 -2
  55. imap_processing/lo/l1c/lo_l1c.py +2 -2
  56. imap_processing/lo/packet_definitions/lo_xtce.xml +1082 -9178
  57. imap_processing/mag/l0/decom_mag.py +2 -2
  58. imap_processing/mag/l1a/mag_l1a.py +7 -7
  59. imap_processing/mag/l1a/mag_l1a_data.py +62 -30
  60. imap_processing/mag/l1b/mag_l1b.py +11 -6
  61. imap_processing/quality_flags.py +18 -3
  62. imap_processing/spice/geometry.py +149 -177
  63. imap_processing/spice/kernels.py +26 -26
  64. imap_processing/spice/spin.py +233 -0
  65. imap_processing/spice/time.py +96 -31
  66. imap_processing/swapi/l1/swapi_l1.py +60 -31
  67. imap_processing/swapi/packet_definitions/swapi_packet_definition.xml +363 -384
  68. imap_processing/swe/l1a/swe_l1a.py +8 -3
  69. imap_processing/swe/l1a/swe_science.py +24 -24
  70. imap_processing/swe/l1b/swe_l1b.py +2 -1
  71. imap_processing/swe/l1b/swe_l1b_science.py +181 -122
  72. imap_processing/swe/l2/swe_l2.py +337 -70
  73. imap_processing/swe/utils/swe_utils.py +28 -0
  74. imap_processing/tests/cdf/test_utils.py +2 -2
  75. imap_processing/tests/codice/conftest.py +20 -17
  76. imap_processing/tests/codice/data/validation/imap_codice_l1a_hskp_20241110193622_v0.0.0.cdf +0 -0
  77. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-counters-aggregated_20241110193700_v0.0.0.cdf +0 -0
  78. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-counters-singles_20241110193700_v0.0.0.cdf +0 -0
  79. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-nsw-angular_20241110193700_v0.0.0.cdf +0 -0
  80. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-nsw-priority_20241110193700_v0.0.0.cdf +0 -0
  81. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-nsw-species_20241110193700_v0.0.0.cdf +0 -0
  82. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-sw-angular_20241110193700_v0.0.0.cdf +0 -0
  83. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-sw-priority_20241110193700_v0.0.0.cdf +0 -0
  84. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-sw-species_20241110193700_v0.0.0.cdf +0 -0
  85. imap_processing/tests/codice/test_codice_l0.py +55 -121
  86. imap_processing/tests/codice/test_codice_l1a.py +147 -59
  87. imap_processing/tests/conftest.py +81 -22
  88. imap_processing/tests/ena_maps/test_ena_maps.py +309 -0
  89. imap_processing/tests/ena_maps/test_map_utils.py +286 -0
  90. imap_processing/tests/ena_maps/test_spatial_utils.py +161 -0
  91. imap_processing/tests/glows/conftest.py +7 -1
  92. imap_processing/tests/glows/test_glows_l1a_cdf.py +3 -7
  93. imap_processing/tests/glows/test_glows_l1a_data.py +34 -6
  94. imap_processing/tests/glows/test_glows_l1b_data.py +29 -17
  95. imap_processing/tests/glows/test_glows_l2.py +101 -0
  96. imap_processing/tests/hi/conftest.py +3 -3
  97. imap_processing/tests/hi/data/l1/imap_hi_l1b_45sensor-de_20250415_v999.cdf +0 -0
  98. imap_processing/tests/hi/data/l1/imap_his_pset-calibration-prod-config_20240101_v001.csv +31 -0
  99. imap_processing/tests/hi/test_hi_l1b.py +14 -9
  100. imap_processing/tests/hi/test_hi_l1c.py +136 -36
  101. imap_processing/tests/hi/test_l1a.py +0 -2
  102. imap_processing/tests/hi/test_science_direct_event.py +18 -14
  103. imap_processing/tests/hi/test_utils.py +16 -11
  104. imap_processing/tests/hit/helpers/__init__.py +0 -0
  105. imap_processing/tests/hit/helpers/l1_validation.py +405 -0
  106. imap_processing/tests/hit/test_data/sci_sample.ccsds +0 -0
  107. imap_processing/tests/hit/test_decom_hit.py +8 -10
  108. imap_processing/tests/hit/test_hit_l1a.py +117 -180
  109. imap_processing/tests/hit/test_hit_l1b.py +149 -55
  110. imap_processing/tests/hit/validation_data/hit_l1b_standard_sample2_nsrl_v4_3decimals.csv +62 -0
  111. imap_processing/tests/hit/validation_data/sci_sample_raw.csv +62 -0
  112. imap_processing/tests/ialirt/test_data/l0/20240827095047_SWE_IALIRT_packet.bin +0 -0
  113. imap_processing/tests/ialirt/test_data/l0/BinLog CCSDS_FRAG_TLM_20240826_152323Z_IALIRT_data_for_SDC.bin +0 -0
  114. imap_processing/tests/ialirt/test_data/l0/eu_SWP_IAL_20240826_152033.csv +644 -0
  115. imap_processing/tests/ialirt/test_data/l0/hi_fsw_view_1_ccsds.bin +0 -0
  116. imap_processing/tests/ialirt/test_data/l0/idle_export_eu.SWE_IALIRT_20240827_093852.csv +914 -0
  117. imap_processing/tests/ialirt/test_data/l0/imap_codice_l1a_hi-ialirt_20240523200000_v0.0.0.cdf +0 -0
  118. imap_processing/tests/ialirt/unit/test_process_codicehi.py +106 -0
  119. imap_processing/tests/ialirt/unit/test_process_ephemeris.py +33 -5
  120. imap_processing/tests/ialirt/unit/test_process_swapi.py +85 -0
  121. imap_processing/tests/ialirt/unit/test_process_swe.py +106 -0
  122. imap_processing/tests/idex/conftest.py +29 -1
  123. imap_processing/tests/idex/test_data/compressed_2023_102_14_24_55.pkts +0 -0
  124. imap_processing/tests/idex/test_data/non_compressed_2023_102_14_22_26.pkts +0 -0
  125. imap_processing/tests/idex/test_idex_l0.py +6 -3
  126. imap_processing/tests/idex/test_idex_l1a.py +151 -1
  127. imap_processing/tests/idex/test_idex_l1b.py +124 -2
  128. imap_processing/tests/lo/test_lo_l1a.py +62 -2
  129. imap_processing/tests/lo/test_lo_science.py +85 -0
  130. imap_processing/tests/lo/validation_data/Instrument_FM1_T104_R129_20240803_ILO_SPIN_EU.csv +2 -0
  131. imap_processing/tests/mag/conftest.py +16 -0
  132. imap_processing/tests/mag/test_mag_decom.py +6 -4
  133. imap_processing/tests/mag/test_mag_l1a.py +36 -7
  134. imap_processing/tests/mag/test_mag_l1b.py +55 -4
  135. imap_processing/tests/mag/test_mag_validation.py +148 -0
  136. imap_processing/tests/mag/validation/L1a/T001/all_p_ones.txt +19200 -0
  137. imap_processing/tests/mag/validation/L1a/T001/mag-l0-l1a-t001-in.bin +0 -0
  138. imap_processing/tests/mag/validation/L1a/T001/mag-l0-l1a-t001-out.csv +17 -0
  139. imap_processing/tests/mag/validation/L1a/T002/all_n_ones.txt +19200 -0
  140. imap_processing/tests/mag/validation/L1a/T002/mag-l0-l1a-t002-in.bin +0 -0
  141. imap_processing/tests/mag/validation/L1a/T002/mag-l0-l1a-t002-out.csv +17 -0
  142. imap_processing/tests/mag/validation/L1a/T003/field_like.txt +19200 -0
  143. imap_processing/tests/mag/validation/L1a/T003/mag-l0-l1a-t003-in.bin +0 -0
  144. imap_processing/tests/mag/validation/L1a/T003/mag-l0-l1a-t003-out.csv +17 -0
  145. imap_processing/tests/mag/validation/L1a/T004/field_like.txt +19200 -0
  146. imap_processing/tests/mag/validation/L1a/T004/mag-l0-l1a-t004-in.bin +0 -0
  147. imap_processing/tests/mag/validation/L1a/T004/mag-l0-l1a-t004-out.csv +17 -0
  148. imap_processing/tests/mag/validation/L1a/T005/field_like_range_change.txt +19200 -0
  149. imap_processing/tests/mag/validation/L1a/T005/mag-l0-l1a-t005-in.bin +0 -0
  150. imap_processing/tests/mag/validation/L1a/T005/mag-l0-l1a-t005-out.csv +17 -0
  151. imap_processing/tests/mag/validation/L1a/T006/hdr_field.txt +19200 -0
  152. imap_processing/tests/mag/validation/L1a/T006/mag-l0-l1a-t006-in.bin +0 -0
  153. imap_processing/tests/mag/validation/L1a/T006/mag-l0-l1a-t006-out.csv +17 -0
  154. imap_processing/tests/mag/validation/L1a/T007/hdr_field_and_range_change.txt +19200 -0
  155. imap_processing/tests/mag/validation/L1a/T007/mag-l0-l1a-t007-in.bin +0 -0
  156. imap_processing/tests/mag/validation/L1a/T007/mag-l0-l1a-t007-out.csv +17 -0
  157. imap_processing/tests/mag/validation/L1a/T008/field_like_range_change.txt +19200 -0
  158. imap_processing/tests/mag/validation/L1a/T008/mag-l0-l1a-t008-in.bin +0 -0
  159. imap_processing/tests/mag/validation/L1a/T008/mag-l0-l1a-t008-out.csv +17 -0
  160. imap_processing/tests/mag/validation/L1b/T009/data.bin +0 -0
  161. imap_processing/tests/mag/validation/L1b/T009/field_like_all_ranges.txt +19200 -0
  162. imap_processing/tests/mag/validation/L1b/T009/mag-l1a-l1b-t009-in.csv +17 -0
  163. imap_processing/tests/mag/validation/L1b/T009/mag-l1a-l1b-t009-magi-out.csv +17 -0
  164. imap_processing/tests/mag/validation/L1b/T009/mag-l1a-l1b-t009-mago-out.csv +17 -0
  165. imap_processing/tests/mag/validation/L1b/T010/data.bin +0 -0
  166. imap_processing/tests/mag/validation/L1b/T010/field_like_all_ranges.txt +19200 -0
  167. imap_processing/tests/mag/validation/L1b/T010/mag-l1a-l1b-t010-in.csv +17 -0
  168. imap_processing/tests/mag/validation/L1b/T010/mag-l1a-l1b-t010-magi-out.csv +17 -0
  169. imap_processing/tests/mag/validation/L1b/T010/mag-l1a-l1b-t010-mago-out.csv +17 -0
  170. imap_processing/tests/mag/validation/L1b/T011/data.bin +0 -0
  171. imap_processing/tests/mag/validation/L1b/T011/field_like_all_ranges.txt +19200 -0
  172. imap_processing/tests/mag/validation/L1b/T011/mag-l1a-l1b-t011-in.csv +17 -0
  173. imap_processing/tests/mag/validation/L1b/T011/mag-l1a-l1b-t011-magi-out.csv +17 -0
  174. imap_processing/tests/mag/validation/L1b/T011/mag-l1a-l1b-t011-mago-out.csv +17 -0
  175. imap_processing/tests/spice/test_geometry.py +128 -133
  176. imap_processing/tests/spice/test_kernels.py +37 -37
  177. imap_processing/tests/spice/test_spin.py +184 -0
  178. imap_processing/tests/spice/test_time.py +43 -20
  179. imap_processing/tests/swapi/test_swapi_l1.py +11 -10
  180. imap_processing/tests/swapi/test_swapi_l2.py +13 -3
  181. imap_processing/tests/swe/test_swe_l1a.py +1 -1
  182. imap_processing/tests/swe/test_swe_l1b.py +20 -3
  183. imap_processing/tests/swe/test_swe_l1b_science.py +54 -35
  184. imap_processing/tests/swe/test_swe_l2.py +148 -5
  185. imap_processing/tests/test_cli.py +39 -7
  186. imap_processing/tests/test_quality_flags.py +19 -19
  187. imap_processing/tests/test_utils.py +3 -2
  188. imap_processing/tests/ultra/test_data/l0/ultra45_raw_sc_ultrarawimg_withFSWcalcs_FM45_40P_Phi28p5_BeamCal_LinearScan_phi2850_theta-000_20240207T102740.csv +3314 -3314
  189. imap_processing/tests/ultra/test_data/mock_data.py +161 -0
  190. imap_processing/tests/ultra/unit/conftest.py +73 -0
  191. imap_processing/tests/ultra/unit/test_badtimes.py +58 -0
  192. imap_processing/tests/ultra/unit/test_cullingmask.py +87 -0
  193. imap_processing/tests/ultra/unit/test_de.py +61 -60
  194. imap_processing/tests/ultra/unit/test_ultra_l1a.py +3 -3
  195. imap_processing/tests/ultra/unit/test_ultra_l1b.py +51 -77
  196. imap_processing/tests/ultra/unit/test_ultra_l1b_annotated.py +5 -5
  197. imap_processing/tests/ultra/unit/test_ultra_l1b_culling.py +114 -0
  198. imap_processing/tests/ultra/unit/test_ultra_l1b_extended.py +86 -26
  199. imap_processing/tests/ultra/unit/test_ultra_l1c.py +1 -1
  200. imap_processing/tests/ultra/unit/test_ultra_l1c_pset_bins.py +3 -3
  201. imap_processing/ultra/constants.py +11 -1
  202. imap_processing/ultra/l1a/ultra_l1a.py +2 -2
  203. imap_processing/ultra/l1b/badtimes.py +22 -5
  204. imap_processing/ultra/l1b/cullingmask.py +31 -5
  205. imap_processing/ultra/l1b/de.py +32 -37
  206. imap_processing/ultra/l1b/extendedspin.py +44 -20
  207. imap_processing/ultra/l1b/ultra_l1b.py +21 -22
  208. imap_processing/ultra/l1b/ultra_l1b_culling.py +190 -0
  209. imap_processing/ultra/l1b/ultra_l1b_extended.py +81 -30
  210. imap_processing/ultra/l1c/histogram.py +6 -2
  211. imap_processing/ultra/l1c/pset.py +6 -2
  212. imap_processing/ultra/l1c/ultra_l1c.py +2 -3
  213. imap_processing/ultra/l1c/ultra_l1c_pset_bins.py +4 -3
  214. imap_processing/ultra/utils/ultra_l1_utils.py +70 -14
  215. imap_processing/utils.py +2 -2
  216. {imap_processing-0.9.0.dist-info → imap_processing-0.11.0.dist-info}/METADATA +7 -2
  217. {imap_processing-0.9.0.dist-info → imap_processing-0.11.0.dist-info}/RECORD +235 -152
  218. imap_processing/tests/codice/data/eu_unit_lookup_table.csv +0 -101
  219. imap_processing/tests/codice/data/idle_export_eu.COD_NHK_20230822_122700 2.csv +0 -100
  220. imap_processing/tests/codice/data/idle_export_raw.COD_NHK_20230822_122700.csv +0 -100
  221. imap_processing/tests/codice/data/imap_codice_l0_raw_20241110_v001.pkts +0 -0
  222. imap_processing/tests/hi/test_data/l1a/imap_hi_l1a_45sensor-de_20250415_v000.cdf +0 -0
  223. imap_processing/tests/hit/test_data/sci_sample1.ccsds +0 -0
  224. imap_processing/tests/ultra/unit/test_spatial_utils.py +0 -125
  225. imap_processing/ultra/utils/spatial_utils.py +0 -221
  226. /imap_processing/tests/hi/{test_data → data}/l0/20231030_H45_APP_NHK.bin +0 -0
  227. /imap_processing/tests/hi/{test_data → data}/l0/20231030_H45_APP_NHK.csv +0 -0
  228. /imap_processing/tests/hi/{test_data → data}/l0/20231030_H45_SCI_CNT.bin +0 -0
  229. /imap_processing/tests/hi/{test_data → data}/l0/20231030_H45_SCI_DE.bin +0 -0
  230. /imap_processing/tests/hi/{test_data → data}/l0/H90_NHK_20241104.bin +0 -0
  231. /imap_processing/tests/hi/{test_data → data}/l0/H90_sci_cnt_20241104.bin +0 -0
  232. /imap_processing/tests/hi/{test_data → data}/l0/H90_sci_de_20241104.bin +0 -0
  233. /imap_processing/tests/hi/{test_data → data}/l0/README.txt +0 -0
  234. /imap_processing/tests/idex/{imap_idex_l0_raw_20231214_v001.pkts → test_data/imap_idex_l0_raw_20231214_v001.pkts} +0 -0
  235. /imap_processing/tests/idex/{impact_14_tof_high_data.txt → test_data/impact_14_tof_high_data.txt} +0 -0
  236. /imap_processing/tests/mag/{imap_mag_l1a_norm-magi_20251017_v001.cdf → validation/imap_mag_l1a_norm-magi_20251017_v001.cdf} +0 -0
  237. /imap_processing/tests/mag/{mag_l0_test_data.pkts → validation/mag_l0_test_data.pkts} +0 -0
  238. /imap_processing/tests/mag/{mag_l0_test_output.csv → validation/mag_l0_test_output.csv} +0 -0
  239. /imap_processing/tests/mag/{mag_l1_test_data.pkts → validation/mag_l1_test_data.pkts} +0 -0
  240. /imap_processing/tests/mag/{mag_l1a_test_output.csv → validation/mag_l1a_test_output.csv} +0 -0
  241. {imap_processing-0.9.0.dist-info → imap_processing-0.11.0.dist-info}/LICENSE +0 -0
  242. {imap_processing-0.9.0.dist-info → imap_processing-0.11.0.dist-info}/WHEEL +0 -0
  243. {imap_processing-0.9.0.dist-info → imap_processing-0.11.0.dist-info}/entry_points.txt +0 -0
@@ -39,3 +39,10 @@ imap_glows_l1b_de:
39
39
  Data_type: L1B_de>Level-1B Direct Events
40
40
  Logical_source: imap_glows_l1b_de
41
41
  Logical_source_description: IMAP Mission GLOWS Instrument Level-1B Direct Events Data.
42
+
43
+ imap_glows_l2_hist:
44
+ <<: *instrument_base
45
+ Data_level: L2
46
+ Data_type: L2_hist>Level-2 histogram
47
+ Logical_source: imap_glows_l2_hist
48
+ Logical_source_description: IMAP Mission GLOWS Instrument Level-2 Histogram Data.
@@ -5,6 +5,12 @@ max_uint16: &max_uint16 65535
5
5
  min_epoch: &min_epoch -315575942816000000
6
6
  max_epoch: &max_epoch 3155630469184000000
7
7
 
8
+ bins_label:
9
+ CATDESC: Histogram bin number
10
+ FIELDNAM: Bin number
11
+ FORMAT: A4
12
+ VAR_TYPE: metadata
13
+
8
14
  default_attrs: &default_attrs
9
15
  # TODO: Remove unneeded attributes once SAMMI is fixed
10
16
  RESOLUTION: ' '
@@ -63,7 +69,7 @@ direct_event_components_attrs:
63
69
 
64
70
  direct_events:
65
71
  <<: *default_attrs
66
- DEPEND_O: epoch
72
+ DEPEND_0: epoch
67
73
  DEPEND_1: within_the_second
68
74
  DEPEND_2: direct_event_components
69
75
  VALIDMIN: 0
@@ -82,10 +88,10 @@ histogram:
82
88
  CATDESC: Histogram of photon counts in scanning-circle bins
83
89
  DEPEND_0: epoch
84
90
  DEPEND_1: bins
91
+ LABL_PTR_1: bins_label
85
92
  FIELDNAM: Histogram of photon counts
86
93
  FORMAT: I4
87
94
  DISPLAY_TYPE: time_series
88
- LABLAXIS: Counts
89
95
  FILL_VAL: *max_uint16
90
96
  UNITS: counts
91
97
  VAR_TYPE: data
@@ -640,7 +640,6 @@ flags:
640
640
  FIELDNAM: Flags for histogram information
641
641
  LABLAXIS: flags
642
642
  DEPEND_1: flag_dim
643
- DEPEND_2: bins
644
643
  VALIDMIN: 0
645
644
  VALIDMAX: 1
646
645
  FORMAT: I1
@@ -0,0 +1,358 @@
1
+ int_fillval: &int_fillval -9223372036854775808
2
+ max_uint32: &max_uint32 4294967295
3
+ max_uint32_min_one: &max_uint32_min_one 4294967294
4
+ max_uint16: &max_uint16 65535
5
+ min_epoch: &min_epoch -315575942816000000
6
+
7
+ bins_label:
8
+ CATDESC: Histogram bin number
9
+ FIELDNAM: Bin number
10
+ FORMAT: A4
11
+ VAR_TYPE: metadata
12
+
13
+ flags_label:
14
+ CATDESC: Flags for histogram information
15
+ FIELDNAM: Flags for histogram information
16
+ FORMAT: A4
17
+ VAR_TYPE: metadata
18
+
19
+ default_attrs: &default_attrs
20
+ # TODO: Remove unneeded attributes once SAMMI is fixed
21
+ RESOLUTION: ' '
22
+ DISPLAY_TYPE: no_plot
23
+ TIME_BASE: J2000
24
+ TIME_SCALE: Terrestrial Time
25
+ REFERENCE_POSITION: Rotating Earth Geoid
26
+ UNITS: ' '
27
+ FILLVAL: *int_fillval
28
+ VALIDMIN: *min_epoch
29
+
30
+ support_data_defaults: &support_data_defaults
31
+ <<: *default_attrs
32
+ DEPEND_0: epoch
33
+ VALIDMIN: 0
34
+ VALIDMAX: 1
35
+ DISPLAY_TYPE: time_series
36
+ VAR_TYPE: support_data
37
+ FORMAT: I10
38
+ RESOLUTION: ISO8601
39
+
40
+ time_data_defaults: &time_data_defaults
41
+ <<: *support_data_defaults
42
+ FILLVAL: *int_fillval
43
+ FORMAT: F16.6
44
+ UNITS: seconds
45
+ VALIDMAX: 4294967295.0
46
+ VALIDMIN: 0.0
47
+
48
+ lightcurve_defaults: &lightcurve_defaults
49
+ <<: *support_data_defaults
50
+ DEPEND_1: bins
51
+ DISPLAY_TYPE: time_series
52
+ VAR_TYPE: data
53
+ LABL_PTR_1: bins_label
54
+
55
+ bins_dim:
56
+ <<: *default_attrs
57
+ VALIDMIN: 0
58
+ VALIDMAX: 3599
59
+ CATDESC: Histogram bin number
60
+ FIELDNAM: Bin number
61
+ FORMAT: I5
62
+ VAR_TYPE: support_data
63
+ LABLAXIS: Counts
64
+ FILLVAL: -32768
65
+ MONOTON: INCREASE
66
+ SCALETYP: linear
67
+
68
+ flags_dim:
69
+ <<: *default_attrs
70
+ FILLVAL: -1
71
+ CATDESC: Flags for histogram information
72
+ FIELDNAM: Flags for histogram information
73
+ UNITS: ' '
74
+ FORMAT: I2
75
+ LABLAXIS: Flags
76
+ VALIDMAX: 1
77
+ VALIDMIN: 0
78
+ VAR_TYPE: support_data
79
+
80
+ ecliptic_dim:
81
+ <<: *default_attrs
82
+ # TODO: Update validmin and validmax
83
+ VALIDMIN: *int_fillval
84
+ VALIDMAX: *max_uint32
85
+ CATDESC: Cartesian Ecliptic X, Y, Z coordinates for the spacecraft in KM
86
+ FIELDNAM: Cartesian Ecliptic X, Y, Z coordinates
87
+ LABLAXIS: Ecliptic Coordinates
88
+ UNITS: km
89
+ FILLVAL: *int_fillval
90
+ VAR_TYPE: support_data
91
+ FORMAT: F6.6
92
+
93
+ number_of_good_l1b_inputs:
94
+ <<: *support_data_defaults
95
+ CATDESC: Number of good time L1B inputs
96
+ FIELDNAM: Number of good time L1B inputs per observation day
97
+ FILLVAL: -1
98
+ FORMAT: I5
99
+ VALIDMAX: 99999
100
+
101
+ total_l1b_inputs:
102
+ <<: *support_data_defaults
103
+ CATDESC: Total number of L1B times
104
+ FIELDNAM: Total number of L1B times per observation day
105
+ FILLVAL: -1
106
+ FORMAT: I5
107
+ VALIDMAX: 99999
108
+
109
+ identifier:
110
+ <<: *support_data_defaults
111
+ CATDESC: Spin pointing number
112
+ FIELDNAM: Offical spin pointing number to identify observation day
113
+ FILLVAL: -1
114
+ FORMAT: I5
115
+ VALIDMAX: 99999
116
+
117
+ start_time:
118
+ <<: *time_data_defaults
119
+ CATDESC: Start time
120
+ FIELDNAM: Start time of the observation day
121
+
122
+ end_time:
123
+ <<: *time_data_defaults
124
+ CATDESC: End time
125
+ FIELDNAM: End time of the observation day
126
+
127
+ filter_temperature_average:
128
+ <<: *support_data_defaults
129
+ CATDESC: spin-block-averaged filter temperature
130
+ FIELDNAM: Average filter temperature
131
+ FILLVAL: *max_uint16
132
+ FORMAT: I4
133
+ LABLAXIS: Avgd Temperature
134
+ VALIDMAX: 255
135
+
136
+ filter_temperature_std_dev:
137
+ <<: *support_data_defaults
138
+ CATDESC: spin-block-averaged std_dev of filter temperature
139
+ FIELDNAM: std_dev of filter temperature
140
+ FILLVAL: *max_uint32
141
+ FORMAT: I6
142
+ LABLAXIS: std_dev
143
+ VALIDMAX: *max_uint16
144
+
145
+ hv_voltage_average:
146
+ <<: *support_data_defaults
147
+ CATDESC: spin-block-averaged CEM voltage
148
+ FIELDNAM: averaged CEM voltage
149
+ FILLVAL: *max_uint32
150
+ FORMAT: I6
151
+ LABLAXIS: Avg voltage
152
+ VALIDMAX: *max_uint16
153
+
154
+ hv_voltage_std_dev:
155
+ <<: *support_data_defaults
156
+ CATDESC: std_dev of HV voltage on the CEM, uint encoded
157
+ FIELDNAM: HV voltage std_dev
158
+ FILLVAL: *int_fillval
159
+ LABLAXIS: std_dev
160
+ VALIDMAX: *max_uint32
161
+
162
+ spin_period_average:
163
+ <<: *support_data_defaults
164
+ CATDESC: spin-block-averaged spin period
165
+ DEPEND_0: epoch
166
+ DISPLAY_TYPE: time_series
167
+ FIELDNAM: average spin period
168
+ FILLVAL: *max_uint32
169
+ FORMAT: I6
170
+ LABLAXIS: Spin period
171
+ UNITS: ' '
172
+ VALIDMAX: 50000 # TBC 15.38 s where 20.9712 s = 65535, rounded up
173
+ VALIDMIN: 45000 # TBC 14.63 s where 20.9712 s = 65535, rounded down
174
+ VAR_TYPE: support_data
175
+
176
+ spin_period_std_dev:
177
+ <<: *support_data_defaults
178
+ CATDESC: spin-block-averaged std_dev of spin period
179
+ FIELDNAM: std_dev of spin period
180
+ FILLVAL: *int_fillval
181
+ FORMAT: I10
182
+ LABLAXIS: std_dev
183
+ VALIDMAX: *max_uint32
184
+
185
+ # TODO review these
186
+ spin_period_ground_average:
187
+ <<: *support_data_defaults
188
+ CATDESC: spin-block-averaged spin period on ground
189
+ DEPEND_0: epoch
190
+ DISPLAY_TYPE: time_series
191
+ FIELDNAM: ground average spin period
192
+ FILLVAL: *max_uint32
193
+ FORMAT: I6
194
+ LABLAXIS: Spin period
195
+ UNITS: ' '
196
+ VALIDMAX: 50000 # TBC 15.38 s where 20.9712 s = 65535, rounded up
197
+ VALIDMIN: 45000 # TBC 14.63 s where 20.9712 s = 65535, rounded down
198
+ VAR_TYPE: support_data
199
+
200
+ spin_period_ground_std_dev:
201
+ <<: *support_data_defaults
202
+ CATDESC: spin-block-averaged std_dev of spin period on ground
203
+ FIELDNAM: ground std_dev of spin period
204
+ FILLVAL: *int_fillval
205
+ FORMAT: I10
206
+ LABLAXIS: std_dev
207
+ VALIDMAX: *max_uint32
208
+
209
+ pulse_length_average:
210
+ <<: *support_data_defaults
211
+ CATDESC: spin-block-averaged pulse length
212
+ FIELDNAM: Averaged pulse length
213
+ FILLVAL: *max_uint16
214
+ FORMAT: I4
215
+ LABLAXIS: Avg pulse len
216
+ VALIDMAX: 255
217
+
218
+ pulse_length_std_dev:
219
+ <<: *support_data_defaults
220
+ CATDESC: spin-block-averaged std_dev of pulse length
221
+ FIELDNAM: std_dev of pulse length
222
+ FILLVAL: *max_uint32
223
+ FORMAT: I10
224
+ LABLAXIS: std_dev
225
+ VALIDMAX: *max_uint16
226
+
227
+ position_angle_offset_average:
228
+ <<: *support_data_defaults
229
+ CATDESC: obs day averaged position angle offset
230
+ FIELDNAM: Averaged position angle offset
231
+ FILLVAL: *max_uint16
232
+ FORMAT: I4
233
+ LABLAXIS: Avg pos angle
234
+
235
+ position_angle_offset_std_dev:
236
+ <<: *support_data_defaults
237
+ CATDESC: obs day averaged std_dev of position angle offset
238
+ FIELDNAM: std_dev of position angle offset
239
+ FILLVAL: *max_uint16
240
+ FORMAT: I4
241
+ LABLAXIS: std_dev
242
+
243
+ spin_axis_orientation_std_dev:
244
+ <<: *support_data_defaults
245
+ CATDESC: obs day averaged std_dev of spin axis orientation
246
+ FIELDNAM: std_dev of spin axis orientation
247
+ FILLVAL: *max_uint16
248
+ FORMAT: I4
249
+ LABLAXIS: std_dev
250
+
251
+ spin_axis_orientation_average:
252
+ <<: *support_data_defaults
253
+ CATDESC: obs day averaged spin axis orientation
254
+ FIELDNAM: Averaged spin axis orientation
255
+ FILLVAL: *max_uint16
256
+ FORMAT: I4
257
+ LABLAXIS: Avg spin axis orientation
258
+
259
+ spacecraft_location_average:
260
+ <<: *support_data_defaults
261
+ DEPEND_1: ecliptic
262
+ CATDESC: obs day averaged spacecraft location
263
+ FIELDNAM: Averaged spacecraft location
264
+ FILLVAL: *max_uint16
265
+ FORMAT: I4
266
+ LABLAXIS: Avg spacecraft location
267
+
268
+ spacecraft_location_std_dev:
269
+ <<: *support_data_defaults
270
+ DEPEND_1: ecliptic
271
+ CATDESC: obs day averaged std_dev of spacecraft location
272
+ FIELDNAM: std_dev of spacecraft location
273
+ FILLVAL: *max_uint16
274
+ FORMAT: I4
275
+ LABLAXIS: std_dev
276
+
277
+ spacecraft_velocity_average:
278
+ <<: *support_data_defaults
279
+ DEPEND_1: ecliptic
280
+ CATDESC: obs day averaged spacecraft velocity
281
+ FIELDNAM: Averaged spacecraft velocity
282
+ FILLVAL: *max_uint16
283
+ FORMAT: I4
284
+ LABLAXIS: Avg spacecraft velocity
285
+
286
+ spacecraft_velocity_std_dev:
287
+ <<: *support_data_defaults
288
+ DEPEND_1: ecliptic
289
+ CATDESC: obs day averaged std_dev of spacecraft velocity
290
+ FIELDNAM: std_dev of spacecraft velocity
291
+ FILLVAL: *max_uint16
292
+ FORMAT: I4
293
+ LABLAXIS: std_dev
294
+
295
+ bad_time_flag_occurrences:
296
+ <<: *support_data_defaults
297
+ CATDESC: Occurrences of bad time flag
298
+ FIELDNAM: Occurrences of bad time flag during observation day
299
+ DEPEND_1: flags
300
+ LABL_PTR_1: flags_label
301
+ VALIDMIN: 0
302
+ VALIDMAX: 1
303
+ FILLVAL: -128
304
+ FORMAT: I2
305
+ LABLAXIS: Flag
306
+
307
+ spin_angle:
308
+ <<: *lightcurve_defaults
309
+ CATDESC: Spin angle for bin centers
310
+ FIELDNAM: Spin angle for bin centers measured from the North
311
+ UNITS: degrees
312
+ VALIDMAX: 360
313
+
314
+ photon_flux:
315
+ <<: *lightcurve_defaults
316
+ CATDESC: observational-day-averaged photon flux
317
+ FIELDNAM: Averaged photon flux
318
+ UNITS: Rayleigh
319
+
320
+ raw_histograms:
321
+ <<: *lightcurve_defaults
322
+ CATDESC: Summed raw histogram data
323
+ FIELDNAM: Raw histogram data
324
+
325
+ exposure_times:
326
+ <<: *lightcurve_defaults
327
+ CATDESC: Spin-block-averaged exposure times per bin
328
+ FIELDNAM: Exposure time per bin
329
+
330
+ flux_uncertainties:
331
+ <<: *lightcurve_defaults
332
+ CATDESC: Statistical uncertainties in the photon flux
333
+ FIELDNAM: Photon flux uncertainties
334
+
335
+ histogram_flag_array:
336
+ <<: *lightcurve_defaults
337
+ CATDESC: Per-bin flag array
338
+ FIELDNAM: Bin flag array
339
+
340
+ ecliptic_lon:
341
+ <<: *lightcurve_defaults
342
+ CATDESC: Ecliptic longitude of bin centers
343
+ FIELDNAM: Ecliptic longitude
344
+
345
+ ecliptic_lat:
346
+ <<: *lightcurve_defaults
347
+ CATDESC: Ecliptic latitude of bin centers
348
+ FIELDNAM: Ecliptic latitude
349
+
350
+ number_of_bins:
351
+ <<: *support_data_defaults
352
+ CATDESC: Number of bins in the histogram
353
+ FIELDNAM: Number of bins
354
+
355
+ raw_uncertainties:
356
+ <<: *lightcurve_defaults
357
+ CATDESC: Uncertainties in the raw histogram data
358
+ FIELDNAM: Raw histogram uncertainties
@@ -55,6 +55,14 @@ default_float32_attrs: &default_float32
55
55
  VALIDMAX: 3.4028235e+38
56
56
  dtype: float32
57
57
 
58
+ default_float64_attrs: &default_float64
59
+ <<: *default
60
+ FILLVAL: .NAN
61
+ FORMAT: F10.2
62
+ VALIDMIN: -1.7976931348623157e+308
63
+ VALIDMAX: 1.7976931348623157e+308
64
+ dtype: float64
65
+
58
66
  default_ccsds_version: &default_ccsds_version
59
67
  <<: *default_uint8
60
68
  CATDESC: CCSDS packet version number
@@ -145,46 +153,52 @@ hi_de_last_spin_num:
145
153
 
146
154
  hi_de_spin_invalids:
147
155
  <<: *default_uint8
148
- CATDESC: Binary mask where a 1-bit indicates an invalid spin for coresponding spin in packet
156
+ CATDESC: Binary mask where a 1-bit indicates an invalid spin for corresponding spin in packet
149
157
  FIELDNAM: spin flags
150
158
  FORMAT: I3
151
159
  LABLAXIS: spin flag
152
160
 
153
- hi_de_de_tag:
154
- <<: *default_uint16
155
- CATDESC: Ticks (nominally 1999us) since last meta-event
156
- FIELDNAM: Direct Event Time Tag
157
- LABLAXIS: DE Time Tag
158
-
159
161
  hi_de_esa_step:
160
162
  <<: *hi_esa_step
161
163
 
164
+ hi_de_meta_seconds:
165
+ <<: *default_uint32
166
+ CATDESC: Coarse mission elapsed time (MET) of last meta-event
167
+ DISPLAY_TYPE: time_series
168
+ FIELDNAM: Coarse Meta-event MET
169
+ LABLAXIS: Coarse Meta MET
170
+ UNITS: seconds
171
+ VAR_TYPE: support_data
172
+
173
+ hi_de_meta_subseconds:
174
+ <<: *default_uint16
175
+ CATDESC: Fine mission elapsed time (MET) of last meta-event
176
+ DISPLAY_TYPE: time_series
177
+ FIELDNAM: Fine Meta-event MET
178
+ LABLAXIS: Fine Meta MET
179
+ UNITS: ms
180
+ VAR_TYPE: support_data
181
+
162
182
  hi_de_event_met:
163
- <<: *default_int64
164
- CATDESC: Mission Elapsed Time (MET) of Direct Event
183
+ <<: *default_float64
184
+ CATDESC: Mission Elapsed Time (MET) in seconds of Direct Event
165
185
  DISPLAY_TYPE: no_plot
166
- FIELDNAM: Time since (TODO - what is the def of MET?)
186
+ FIELDNAM: Direct Event MET
167
187
  LABLAXIS: DE MET
168
- UNITS: ns
188
+ UNITS: seconds
169
189
  VAR_TYPE: support_data
170
- SCALE_TYP: linear
171
190
 
172
- hi_de_meta_event_met:
173
- <<: *default_int64
174
- CATDESC: Mission elapsed time (MET) of last meta-event
175
- DISPLAY_TYPE: no_plot
176
- FIELDNAM: Meta-event Mission Elapsed Time
177
- LABLAXIS: Meta MET
178
- UNITS: ns
179
- VALIDMIN: 0
180
- VALIDMAX: 4294967295
181
- VAR_TYPE: support_data
182
- SCALE_TYP: linear
183
- dtype: int64
191
+ hi_de_de_tag:
192
+ <<: *default_uint16
193
+ CATDESC: Ticks (nominally 1999us) since last meta-event
194
+ DEPEND_0: event_met
195
+ FIELDNAM: Direct Event Time Tag
196
+ LABLAXIS: DE Time Tag
184
197
 
185
198
  hi_de_trigger_id:
186
199
  <<: *default_uint8
187
200
  CATDESC: Trigger ID of the detector that was hit first
201
+ DEPEND_0: event_met
188
202
  FIELDNAM: Trigger ID
189
203
  FILLVAL: 0
190
204
  FORMAT: I1
@@ -197,6 +211,7 @@ hi_de_trigger_id:
197
211
 
198
212
  default_tof: &default_tof
199
213
  <<: *default_uint16
214
+ DEPEND_0: event_met
200
215
  FORMAT: I4
201
216
  UNITS: ticks
202
217
  VALIDMAX: 1023
@@ -225,6 +240,13 @@ hi_de_tof_3:
225
240
  Time of flight is 10-bit integer value that represents the time of flight of
226
241
  the direct event. 1023 is the value used to indicate no event was registered.
227
242
 
243
+ hi_de_ccsds_index:
244
+ <<: *default_uint16
245
+ CATDESC: Zero-based index that associates an event with the packet it was encoded in.
246
+ DEPEND_0: event_met
247
+ FIELDNAM: Packet Index
248
+ LABLAXIS: Packet Index
249
+
228
250
  # ======= L1A HIST Section =======
229
251
  # <=== Label Attributes ===>
230
252
  # LABL_PTR_i expects VAR_TYPE of metadata with char data type
@@ -296,6 +318,7 @@ hi_hist_cksum:
296
318
  hi_de_coincidence_type:
297
319
  <<: *default_uint8
298
320
  CATDESC: Bitmap of detectors hit for Direct Event
321
+ DEPEND_0: event_met
299
322
  FIELDNAM: Coincidence Type
300
323
  FILLVAL: 0
301
324
  FORMAT: I2
@@ -322,6 +345,7 @@ hi_de_esa_energy_step:
322
345
 
323
346
  default_delta_t: &default_delta_t
324
347
  <<: *default_int32
348
+ DEPEND_0: event_met
325
349
  FORMAT: I3
326
350
  LABLAXIS: delta T
327
351
  UNITS: ns
@@ -351,6 +375,7 @@ hi_de_delta_t_c1c2:
351
375
  hi_de_spin_phase:
352
376
  <<: *default_float32
353
377
  CATDESC: Floating point spin phase
378
+ DEPEND_0: event_met
354
379
  FIELDNAM: Spin Phase
355
380
  FORMAT: F4.3
356
381
  LABLAXIS: Spin Phase
@@ -360,6 +385,7 @@ hi_de_spin_phase:
360
385
  hi_de_hae_latitude:
361
386
  <<: *default_float32
362
387
  CATDESC: Look direction HAE latitude
388
+ DEPEND_0: event_met
363
389
  FIELDNAM: Ecliptic Latitude
364
390
  FORMAT: F5.2
365
391
  LABLAXIS: Lat
@@ -370,6 +396,7 @@ hi_de_hae_latitude:
370
396
  hi_de_hae_longitude:
371
397
  <<: *default_float32
372
398
  CATDESC: Look direction HAE longitude
399
+ DEPEND_0: event_met
373
400
  FIELDNAM: Ecliptic Longitude
374
401
  FORMAT: F5.2
375
402
  LABLAXIS: Lon
@@ -380,6 +407,7 @@ hi_de_hae_longitude:
380
407
  hi_de_quality_flag:
381
408
  <<: *default_uint16
382
409
  CATDESC: Direct event bitwise quality flag
410
+ DEPEND_0: event_met
383
411
  FIELDNAM: DE quality flag
384
412
  FILLVAL: 65535
385
413
  FORMAT: I5
@@ -392,6 +420,7 @@ hi_de_quality_flag:
392
420
  hi_de_nominal_bin:
393
421
  <<: *default_uint8
394
422
  CATDESC: Corresponding histogram angle bin for this Direct Event
423
+ DEPEND_0: event_met
395
424
  FIELDNAM: Histogram Bin Number
396
425
  FORMAT: I2
397
426
  LABLAXIS: Hist Bin \#
@@ -400,6 +429,11 @@ hi_de_nominal_bin:
400
429
 
401
430
  # ======= L1C PSET Section =======
402
431
 
432
+ # Define override values for epoch as defined in imap_constant_attrs.yaml
433
+ hi_pset_epoch:
434
+ CATDESC: Midpoint time of pointing, number of nanoseconds since J2000 with leap seconds included
435
+ BIN_LOCATION: 0.5
436
+
403
437
  hi_pset_esa_energy_step:
404
438
  <<: *default_esa_energy_step
405
439
  LABLAXIS: Energy Step
@@ -421,7 +455,7 @@ hi_pset_calibration_prod:
421
455
  SCALE_TYP: linear
422
456
  MONOTON: INCREASE
423
457
  VALIDMIN: 0
424
- VALIDMAX: 4
458
+ VALIDMAX: 9
425
459
  VAR_TYPE: support_data
426
460
  dtype: uint8
427
461
 
@@ -39,3 +39,25 @@ imap_hit_l1b_hk:
39
39
  Data_type: L1B_HK>Level-1B Housekeeping
40
40
  Logical_source: imap_hit_l1b_hk
41
41
  Logical_source_description: IMAP Mission HIT Instrument Level-1B Housekeeping Data.
42
+
43
+ imap_hit_l1b_standard-rates:
44
+ <<: *instrument_base
45
+ Data_level: 1B
46
+ Data_type: L1B_rates>Level-1B Standard Rates
47
+ Logical_source: imap_hit_l1b_standard-rates
48
+ Logical_source_description: IMAP Mission HIT Instrument Level-1B Standard Rates Data.
49
+
50
+ imap_hit_l1b_summed-rates:
51
+ <<: *instrument_base
52
+ Data_level: 1B
53
+ Data_type: L1B_summed-rates>Level-1B Summed Rates
54
+ Logical_source: imap_hit_l1b_summed-rates
55
+ Logical_source_description: IMAP Mission HIT Instrument Level-1B Summed Rates Data.
56
+
57
+ imap_hit_l1b_sectored-rates:
58
+ <<: *instrument_base
59
+ Data_level: 1B
60
+ Data_type: L1B_sectored-rates>Level-1B Sectored Rates
61
+ Logical_source: imap_hit_l1b_sectored-rates
62
+ Logical_source_description: IMAP Mission HIT Instrument Level-1B Sectored Rates Data.
63
+
@@ -38,13 +38,13 @@ l1a_data_base: &l1a_data_base
38
38
 
39
39
  l1a_tof_base: &l1a_tof_base
40
40
  <<: *l1a_data_base
41
- DEPEND_1: time_high_sr
42
- LABL_PTR_1: time_high_sr_label
41
+ DEPEND_1: time_high_sample_rate
42
+ LABL_PTR_1: time_high_sample_rate_label
43
43
 
44
44
  l1a_target_base: &l1a_target_base
45
45
  <<: *l1a_data_base
46
- DEPEND_1: time_low_sr
47
- LABL_PTR_1: time_low_sr_label
46
+ DEPEND_1: time_low_sample_rate
47
+ LABL_PTR_1: time_low_sample_rate_label
48
48
 
49
49
  sample_rate_base: &sample_rate_base
50
50
  DISPLAY_TYPE: no_plot
@@ -76,20 +76,20 @@ trigger_base: &trigger_base
76
76
  UNITS: " "
77
77
 
78
78
  # <=== LABL_PTR_i Attributes ===>
79
- time_high_sr_label:
79
+ time_high_sample_rate_label:
80
80
  CATDESC: High sample rate time steps for a dust event.
81
81
  FIELDNAM: High Sample Rate Time
82
82
  FORMAT: A5
83
83
  VAR_TYPE: metadata
84
84
 
85
- time_low_sr_label:
85
+ time_low_sample_rate_label:
86
86
  CATDESC: Low sample rate time steps for a dust event.
87
87
  FIELDNAM: Low Sample Rate Time
88
88
  FORMAT: A5
89
89
  VAR_TYPE: metadata
90
90
 
91
91
  # <=== Instrument Setting Attributes ===>
92
- low_sr_attrs:
92
+ low_sample_rate_attrs:
93
93
  <<: *sample_rate_base
94
94
  CATDESC: Low sample rate time steps for a dust event.
95
95
  FIELDNAM: Low Sample Rate Time
@@ -97,7 +97,7 @@ low_sr_attrs:
97
97
  microseconds in duration. Used by the Ion_Grid, Target_Low, and
98
98
  Target_High variables.
99
99
 
100
- high_sr_attrs:
100
+ high_sample_rate_attrs:
101
101
  <<: *sample_rate_base
102
102
  CATDESC: High sample rate time steps for a dust event.
103
103
  FIELDNAM: High Sample Rate Time
@@ -105,6 +105,30 @@ high_sr_attrs:
105
105
  microseconds in duration. Used by the TOF_High, TOF_Mid, and
106
106
  TOF_Low variables.
107
107
 
108
+ time_low_sample_rate_index:
109
+ CATDESC: Low sampling rate time index
110
+ FIELDNAM: Low sample rate
111
+ FILLVAL: *int_fillval
112
+ FORMAT: I3
113
+ LABLAXIS: Sample Rate
114
+ SCALE_TYP: linear
115
+ UNITS: " "
116
+ VALIDMAX: 511
117
+ VALIDMIN: 0
118
+ VAR_TYPE: support_data
119
+
120
+ time_high_sample_rate_index:
121
+ CATDESC: High sampling rate time index
122
+ FIELDNAM: Low sample rate
123
+ FILLVAL: *int_fillval
124
+ FORMAT: I3
125
+ LABLAXIS: Sample Rate
126
+ SCALE_TYP: linear
127
+ UNITS: " "
128
+ VALIDMAX: 8188
129
+ VALIDMIN: 0
130
+ VAR_TYPE: support_data
131
+
108
132
  tof_high_attrs:
109
133
  <<: *l1a_tof_base
110
134
  CATDESC: Time of flight waveform on the high-gain channel