Skip to content

Commit 7845732

Browse files
Enabling postprocessing THH directory
1 parent 43ca2a1 commit 7845732

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

gencast_fp/postprocess/gencast_cf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,12 @@ def run_postprocess_day(
214214
D = date.day
215215
H = date.hour
216216

217-
out_day = Path(
218-
post_out_dir) / f"Y{Y:04d}" / f"M{M:02d}" / f"D{D:02d}"
217+
# setup output directory
218+
out_day = \
219+
Path(post_out_dir) / f"Y{Y:04d}" / \
220+
f"M{M:02d}" / f"D{D:02d}" / f"T{H:02d}"
219221

222+
# make output directory
220223
out_day.mkdir(parents=True, exist_ok=True)
221224

222225
# Initial conditions (first two steps)

0 commit comments

Comments
 (0)