merge#

Merge time-split NetCDF files with CDO.

The module groups matching input files, merges them along time, and can repeat the merge within subfolders while preserving a top-level directory structure. Large file lists are processed in chunks before creating the final output.

Authors#

  • Simon Lüdke

Functions#

merge_files(input_path, input_file_part, ...)

Merge NetCDF files along time using CDO via its Python API.

merge_files_from_folder(tmpdir, files, ...)

Merge files from a folder in chunks, writing intermediates to tmpdir.