code: def check_recommended_attributes(self, dataset):
          '''
          Feature type specific check of global recommended attributes.
  
          :param netCDF4.Dataset dataset: An open netCDF dataset
          '''
          results = []
          recommended_ctx = TestCtx(BaseCheck.MEDIUM, 'Recommended global attributes')
          # Check time_coverage_duration and resolution
          for attr in ['time_coverage_duration', 'time_coverage_resolution']:
              attr_value = getattr(dataset, attr, '')
              try:
                  parse_duration(attr_value)
                  recommended_ctx.assert_true(True, '')  # Score it True!
              except Exception:
                  recommended_ctx.assert_true(False, '{} should exist and be ISO-8601 format (example: PT1M30S), currently: {}'.format(attr, attr_value))
          results.append(recommended_ctx.to_result())
          return resultf check_recommended_attributes(self, dataset):
          '''
          Feature type specific check of global recommended attributes.
  
          :param netCDF4.Dataset dataset: An open netCDF dataset
          '''
          results = []
          recommended_ctx = TestCtx(BaseCheck.MEDIUM, 'Recommended global attributes')
          # Check time_coverage_duration and resolution
          for attr in ['time_coverage_duration', 'time_coverage_resolution']:
              attr_value = getattr(dataset, attr, '')
              try:
                  parse_duration(attr_value)
                  recommended_ctx.assert_true(True, '')  # Score it True!
              except Exception:
                  recommended_ctx.assert_true(False, '{} should exist and be ISO-8601 format (example: PT1M30S), currently: {}'.format(attr, attr_value))
          results.append(recommended_ctx.to_result())
          return results
docs: Feature type specific check of global recommended attributes.
  
          :param netCDF4.Dataset dataset: An open netCDF dataset