def check_lon(self, dataset):
results = []<EOL>lon = util.get_lon_variable(dataset)<EOL>if not lon:<EOL><INDENT>return Result(BaseCheck.HIGH, False, '<STR_LIT>', ['<STR_LIT>'])<EOL><DEDENT>lon_var = dataset.variables[lon]<EOL>test_ctx = TestCtx(BaseCheck.HIGH, '<STR_LIT>'.format(lon))<EOL>test_ctx.assert_true(getattr(lon_var, '<STR_LIT>', '<STR_LIT>') == '<STR_LIT>', '<STR_LIT>')<EOL>units = getattr(lon_var, '<STR_LIT>', '<STR_LIT>')<EOL>test_ctx.assert_true(units and units_convertible(units, '<STR_LIT>'), '<STR_LIT>')<EOL>test_ctx.assert_true(getattr(lon_var, '<STR_LIT>', '<STR_LIT>') == '<STR_LIT:X>', '<STR_LIT>'.format(lon))<EOL>results.append(test_ctx.to_result())<EOL>test_ctx = TestCtx(BaseCheck.MEDIUM, '<STR_LIT>'.format(lon))<EOL>test_ctx.assert_true(getattr(lon_var, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL>self._check_min_max_range(lon_var, test_ctx)<EOL>if hasattr(lon_var, '<STR_LIT>'):<EOL><INDENT>test_ctx.assert_true(getattr(lon_var, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>test_ctx.assert_true(units == '<STR_LIT>', '<STR_LIT>'.format(lon))<EOL>results.append(test_ctx.to_result())<EOL>return results<EOL>
float lon(timeSeries) ; //........................................ Depending on the precision used for the variable, the data type could be int or double instead of float.
    lon:long_name = "" ; //...................................... RECOMMENDED
    lon:standard_name = "longitude" ; //......................... REQUIRED    - This is fixed, do not change.
    lon:units = "degrees_east" ; //.............................. REQUIRED    - CF recommends degrees_east, but at least use UDUNITS.
    lon:axis = "X" ; //.......................................... REQUIRED    - Do not change.
    lon:valid_min = 0.0f ; //.................................... RECOMMENDED - Replace this with correct value.
    lon:valid_max = 0.0f ; //.................................... RECOMMENDED - Replace this with correct value.
    lon:_FillValue = 0.0f;//..................................... REQUIRED  if there could be missing values in the data.
    lon:ancillary_variables = "" ; //............................ RECOMMENDED - List other variables providing information about this variable.
    lon:comment = "" ; //........................................ RECOMMENDED - Add useful, additional information here.