def check_recommended_attributes(self, dataset):
results = []<EOL>recommended_ctx = TestCtx(BaseCheck.MEDIUM, '<STR_LIT>')<EOL>for attr in ['<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>attr_value = getattr(dataset, attr, '<STR_LIT>')<EOL>try:<EOL><INDENT>parse_duration(attr_value)<EOL>recommended_ctx.assert_true(True, '<STR_LIT>')  <EOL><DEDENT>except Exception:<EOL><INDENT>recommended_ctx.assert_true(False, '<STR_LIT>'.format(attr, attr_value))<EOL><DEDENT><DEDENT>results.append(recommended_ctx.to_result())<EOL>return results<EOL>
Feature type specific check of global recommended and highly recommended attributes.

:param netCDF4.Dataset dataset: An open netCDF dataset