Skip to content

Commit

Permalink
use unix_tai with UTC scale, to properly decode the time info
Browse files Browse the repository at this point in the history
  • Loading branch information
morcuended authored Sep 14, 2023
1 parent ff56272 commit 469de7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lstchain/scripts/lstchain_merge_run_summaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def merge_run_summary_with_pointing(run_summary, drive_report):
if len(table) == 0:
return None

Check warning on line 100 in lstchain/scripts/lstchain_merge_run_summaries.py

View check run for this annotation

Codecov / codecov/patch

lstchain/scripts/lstchain_merge_run_summaries.py#L100

Added line #L100 was not covered by tests

table['run_start'] = Time(table['run_start'] / 1e9, format='unix', scale='utc')
table['run_start'] = Time(table['run_start'] / 1e9, format='unix_tai', scale='utc')

pointing_info = get_pointing_info(table['run_start'], drive_report)
for k, v in pointing_info.items():
Expand Down

0 comments on commit 469de7c

Please sign in to comment.