Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions scripts/metadata_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ def parse_variable(self, curr_line, known_ddts, skip_ddt_check=False):
var_ok = False
# end if
# end for
pval.append(dim)
pval.append(dim.lower())
else:
dim_ok = VarDictionary.loop_var_okay(standard_name=dim,
is_run_phase=self.__section_title.endswith("_run"))
Expand All @@ -1014,10 +1014,14 @@ def parse_variable(self, curr_line, known_ddts, skip_ddt_check=False):
var_ok = False
# end if
cone_str = 'ccpp_constant_one:{}'
pval.append(cone_str.format(dim))
pval.append(cone_str.format(dim.lower()))
# end if
# end for
# end if
# Special handling for standard_names (convert to lowercase)
if pname == 'standard_name':
pval = pval.lower()
# end if
# Add the property to our Var dictionary
var_props[pname] = pval
# end if
Expand Down
2 changes: 1 addition & 1 deletion test/advection_test/cld_liq.meta
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
[ temp ]
standard_name = temperature
units = K
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
dimensions = (horizontal_loop_extent, vertical_LAYER_dimension)
type = real
kind = kind_phys
intent = inout
Expand Down