Skip to content

Commit fbfb7f6

Browse files
Copiloteeholmes
andcommitted
open_dataset/open_mfdataset: always include merge key in printed open_method spec
Co-authored-by: eeholmes <2545978+eeholmes@users.noreply.github.com>
1 parent 271fb04 commit fbfb7f6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/point_collocation/core/plan.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ def open_dataset(
293293

294294
if not silent:
295295
display_spec = {**spec, "open_kwargs": effective_kwargs}
296+
display_spec.setdefault("merge", None)
296297
print(f"open_method: {display_spec!r}")
297298

298299
if xarray_open == "datatree":
@@ -390,6 +391,7 @@ def open_mfdataset(
390391

391392
if not silent:
392393
display_spec = {**spec, "open_kwargs": effective_kwargs}
394+
display_spec.setdefault("merge", None)
393395
print(f"open_method: {display_spec!r}")
394396

395397
result_list = results.results if isinstance(results, Plan) else list(results)

0 commit comments

Comments
 (0)