From cf0e455bb29b57bad9ac6f7859f30f7048b41f22 Mon Sep 17 00:00:00 2001 From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu> Date: Fri, 21 May 2021 15:12:00 +0200 Subject: [PATCH] Added -nc file suffix. --- climax/main/preprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/climax/main/preprocess.py b/climax/main/preprocess.py index f6b537d..bf396b6 100644 --- a/climax/main/preprocess.py +++ b/climax/main/preprocess.py @@ -164,7 +164,7 @@ if __name__ == '__main__': # the current simulation y_min, _ = _parse_cordex_time_span(group[0]) # first year _, y_max = _parse_cordex_time_span(group[-1]) # last year - filename = '_'.join([sim, '-'.join([y_min, y_max])]) + filename = '_'.join([sim, '-'.join([y_min, y_max])]) + '.nc' filename = group[0].parent.joinpath(filename) # log simulation name, time span and files -- GitLab