From 574eccf5d7d19ee81bc26582e91464170ec5bc6b Mon Sep 17 00:00:00 2001 From: Henry Addison Date: Mon, 11 Sep 2023 12:39:32 +0100 Subject: [PATCH] more debugging output for postprocessing --- src/ml_downscaling_emulator/bin/postprocess.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ml_downscaling_emulator/bin/postprocess.py b/src/ml_downscaling_emulator/bin/postprocess.py index 10310f3cb..666a0023f 100644 --- a/src/ml_downscaling_emulator/bin/postprocess.py +++ b/src/ml_downscaling_emulator/bin/postprocess.py @@ -44,7 +44,7 @@ def filter( ) os.makedirs(filtered_samples_dirpath, exist_ok=False) - for sample_filepath in samples_glob( + samples_filepaths_to_filter = samples_glob( samples_path( workdir, checkpoint=checkpoint, @@ -53,7 +53,10 @@ def filter( split=split, ensemble_member=ensemble_member, ) - ): + ) + + logger.info(f"Found for filtering: {samples_filepaths_to_filter}") + for sample_filepath in samples_filepaths_to_filter: logger.info(f"Working on {sample_filepath}") samples_ds = xr.open_dataset(sample_filepath)