Skip to content

Commit

Permalink
exclude new tendency variables
Browse files Browse the repository at this point in the history
  • Loading branch information
peverwhee committed Aug 22, 2024
1 parent 8d71300 commit 35649f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/data/write_init_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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)):
Expand Down

0 comments on commit 35649f0

Please sign in to comment.