Skip to content

Commit

Permalink
Fixing pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
maxinelasp committed Nov 21, 2024
1 parent 4815e1e commit a58ef11
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion imap_processing/mag/l0/decom_mag.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ def generate_dataset(
direction.astype(str),
name="direction_label",
dims=["direction_label"],
attrs=attribute_manager.get_variable_attributes("direction_label", check_schema=False),
attrs=attribute_manager.get_variable_attributes(
"direction_label", check_schema=False
),
)

# TODO: Epoch here refers to the start of the sample. Confirm that this is
Expand Down
8 changes: 6 additions & 2 deletions imap_processing/mag/l1a/mag_l1a.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,14 +326,18 @@ def generate_dataset(
direction.values.astype(str),
name="direction_label",
dims=["direction_label"],
attrs=attribute_manager.get_variable_attributes("direction_label", check_schema=False),
attrs=attribute_manager.get_variable_attributes(
"direction_label", check_schema=False
),
)

compression_label = xr.DataArray(
compression.values.astype(str),
name="compression_label",
dims=["compression_label"],
attrs=attribute_manager.get_variable_attributes("compression_label", check_schema=False),
attrs=attribute_manager.get_variable_attributes(
"compression_label", check_schema=False
),
)

output = xr.Dataset(
Expand Down

0 comments on commit a58ef11

Please sign in to comment.