From 0e84c6d50c24327a6c6735dce4a86fe63ba5ebd5 Mon Sep 17 00:00:00 2001 From: isilber Date: Wed, 3 Apr 2024 18:56:54 +0000 Subject: [PATCH] STY: linting (black) --- pyart/util/radar_utils.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pyart/util/radar_utils.py b/pyart/util/radar_utils.py index dba99e24f3..eacbb87602 100644 --- a/pyart/util/radar_utils.py +++ b/pyart/util/radar_utils.py @@ -105,8 +105,13 @@ def to_vpt(radar, single_scan=True): return -def determine_sweeps(radar, max_offset=0.1, running_win_dt=5.0, deg_rng=(-5.0, 360.0), - consider_2pi_jump=True): +def determine_sweeps( + radar, + max_offset=0.1, + running_win_dt=5.0, + deg_rng=(-5.0, 360.0), + consider_2pi_jump=True +): """ Determine the number of sweeps using elevation data (PPI scans) or azimuth data (RHI scans) and update the input radar object @@ -141,7 +146,7 @@ def determine_sweeps(radar, max_offset=0.1, running_win_dt=5.0, deg_rng=(-5.0, 3 var_array = radar.elevation["data"] fix_array = radar.azimuth["data"] if consider_2pi_jump: - deg_rng=(0.0, 360.0) + deg_rng = (0.0, 360.0) else: # ppi or vpt var_array = radar.azimuth["data"] fix_array = radar.elevation["data"]