From 3079c24094c9174f8c9c05b7a5a0043b8824ccee Mon Sep 17 00:00:00 2001 From: Dom Heinzeller Date: Fri, 2 Oct 2020 17:34:55 -0600 Subject: [PATCH] Remove obsolete warning message from scripts/metadata_parser.py --- scripts/metadata_parser.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/metadata_parser.py b/scripts/metadata_parser.py index ea049cbf..53707e8b 100755 --- a/scripts/metadata_parser.py +++ b/scripts/metadata_parser.py @@ -146,7 +146,6 @@ def read_new_metadata(filename, module_name, table_name, scheme_name = None, sub else: container = encode_container(module_name, new_metadata_header.title) else: - logging.warning("DH DEBUG: new_metadata_header.property_table, new_metadata_header.title, scheme_name: {} {} {}".format(new_metadata_header.property_table, new_metadata_header.title, scheme_name)) # Scheme property tables if new_metadata_header.property_table and new_metadata_header.title == scheme_name: # If this is a ccpp-table-properties table for a scheme, it can only contain dependencies; @@ -171,7 +170,7 @@ def read_new_metadata(filename, module_name, table_name, scheme_name = None, sub # make sense), we swap the standard name and add a note to the long name legacy_note = '' if standard_name == 'horizontal_loop_extent' and scheme_name and \ - (table_name.endswith("_init") or table_name.endswith("finalize")): + (table_name.endswith("_init") or table_name.endswith("_finalize")): logging.warn("Legacy extension - replacing variable 'horizontal_loop_extent'" + \ " with 'horizontal_dimension' in table {}".format(table_name)) standard_name = 'horizontal_dimension'