Skip to content

Commit d12b65e

Browse files
Addressing postprocessing
1 parent 021d5b1 commit d12b65e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gencast_fp/postprocess/gencast_cf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,9 @@ def run_postprocess_day(
210210
out_day.mkdir(parents=True, exist_ok=True)
211211

212212
# Initial conditions (first two steps)
213-
init_files = sorted(geos_dir.glob(f"*source-geos*{Y}-{M}-{D}T{H:02d}_*.nc"))
214-
print(f"*source-geos*{Y}-{M}-{D}T{H:02d}_*.nc", init_files)
213+
init_files = sorted(
214+
geos_dir.glob(f"*source-geos*{Y:04d}-{M:02d}-{D:02d}T{H:02d}_*.nc"))
215+
print(f"*source-geos*{Y:04d}-{M:02d}-{D:02d}T{H:02d}_*.nc", init_files)
215216
"""
216217
if init_files:
217218
# ds_init = xr.open_dataset(init_files[0]).drop_vars("land_sea_mask", errors="ignore")

0 commit comments

Comments
 (0)