pyart.util.simulated_vel_from_profile

pyart.util.simulated_vel_from_profile(radar, profile, interp_kind='linear', sim_vel_field=None)[source]

Create simulated radial velocities from a profile of horizontal winds.

Parameters
  • radar (Radar) – Radar instance which provides the scanning parameters for the simulated radial velocities.

  • profile (HorizontalWindProfile) – Profile of horizontal winds.

  • interp_kind (str, optional) – Specifies the kind of interpolation used to determine the winds at a given height. Must be one of ‘linear’, ‘nearest’, ‘zero’, ‘slinear’, ‘quadratic’, or ‘cubic’. The the documentation for the SciPy scipy.interpolate.interp1d function for descriptions.

  • sim_vel_field (str, optional) – Name to use for the simulated velocity field metadata. None will use the default field name from the Py-ART configuration file.

Returns

sim_vel (dict) – Dictionary containing a radar field of simulated radial velocities.