parameters: (dataset_name, field)
docstring: Generate statistics (range, mean, median, standard deviation, unique values)
      for layer attribute
docstring_summary: Generate statistics (range, mean, median, standard deviation, unique values)
      for layer attribute
docstring_tokens: Generate statistics ( range mean median standard deviation unique values ) for layer attribute
function: def get_attribute_statistics(dataset_name, field):
      """
      Generate statistics (range, mean, median, standard deviation, unique values)
      for layer attribute
      """
  
      logger.debug('Deriving aggregate statistics for attribute %s', field)
  
      if not ogc_server_settings.WPS_ENABLED:
          return None
      try:
          return wps_execute_dataset_attribute_statistics(dataset_name, field)
      except Exception:
          tb = traceback.format_exc()
          logger.debug(tb)
          logger.exception('Error generating layer aggregate statistics')
function_tokens: def get_attribute_statistics ( dataset_name , field ) : logger . debug ( 'Deriving aggregate statistics for attribute %s' , field ) if not ogc_server_settings . WPS_ENABLED : return None try : return wps_execute_dataset_attribute_statistics ( dataset_name , field ) except Exception : tb = traceback . format_exc ( ) logger . debug ( tb ) logger . exception ( 'Error generating layer aggregate statistics' )