Commit 1e50fe1d authored by Klaus Zimmermann's avatar Klaus Zimmermann
Browse files

Remove formatting for all `standard_name`s (fixes #167)

parent 570bebef
......@@ -54,8 +54,8 @@ class OutputVariable:
def instantiate(self, parameters):
return OutputVariable(
format_var_name(self.var_name, parameters),
self.standard_name.format(**parameters),
self.proposed_standard_name.format(**parameters),
self.standard_name,
self.proposed_standard_name,
self.long_name.format(**parameters),
self.units,
self.cell_methods)
......@@ -71,8 +71,9 @@ class InputVariable:
def instantiate(self, parameters):
return InputVariable(
format_var_name(self.var_name, parameters),
self.standard_name.format(**parameters),
self.cell_methods, self.aliases)
self.standard_name,
self.cell_methods,
self.aliases)
def build_variable(name, variable, path):
......@@ -121,7 +122,7 @@ class ParameterQuantity:
ln = ln.format(**parameters)
param = ParameterQuantity(
format_var_name(self.var_name, parameters),
self.standard_name.format(**parameters),
self.standard_name,
data,
self.units,
ln)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment