diff --git a/sohstationviewer/model/reftek/rt130_experiment/reftek.py b/sohstationviewer/model/reftek/rt130_experiment/reftek.py index eecae9bcbc186eefb4fdf626e89aaade2081ab67..4b1c452f31d34171ece292d8567961366e52f69d 100644 --- a/sohstationviewer/model/reftek/rt130_experiment/reftek.py +++ b/sohstationviewer/model/reftek/rt130_experiment/reftek.py @@ -58,7 +58,7 @@ def parse_rt130_time(year: int, time_bytes: bytes) -> UTCDateTime: # M = minute # S = second # T = microsecond - day_of_year, hour, minute, second, microsecond = ( + day_of_year, hour, minute, second, millisecond = ( int(time_string[0:3]), int(time_string[3:5]), int(time_string[5:7]), @@ -75,7 +75,7 @@ def parse_rt130_time(year: int, time_bytes: bytes) -> UTCDateTime: year += 1900 converted_time = UTCDateTime(year=year, julday=day_of_year, hour=hour, minute=minute, second=second, - microsecond=microsecond) + microsecond=millisecond * 1000) return converted_time