We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82ddb24 commit b5d04edCopy full SHA for b5d04ed
1 file changed
gnss_lib_py/parsers/rinex_obs.py
@@ -57,7 +57,7 @@ def __init__(self, input_path):
57
obs_file.dropna(how='all', inplace=True)
58
obs_file.reset_index(inplace=True)
59
# Convert time to gps_millis
60
- datetime_series = [d.to_pydatetime().astimezone(timezone.utc)
+ datetime_series = [d.to_pydatetime().replace(tzinfo=timezone.utc)
61
for d in obs_file["time"]]
62
obs_file['gps_millis'] = datetime_to_gps_millis(datetime_series)
63
obs_file = obs_file.drop(columns=['time'])
0 commit comments