Skip to content

Commit

Permalink
fix default value inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathijs Verhaegh committed Jul 12, 2024
1 parent 46de50f commit 28e01ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xarray/conventions.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@ def stackable(dim: Hashable) -> bool:
mask_and_scale=_item_or_default(mask_and_scale, k, True),
decode_times=_item_or_default(decode_times, k, True),
stack_char_dim=stack_char_dim,
use_cftime=_item_or_default(use_cftime, k, True),
decode_timedelta=_item_or_default(decode_timedelta, k, True),
use_cftime=_item_or_default(use_cftime, k),
decode_timedelta=_item_or_default(decode_timedelta, k),
)
except Exception as e:
raise type(e)(f"Failed to decode variable {k!r}: {e}") from e
Expand Down

0 comments on commit 28e01ab

Please sign in to comment.