From 35649f0ea70fd905166dbb4b678706ac903bbed5 Mon Sep 17 00:00:00 2001 From: peverwhee Date: Thu, 22 Aug 2024 16:04:14 -0600 Subject: [PATCH] exclude new tendency variables --- src/data/write_init_files.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/data/write_init_files.py b/src/data/write_init_files.py index aa93962e..03e0bd93 100644 --- a/src/data/write_init_files.py +++ b/src/data/write_init_files.py @@ -23,6 +23,7 @@ 'number_of_ccpp_constituents', 'number_of_ccpp_advected_constituents', 'ccpp_constituents', + 'ccpp_constituent_tendencies', 'ccpp_constituent_properties', 'ccpp_constituent_minimum_values', 'ccpp_error_message', @@ -326,7 +327,7 @@ def gather_ccpp_req_vars(cap_database): for cvar in cap_database.call_list(phase).variable_list(): stdname = cvar.get_prop_value('standard_name') intent = cvar.get_prop_value('intent') - is_const = cvar.get_prop_value('advected') + is_const = cvar.get_prop_value('advected') or cvar.get_prop_value('constituent') if ((intent in _INPUT_TYPES) and (stdname not in req_vars) and (stdname not in _EXCLUDED_STDNAMES)):