Fix TTBB timestamp parsing
This commit is contained in:
parent
593add1fe6
commit
4ef6dfa91c
1 changed files with 3 additions and 3 deletions
|
@ -318,8 +318,8 @@ class RAOBObs():
|
|||
if self.tokens[1][0:3] == 'NIL':
|
||||
return None
|
||||
|
||||
station = self.tokens[1]
|
||||
timestamp = self.tokens[0]
|
||||
station = self.tokens[1]
|
||||
samples = list()
|
||||
|
||||
for i in range(2, len(self.tokens), 3):
|
||||
|
@ -360,8 +360,8 @@ class RAOBObs():
|
|||
return ret
|
||||
|
||||
def parse_ttbb(self) -> dict:
|
||||
station = self.tokens[0]
|
||||
timestamp = self.tokens[1]
|
||||
timestamp = self.tokens[0]
|
||||
station = self.tokens[1]
|
||||
samples = list()
|
||||
|
||||
for i in range(2, len(self.tokens), 2):
|
||||
|
|
Loading…
Add table
Reference in a new issue