From fb231bef956cba9145c391382f6f1fd36f02a0aa Mon Sep 17 00:00:00 2001 From: vagudets Date: Wed, 10 Apr 2024 11:00:45 +0200 Subject: [PATCH] Bugfix: check_recipe() assigned 'Multimodel: False' instead of 'Multimodel:execute: False' --- recipes/examples/recipe_tas_seasonal_oper.yml | 7 ++++--- tools/check_recipe.R | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/recipes/examples/recipe_tas_seasonal_oper.yml b/recipes/examples/recipe_tas_seasonal_oper.yml index 75918265..e8cf803b 100644 --- a/recipes/examples/recipe_tas_seasonal_oper.yml +++ b/recipes/examples/recipe_tas_seasonal_oper.yml @@ -10,7 +10,8 @@ Analysis: Datasets: System: name: ECMWF-SEAS5.1 # Mandatory, str: system5c3s system21_m1 system35c3s - Multimodel: no # Mandatory, bool: Either yes/true or no/false + Multimodel: + execute: no # Mandatory, bool: Either yes/true or no/false Reference: name: ERA5 # Mandatory, str: Reference codename. See docu. Time: @@ -58,5 +59,5 @@ Analysis: Run: Loglevel: INFO Terminal: TRUE - output_dir: /esarchive/scratch/nperez/cs_oper/ - code_dir: /esarchive/scratch/nperez/git/s2s-suite/ + output_dir: /esarchive/scratch/vagudets/auto-s2s-outputs/ + code_dir: ./ diff --git a/tools/check_recipe.R b/tools/check_recipe.R index 01896877..e11a3dd1 100644 --- a/tools/check_recipe.R +++ b/tools/check_recipe.R @@ -134,7 +134,7 @@ check_recipe <- function(recipe) { } } } else { - recipe$Analysis$Datasets$Multimodel <- FALSE + recipe$Analysis$Datasets$Multimodel$execute <- FALSE } # Check ftime_min and ftime_max if ((!(recipe$Analysis$Time$ftime_min > 0)) || -- GitLab