pyart.util.is_vpt

pyart.util.is_vpt(radar, offset=0.5)[source]

Determine if a Radar appears to be a vertical pointing scan.

This function only verifies that the object is a vertical pointing scan, use the to_vpt() function to convert the radar to a vpt scan if this function returns True.

Parameters
  • radar (Radar) – Radar object to determine if.

  • offset (float, optional) – Maximum offset of the elevation from 90 degrees to still consider to be vertically pointing.

Returns

flag (bool) – True if the radar appear to be verticle pointing, False if not.