Skip to content

Commit bbfa1f0

Browse files
committed
bug correction in nexrad reading
1 parent 7939594 commit bbfa1f0

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/pyrad_proc/pyrad/io/read_data_radar.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2682,11 +2682,6 @@ def merge_scans_nexrad2(
26822682
radar object
26832683
26842684
"""
2685-
field_names = {}
2686-
# Use custom name mapping
2687-
for datatype in datatype_list:
2688-
field_names[datatype] = get_fieldname_pyart(datatype)
2689-
26902685
# find files to merge
26912686
if 'bucket' in cfg:
26922687
if not _BOTO3_AVAILABLE:
@@ -2726,9 +2721,7 @@ def merge_scans_nexrad2(
27262721
else:
27272722
fname_aux = fname
27282723

2729-
radar_aux = pyart.io.read(
2730-
fname, field_names=field_names,
2731-
include_fields=field_names.values())
2724+
radar_aux = pyart.io.read(fname)
27322725
if radar_aux is None:
27332726
continue
27342727
if radar is None:

0 commit comments

Comments
 (0)