Skip to content

Commit

Permalink
bug correction in nexrad reading
Browse files Browse the repository at this point in the history
  • Loading branch information
jfigui committed Oct 2, 2024
1 parent 7939594 commit bbfa1f0
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/pyrad_proc/pyrad/io/read_data_radar.py
Original file line number Diff line number Diff line change
Expand Up @@ -2682,11 +2682,6 @@ def merge_scans_nexrad2(
radar object
"""
field_names = {}
# Use custom name mapping
for datatype in datatype_list:
field_names[datatype] = get_fieldname_pyart(datatype)

# find files to merge
if 'bucket' in cfg:
if not _BOTO3_AVAILABLE:
Expand Down Expand Up @@ -2726,9 +2721,7 @@ def merge_scans_nexrad2(
else:
fname_aux = fname

radar_aux = pyart.io.read(
fname, field_names=field_names,
include_fields=field_names.values())
radar_aux = pyart.io.read(fname)
if radar_aux is None:
continue
if radar is None:
Expand Down

0 comments on commit bbfa1f0

Please sign in to comment.