pyrad.proc.process_dem#

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

Gets DEM data and put it in radar coordinates

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

  • dscfg (dictionary of dictionaries) –

    data set configuration. Accepted Configuration Keywords:

    datatype : string. Dataset keyword
        arbitrary data type
    keep_in_memory : int. Dataset keyword
        if set keeps the COSMO data dict, the COSMO coordinates dict and
        the COSMO field in radar coordinates in memory. Default False
    regular_grid : int. Dataset keyword
        if set it is assume that the radar has a grid constant in time and
        there is no need to compute a new COSMO field if the COSMO
        data has not changed. Default False
    dem_field : str. Dataset keyword
        name of the DEM field to process
    demfile : str. Dataset keyword
        Name of the file containing the DEM data
    
  • radar_list (list of Radar objects) – Optional. list of radar objects

Returns:

  • new_dataset (dict) – dictionary containing the output

  • ind_rad (int) – radar index