pyart.testing.RadarSpectra.get_nyquist_vel#

RadarSpectra.get_nyquist_vel(sweep, check_uniform=True)#

Return the Nyquist velocity in meters per second for a given sweep.

Raises a LookupError if the Nyquist velocity is not available, an Exception is raised if the velocities are not uniform in the sweep unless check_uniform is set to False.

Parameters:
  • sweep (int) – Sweep number to retrieve data for, 0 based.

  • check_uniform (bool) – True to check to perform a check on the Nyquist velocities that they are uniform in the sweep, False will skip this check and return the velocity of the first ray in the sweep.

Returns:

nyquist_velocity (float) – Array containing the Nyquist velocity in m/s for a given sweep.