pyrad.util.project_to_vertical#

pyrad.util.project_to_vertical(data_in, data_height, grid_height, interp_kind='none', fill_value=-9999.0)[source]#

Projects radar data to a regular vertical grid

Parameters:
  • data_in (ndarray 1D) – the radar data to project

  • data_height (ndarray 1D) – the height of each radar point

  • grid_height (ndarray 1D) – the regular vertical grid to project to

  • interp_kind (str) – The type of interpolation to use: ‘none’ or ‘nearest’

  • fill_value (float) – The fill value used for interpolation

Returns:

data_out (ndarray 1D) – The projected data