From f12f2937201a0025c18f4395deb297af70f81b80 Mon Sep 17 00:00:00 2001 From: "kate.friedman" Date: Wed, 8 Nov 2023 16:04:36 +0000 Subject: [PATCH] Fix fit2obs config list addition Update config list creation to only add the fit2obs config when the job is set to YES Refs #2043 --- workflow/applications/gfs_cycled.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/workflow/applications/gfs_cycled.py b/workflow/applications/gfs_cycled.py index cdb5e18f3e..3b8472d3c8 100644 --- a/workflow/applications/gfs_cycled.py +++ b/workflow/applications/gfs_cycled.py @@ -47,7 +47,7 @@ def _get_app_configs(self): if self.do_ocean: configs += ['ocnpost'] - configs += ['sfcanl', 'analcalc', 'fcst', 'post', 'vrfy', 'fit2obs', 'arch', 'cleanup'] + configs += ['sfcanl', 'analcalc', 'fcst', 'post', 'vrfy', 'arch', 'cleanup'] if self.do_hybvar: if self.do_jediatmens: @@ -56,6 +56,9 @@ def _get_app_configs(self): configs += ['eobs', 'eomg', 'ediag', 'eupd'] configs += ['ecen', 'esfc', 'efcs', 'echgres', 'epos', 'earc'] + if self.do_fit2obs: + configs += ['fit2obs'] + if self.do_verfozn: configs += ['verfozn']