pyrad.prod.generate_colocated_gates_products#

pyrad.prod.generate_colocated_gates_products(dataset, prdcfg)[source]#
Generates colocated gates products. Accepted product types:
‘WRITE_COLOCATED_GATES’: Writes the position of the co-located gates

in a csv file

‘PLOT_COLOCATED_GATES’: Plots the colocated gates over a geo-referenced map,

as well as the coordinates of both radars. The plot performs a gridding and plots the number of cologates gates within every grid-cell as well as their average height. All other plotting parameters are obtained from the gridMapImageConfig structure of the loc file. User defined parameters:

grid_size: float

Size of the grid in degrees (lat/lon). Default is 0.02 degrees.

All the products of the ‘VOL’ dataset group

Parameters:
  • dataset (tuple) – radar objects and colocated gates dictionary

  • prdcfg (dictionary of dictionaries) – product configuration dictionary of dictionaries

Returns:

filename (str) – the name of the file created. None otherwise