Skip to content

Commit

Permalink
feat(gather_inputs.py): include debug messages in open_mfdataset
Browse files Browse the repository at this point in the history
  • Loading branch information
pgierz committed Nov 14, 2024
1 parent dfca662 commit 46126a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pymorize/gather_inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@ def load_mfdataset(data, rule_spec):
for f in file_collection.files:
all_files.append(f)
all_files = _resolve_symlinks(all_files)
logger.debug(f"Loading {len(all_files)} files...")
for f in all_files:
logger.debug(f" * {f}")
mf_ds = xr.open_mfdataset(
all_files, parallel=True, use_cftime=True, preprocess=register_cache
)
Expand Down

0 comments on commit 46126a5

Please sign in to comment.