Skip to content

Commit a88cf34

Browse files
committed
fix tests
1 parent 82651ff commit a88cf34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xradar/io/backends/nexrad_level2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ def get_data_header(self):
634634
# get the record number from the meta header
635635
# message 2 is the last meta header, after which the
636636
# data records are located
637-
if self.is_compressed:
637+
if self.meta_header:
638638
recnum = self.meta_header["msg_2"][0]["record_number"]
639639
else:
640640
# iterate over all records to retrieve data

0 commit comments

Comments
 (0)