Skip to content

Commit d2cf657

Browse files
authored
* Add L2 configuration * Updating SPASE * Adding glows SPASE metadata
1 parent 2fa4c6c commit d2cf657

5 files changed

Lines changed: 164 additions & 15 deletions

File tree

imap_processing/cdf/config/imap_glows_l2_variable_attrs.yaml

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ time_data_defaults: &time_data_defaults
4545
UNITS: N/A
4646
VALIDMIN: 0
4747
VALIDMAX: 0
48+
DICT_KEY: SPASE>Support>SupportQuantity:Temporal
4849

4950
lightcurve_defaults: &lightcurve_defaults
5051
<<: *support_data_defaults
@@ -65,18 +66,20 @@ bins_dim:
6566
FILLVAL: *max_uint16
6667
MONOTON: INCREASE
6768
SCALETYP: linear
69+
DICT_KEY: SPASE>Support>SupportQuantity:Other
6870

6971
flags_dim:
7072
<<: *default_attrs
7173
FILLVAL: 255
72-
CATDESC: Flag index for daily-occurence counters of L1B flags
74+
CATDESC: Flag index for daily-occurrence counters of L1B flags
7375
FIELDNAM: L1B flag index
7476
UNITS: ' '
7577
FORMAT: I2
7678
LABLAXIS: Index
7779
VALIDMAX: 16
7880
VALIDMIN: 0
7981
VAR_TYPE: support_data
82+
DICT_KEY: SPASE>Support>SupportQuantity:Other
8083

8184
ecliptic_dim:
8285
<<: *default_attrs
@@ -90,6 +93,8 @@ ecliptic_dim:
9093
FILLVAL: 255
9194
VAR_TYPE: support_data
9295
FORMAT: I1
96+
DICT_KEY: SPASE>Support>SupportQuantity:Orientation
97+
9398

9499
number_of_good_l1b_inputs:
95100
<<: *support_data_defaults
@@ -99,6 +104,7 @@ number_of_good_l1b_inputs:
99104
FILLVAL: *max_uint16
100105
FORMAT: I5
101106
VALIDMAX: 20000 # 3 days * 86400 s / 14.6 s rounded up
107+
DICT_KEY: SPASE>Support>SupportQuantity:Other
102108

103109
total_l1b_inputs:
104110
<<: *support_data_defaults
@@ -108,6 +114,7 @@ total_l1b_inputs:
108114
FILLVAL: *max_uint16
109115
FORMAT: I5
110116
VALIDMAX: 20000
117+
DICT_KEY: SPASE>Support>SupportQuantity:Other
111118

112119
identifier:
113120
<<: *support_data_defaults
@@ -117,6 +124,7 @@ identifier:
117124
FILLVAL: *max_uint32
118125
FORMAT: I5
119126
VALIDMAX: 99999
127+
DICT_KEY: SPASE>Support>SupportQuantity:Temporal
120128

121129
start_time:
122130
<<: *time_data_defaults
@@ -142,6 +150,7 @@ filter_temperature_average:
142150
VALIDMIN: -30.0
143151
VALIDMAX: 60.0
144152
UNITS: Celsius
153+
DICT_KEY: SPASE>Support>SupportQuantity:Other
145154

146155
filter_temperature_std_dev:
147156
<<: *support_data_defaults
@@ -153,6 +162,7 @@ filter_temperature_std_dev:
153162
VALIDMIN: 0.0
154163
VALIDMAX: 90.0
155164
UNITS: Celsius
165+
DICT_KEY: SPASE>Support>SupportQuantity:Housekeeping
156166

157167
hv_voltage_average:
158168
<<: *support_data_defaults
@@ -164,6 +174,7 @@ hv_voltage_average:
164174
VALIDMIN: 0.0
165175
VALIDMAX: 3500.0
166176
UNITS: V
177+
DICT_KEY: SPASE>Support>SupportQuantity:Housekeeping
167178

168179
hv_voltage_std_dev:
169180
<<: *support_data_defaults
@@ -175,6 +186,7 @@ hv_voltage_std_dev:
175186
VALIDMIN: 0.0
176187
VALIDMAX: 3500.0
177188
UNITS: V
189+
DICT_KEY: SPASE>Support>SupportQuantity:Housekeeping
178190

179191
spin_period_average:
180192
<<: *support_data_defaults
@@ -188,7 +200,7 @@ spin_period_average:
188200
UNITS: s
189201
VALIDMIN: 14.6
190202
VALIDMAX: 15.4
191-
#VAR_TYPE: support_data
203+
DICT_KEY: SPASE>Support>SupportQuantity:SpinPeriod
192204

193205
spin_period_std_dev:
194206
<<: *support_data_defaults
@@ -200,6 +212,7 @@ spin_period_std_dev:
200212
UNITS: s
201213
VALIDMIN: 0.0
202214
VALIDMAX: 9.9
215+
DICT_KEY: SPASE>Support>SupportQuantity:DataQuality
203216

204217
# TODO review these
205218
spin_period_ground_average:
@@ -214,7 +227,7 @@ spin_period_ground_average:
214227
UNITS: s
215228
VALIDMIN: 14.6
216229
VALIDMAX: 15.4
217-
#VAR_TYPE: support_data
230+
DICT_KEY: SPASE>Support>SupportQuantity:SpinPeriod
218231

219232
spin_period_ground_std_dev:
220233
<<: *support_data_defaults
@@ -226,6 +239,7 @@ spin_period_ground_std_dev:
226239
UNITS: s
227240
VALIDMIN: 0.0
228241
VALIDMAX: 9.9
242+
DICT_KEY: SPASE>Support>SupportQuantity:DataQuality
229243

230244
pulse_length_average:
231245
<<: *support_data_defaults
@@ -237,6 +251,7 @@ pulse_length_average:
237251
UNITS: us
238252
VALIDMIN: 0.0
239253
VALIDMAX: 12.75
254+
DICT_KEY: SPASE>Support>SupportQuantity:Housekeeping
240255

241256
pulse_length_std_dev:
242257
<<: *support_data_defaults
@@ -248,6 +263,7 @@ pulse_length_std_dev:
248263
UNITS: us
249264
VALIDMIN: 0.0
250265
VALIDMAX: 12.75
266+
DICT_KEY: SPASE>Support>SupportQuantity:Housekeeping
251267

252268
position_angle_offset_average:
253269
<<: *support_data_defaults
@@ -259,6 +275,7 @@ position_angle_offset_average:
259275
UNITS: degrees
260276
VALIDMIN: 0.0
261277
VALIDMAX: 360.0
278+
DICT_KEY: SPASE>Support>SupportQuantity:Positional
262279

263280
position_angle_offset_std_dev:
264281
<<: *support_data_defaults
@@ -270,6 +287,7 @@ position_angle_offset_std_dev:
270287
UNITS: degrees
271288
VALIDMIN: 0.0
272289
VALIDMAX: 360.0
290+
DICT_KEY: SPASE>Support>SupportQuantity:DataQuality
273291

274292
spin_axis_orientation_average:
275293
<<: *support_data_defaults
@@ -281,6 +299,7 @@ spin_axis_orientation_average:
281299
UNITS: degrees
282300
VALIDMIN: -90.0
283301
VALIDMAX: 360.0
302+
DICT_KEY: SPASE>Support>SupportQuantity:SpinPhase
284303

285304
spin_axis_orientation_std_dev:
286305
<<: *support_data_defaults
@@ -292,6 +311,7 @@ spin_axis_orientation_std_dev:
292311
UNITS: degrees
293312
VALIDMIN: 0.0
294313
VALIDMAX: 360.0
314+
DICT_KEY: SPASE>Support>SupportQuantity:DataQuality
295315

296316
spacecraft_location_average:
297317
<<: *support_data_defaults
@@ -305,6 +325,8 @@ spacecraft_location_average:
305325
UNITS: km
306326
VALIDMIN: -9.999999999E+8
307327
VALIDMAX: 9.999999999E+8
328+
DICT_KEY: SPASE>Support>SupportQuantity:Positional
329+
308330

309331
spacecraft_location_std_dev:
310332
<<: *support_data_defaults
@@ -318,6 +340,7 @@ spacecraft_location_std_dev:
318340
UNITS: km
319341
VALIDMIN: 0.0
320342
VALIDMAX: 1.5E+7 # 50 km/s * 3 days * 86400 s < 1.5e7
343+
DICT_KEY: SPASE>Support>SupportQuantity:DataQuality
321344

322345
spacecraft_velocity_average:
323346
<<: *support_data_defaults
@@ -331,6 +354,7 @@ spacecraft_velocity_average:
331354
UNITS: km/s
332355
VALIDMIN: -50.0
333356
VALIDMAX: 50.0
357+
DICT_KEY: SPASE>Support>SupportQuantity:Velocity
334358

335359
spacecraft_velocity_std_dev:
336360
<<: *support_data_defaults
@@ -344,6 +368,7 @@ spacecraft_velocity_std_dev:
344368
UNITS: km/s
345369
VALIDMIN: 0.0
346370
VALIDMAX: 9.9
371+
DICT_KEY: SPASE>Support>SupportQuantity:DataQuality
347372

348373
bad_time_flag_occurrences:
349374
<<: *support_data_defaults
@@ -356,6 +381,7 @@ bad_time_flag_occurrences:
356381
FORMAT: I5
357382
VALIDMAX: 20000
358383
LABLAXIS: No. of cases
384+
DICT_KEY: SPASE>Support>SupportQuantity:DataQuality
359385

360386
spin_angle:
361387
<<: *lightcurve_defaults
@@ -368,6 +394,7 @@ spin_angle:
368394
FORMAT: F7.3
369395
VALIDMIN: 0.0
370396
VALIDMAX: 360.0
397+
DICT_KEY: SPASE>Support>SupportQuantity:SpinPhase
371398

372399
photon_flux:
373400
<<: *lightcurve_defaults
@@ -380,6 +407,8 @@ photon_flux:
380407
FORMAT: F8.2
381408
VALIDMIN: 0.0
382409
VALIDMAX: 30000.0 # max 30000 cps in FDIR / from 1 to 3.37 cps-per-R
410+
# SPASE data pulled from TWINS 1 LAD metadata
411+
DICT_KEY: SPASE>Wave>WaveType:Electromagnetic,WaveQuantity:Intensity,Qualifier:Scalar
383412

384413
raw_histograms:
385414
<<: *lightcurve_defaults
@@ -392,6 +421,7 @@ raw_histograms:
392421
FORMAT: I8
393422
VALIDMIN: 0
394423
VALIDMAX: 35000000 # max 30000 cps in FDIR * 3 days * 86400 s / 225 bins rounded up
424+
DICT_KEY: SPASE>Support>SupportQuantity:Other
395425

396426
exposure_times:
397427
<<: *lightcurve_defaults
@@ -404,6 +434,7 @@ exposure_times:
404434
FORMAT: F7.2
405435
VALIDMIN: 0.0
406436
VALIDMAX: 1200.0 # 3 days * 86400 s / 225 bins rounded up
437+
DICT_KEY: SPASE>Support>SupportQuantity:Other
407438

408439
flux_uncertainties:
409440
<<: *lightcurve_defaults
@@ -416,6 +447,7 @@ flux_uncertainties:
416447
FORMAT: F8.2
417448
VALIDMIN: 0.0
418449
VALIDMAX: 30000.0 # the same VALIDMAX as for photon_flux assumed
450+
DICT_KEY: SPASE>Support>SupportQuantity:DataQuality
419451

420452
histogram_flag_array:
421453
<<: *lightcurve_defaults
@@ -428,6 +460,7 @@ histogram_flag_array:
428460
FORMAT: I2
429461
VALIDMIN: 0
430462
VALIDMAX: 15 # only 4 bits currently used
463+
DICT_KEY: SPASE>Support>SupportQuantity:DataQuality
431464

432465
ecliptic_lon:
433466
<<: *lightcurve_defaults
@@ -440,6 +473,7 @@ ecliptic_lon:
440473
FORMAT: F7.3
441474
VALIDMIN: 0.0
442475
VALIDMAX: 360.0
476+
DICT_KEY: SPASE>Support>SupportQuantity:Positional
443477

444478
ecliptic_lat:
445479
<<: *lightcurve_defaults
@@ -452,6 +486,7 @@ ecliptic_lat:
452486
FORMAT: F7.3
453487
VALIDMIN: -90.0
454488
VALIDMAX: 90.0
489+
DICT_KEY: SPASE>Support>SupportQuantity:Positional
455490

456491
number_of_bins:
457492
<<: *support_data_defaults
@@ -464,6 +499,7 @@ number_of_bins:
464499
FORMAT: I4
465500
VALIDMIN: 225
466501
VALIDMAX: 3600
502+
DICT_KEY: SPASE>Support>SupportQuantity:Other
467503

468504
# M. Strumik comment: this variable is obsolete and should not be used
469505
raw_uncertainties:

0 commit comments

Comments
 (0)