pyrad.proc.process_grid_texture#

pyrad.proc.process_grid_texture(procstatus, dscfg, radar_list=None)[source]#

Computes the 2D texture of a gridded field

Parameters:
  • procstatus (int) – Processing status: 0 initializing, 1 processing volume, 2 post-processing

  • dscfg (dictionary of dictionaries) –

    data set configuration. Accepted Configuration Keywords:

    datatype : list of string. Dataset keyword
        The input data type, can be any datatype supported by pyrad
    xwind, ywind : int
        The size of the local window in the x and y axis. Default 7
    fill_value : float
        The value with which to fill masked data. Default np.NaN
    
  • radar_list (list of Radar objects) – Optional. list of radar objects

Returns:

  • new_dataset (dict) – dictionary containing a radar object containing the field “texture”

  • ind_rad (int) – radar index