From 0a710963421aa8bdf242270aa621b356e78aca77 Mon Sep 17 00:00:00 2001 From: Sam Gardner <83480577+wx4stg@users.noreply.github.com> Date: Sun, 24 Jul 2022 18:34:44 -0500 Subject: [PATCH] FIX: join_radar also joins pulse repititon times iparam (#1218) --- pyart/util/radar_utils.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyart/util/radar_utils.py b/pyart/util/radar_utils.py index fcb51b3349..cb7bce35a6 100644 --- a/pyart/util/radar_utils.py +++ b/pyart/util/radar_utils.py @@ -160,6 +160,11 @@ def join_radar(radar1, radar2): np.append( radar1.instrument_parameters['number_of_pulses']['data'], radar2.instrument_parameters['number_of_pulses']['data'])) + if 'prt' in new_radar.instrument_parameters: + new_radar.instrument_parameters['prt']['data'] = ( + np.append( + radar1.instrument_parameters['prt']['data'], + radar2.instrument_parameters['prt']['data'])) if ((radar1.ray_angle_res is not None) and (radar2.ray_angle_res is not None)):