def check_height(self, dataset):
results = []<EOL>exists_ctx = TestCtx(BaseCheck.HIGH, '<STR_LIT>')<EOL>var = util.get_z_variable(dataset)<EOL>exists_ctx.assert_true(var is not None, "<STR_LIT>")<EOL>if var is None:<EOL><INDENT>return exists_ctx.to_result()<EOL><DEDENT>required_ctx = TestCtx(BaseCheck.HIGH, '<STR_LIT>'.format(var))<EOL>standard_name = getattr(dataset.variables[var], '<STR_LIT>', '<STR_LIT>')<EOL>required_ctx.assert_true(<EOL>standard_name in ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>'),<EOL>'<STR_LIT>'.format(standard_name)<EOL>)<EOL>axis = getattr(dataset.variables[var], '<STR_LIT>', '<STR_LIT>')<EOL>required_ctx.assert_true(<EOL>axis == '<STR_LIT>',<EOL>'<STR_LIT>'.format(var)<EOL>)<EOL>valid_units = False<EOL>units = getattr(dataset.variables[var], '<STR_LIT>', '<STR_LIT:1>')<EOL>try:<EOL><INDENT>Unit(units)<EOL>valid_units = True<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT>required_ctx.assert_true(valid_units, '<STR_LIT>'.format(units))<EOL>positive = getattr(dataset.variables[var], '<STR_LIT>', '<STR_LIT>')<EOL>required_ctx.assert_true(positive in ('<STR_LIT>', '<STR_LIT>'), '<STR_LIT>')<EOL>results.append(required_ctx.to_result())<EOL>recommended_ctx = TestCtx(BaseCheck.MEDIUM, '<STR_LIT>'.format(var))<EOL>self._check_min_max_range(dataset.variables[var], recommended_ctx)<EOL>if hasattr(dataset.variables[var], '<STR_LIT>'):<EOL><INDENT>recommended_ctx.assert_true(getattr(dataset.variables[var], '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>results.append(recommended_ctx.to_result())<EOL>return results<EOL>
float z(time) ;//........................................ Depending on the precision used for the variable, the data type could be int or double instead of float. Also the variable "z" could be substituted with a more descriptive name like "depth", "altitude", "pressure", etc.
        z:long_name = "" ; //........................................ RECOMMENDED - Provide a descriptive, long name for this variable.
        z:standard_name = "" ; //.................................... REQUIRED    - Usually "depth" or "altitude" is used.
        z:units = "" ; //............................................ REQUIRED    - Use UDUNITS.
        z:axis = "Z" ; //............................................ REQUIRED    - Do not change.
        z:positive = "" ; //......................................... REQUIRED    - Use "up" or "down".
        z:valid_min = 0.0f ; //...................................... RECOMMENDED - Replace with correct value.
        z:valid_max = 0.0f ; //...................................... RECOMMENDED - Replace with correct value.
        z:_FillValue = 0.0f;//....................................... REQUIRED  if there could be missing values in the data.
        z:ancillary_variables = "" ; //.............................. RECOMMENDED - List other variables providing information about this variable.
        z:comment = "" ; //.......................................... RECOMMENDED - Add useful, additional information here.