diff --git a/geomagio/iaga2002/IAGA2002Parser.py b/geomagio/iaga2002/IAGA2002Parser.py index 7e861157f1cafcfc98ae4274329e0eaca71efdf7..0d47516927a5536939bd7aac72368d588b45756a 100644 --- a/geomagio/iaga2002/IAGA2002Parser.py +++ b/geomagio/iaga2002/IAGA2002Parser.py @@ -132,10 +132,11 @@ class IAGA2002Parser(object): Creates empty values arrays in ``self.data``. """ iaga_code = self.metadata["station"] - self.channels.append(line[30:40].strip().replace(iaga_code, "")) - self.channels.append(line[40:50].strip().replace(iaga_code, "")) - self.channels.append(line[50:60].strip().replace(iaga_code, "")) - self.channels.append(line[60:69].strip().replace(iaga_code, "")) + # self.channels.append(line[30:40].strip().replace(iaga_code, "")) + # self.channels.append(line[40:50].strip().replace(iaga_code, "")) + # self.channels.append(line[50:60].strip().replace(iaga_code, "")) + # self.channels.append(line[60:69].strip().replace(iaga_code, "")) + self.channels.extend(line.replace("|", "").replace(iaga_code, "").split()[3:7]) def _parse_data(self, line): """Parse one data point in the timeseries.