Skip to content

Commit

Permalink
Keep_Attrs: Default to True
Browse files Browse the repository at this point in the history
  • Loading branch information
Ockenfuss committed Aug 24, 2024
1 parent 6b4c0f7 commit 84fe728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -6733,7 +6733,7 @@ def interpolate_na(
from xarray.core.missing import _apply_over_vars_with_dim, interp_na

if keep_attrs is None:
keep_attrs = _get_keep_attrs(default=False)
keep_attrs = _get_keep_attrs(default=True)

new = _apply_over_vars_with_dim(
interp_na,
Expand Down

0 comments on commit 84fe728

Please sign in to comment.