Skip to content

Commit

Permalink
Convert all hi instances of uint64 CDF variables to int64 (#872)
Browse files Browse the repository at this point in the history
* Convert all hi instances of uint64 CDF variables to int64

* Fix fillval, validmin, and validmax for change from uint64 to int64
  • Loading branch information
subagonsouth authored Sep 25, 2024
1 parent 8de6517 commit d728aec
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions imap_processing/cdf/config/imap_hi_variable_attrs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ default_uint32_attrs: &default_uint32
VALIDMAX: 4294967295
dtype: uint32

default_uint64_attrs: &default_uint64
default_int64_attrs: &default_int64
<<: *default
FILLVAL: 18446744073709551615
FILLVAL: -9223372036854775808
FORMAT: I20
VALIDMIN: 0
VALIDMAX: 18446744073709551615
dtype: uint64
VALIDMIN: -9223372036854775808
VALIDMAX: 9223372036854775807
dtype: int64

default_int32_attrs: &default_int32
<<: *default
Expand Down Expand Up @@ -91,7 +91,7 @@ hi_de_esa_stepping_num:
<<: *hi_esa_stepping_num

hi_de_event_met:
<<: *default_uint64
<<: *default_int64
CATDESC: Mission Elapsed Time (MET) of Direct Event
DISPLAY_TYPE: no_plot
FIELDNAM: Time since (TODO - what is the def of MET?)
Expand All @@ -101,7 +101,7 @@ hi_de_event_met:
SCALE_TYP: linear

hi_de_meta_event_met:
<<: *default_uint64
<<: *default_int64
CATDESC: Mission elapsed time (MET) of last meta-event
DISPLAY_TYPE: no_plot
FIELDNAM: Meta-event Mission Elapsed Time
Expand All @@ -111,7 +111,7 @@ hi_de_meta_event_met:
VALIDMAX: 4294967295
VAR_TYPE: support_data
SCALE_TYP: linear
dtype: uint64
dtype: int64

hi_de_trigger_id:
<<: *default_uint8
Expand Down

0 comments on commit d728aec

Please sign in to comment.