diff --git a/aosstower/level_00/parser.py b/aosstower/level_00/parser.py index a681cb45357eca9129d9bd48b03f9753d5972172..c1188d52bf38b818bfe0662123560620c8223119 100644 --- a/aosstower/level_00/parser.py +++ b/aosstower/level_00/parser.py @@ -219,8 +219,9 @@ def read_frames(source, error_handler=lambda *a: None, tail=False): def loggernet_to_tower(rec_dict, symbol_names): """Convert loggernet record dictionary to our standard naming""" # assume that the next record after the traditional frame is the timestamp + old_symbols = ['timestamp'] + ParserV1V2.names new_symbols = ['timestamp'] + symbol_names - return _make_frame(zip(new_symbols, rec_dict.values()), new_symbols, rename_timestamp=True) + return _make_frame(zip(old_symbols, rec_dict.values()), new_symbols, rename_timestamp=True) def ldmp_generator(station_name, tables, symbol_names=ParserV1V2.names):