Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion imap_processing/idex/idex_l1a.py
Original file line number Diff line number Diff line change
Expand Up @@ -960,11 +960,15 @@ def process(self) -> Dataset | None:
# rename idx__txhdrfswaidcopy to aid for better readability in the final
# dataset
var_name = "aid" if var == "idx__txhdrfswaidcopy" else var
# Str variables don't need schema attributes like
# UNITS/VALIDMIN/VALIDMAX/DISPLAY_TYPE so skip the schema check for them.
trigger_vars[var_name] = xr.DataArray(
name=var_name,
data=[value],
dims=("epoch"),
attrs=idex_attrs.get_variable_attributes(var),
attrs=idex_attrs.get_variable_attributes(
var, check_schema=not isinstance(value, str)
),
)

data_vars = {
Expand Down
Loading