From a7a326d8e16829de382d829729dffd53145f6a80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de> Date: Fri, 12 May 2023 17:09:44 +0200 Subject: [PATCH] Add fix to deal with output_nml. --- templates/real-from-dwd-ana/prepare_namelist.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/real-from-dwd-ana/prepare_namelist.py b/templates/real-from-dwd-ana/prepare_namelist.py index 4816f66..a9be67b 100644 --- a/templates/real-from-dwd-ana/prepare_namelist.py +++ b/templates/real-from-dwd-ana/prepare_namelist.py @@ -120,6 +120,8 @@ def main(): """ # Process atmosphere namelist atmosphere_namelist = f90nml.read(ATMOSPHERE_NAMELIST_PATH.as_posix()) + # Convert output_nml to a cogroup. + atmosphere_namelist.create_cogroup("output_nml") print("Original atmosphere namelist:") print(atmosphere_namelist) atmosphere_namelist.patch(atmosphere_namelist_replacements) -- GitLab