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