pyart.util.to_vpt#

pyart.util.to_vpt(radar, single_scan=True)[source]#

Convert an existing Radar object to represent a vertical pointing scan.

This function does not verify that the Radar object contains a vertical pointing scan. To perform such a check use is_vpt().

Parameters:
  • radar (Radar) – Mislabeled vertical pointing scan Radar object to convert to be properly labeled. This object is converted in place, no copy of the existing data is made.

  • single_scan (bool, optional) – True to convert the volume to a single scan, any azimuth angle data is lost. False will convert the scan to contain the same number of scans as rays, azimuth angles are retained.