Skip to content

Commit

Permalink
FIX: join_radar also joins pulse repititon times iparam (#1218)
Browse files Browse the repository at this point in the history
  • Loading branch information
wx4stg authored Jul 24, 2022
1 parent 2b19cd6 commit 0a71096
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyart/util/radar_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
Expand Down

0 comments on commit 0a71096

Please sign in to comment.