Skip to content
Snippets Groups Projects
Commit 849a9291 authored by Hal Simpson's avatar Hal Simpson
Browse files

Fix comment

parent cbfcae87
No related branches found
No related tags found
No related merge requests found
...@@ -168,9 +168,9 @@ class IAGA2002Parser(object): ...@@ -168,9 +168,9 @@ class IAGA2002Parser(object):
for channel, data in zip(self.channels, self._parsedata[1:]): for channel, data in zip(self.channels, self._parsedata[1:]):
#ignore empty channels #ignore empty channels
data = numpy.array(data, dtype=numpy.float64) data = numpy.array(data, dtype=numpy.float64)
# filter empty values
data[data == EIGHTS] = numpy.nan data[data == EIGHTS] = numpy.nan
data[data == NINES] = numpy.nan data[data == NINES] = numpy.nan
# filter empty values
if data.count(numpy.nan) == len(data): if data.count(numpy.nan) == len(data):
continue continue
self.data[channel] = data self.data[channel] = data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment