Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change how DataWriter writes simulation pointing #2438

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Oct 30, 2023

Instead of writing the unique pointings with their timestamp, which has no physical meaning in case of simulations, we now write the first pointing per observation block into the "/configuration/telescope/pointing/tel_nnn" tables.

Fixes #1484 and #1562

@maxnoe maxnoe force-pushed the datawriter_pointing branch 2 times, most recently from cbfb840 to 3bd23e4 Compare October 31, 2023 16:24
@maxnoe maxnoe force-pushed the datawriter_pointing branch from 3bd23e4 to 92d9f5f Compare November 17, 2023 11:31
@maxnoe maxnoe marked this pull request as ready for review November 17, 2023 11:31
Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (a2b6072) 92.48% compared to head (89b84a4) 92.46%.
Report is 11 commits behind head on main.

Files Patch % Lines
ctapipe/io/hdf5eventsource.py 86.20% 4 Missing ⚠️
ctapipe/conftest.py 90.90% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2438      +/-   ##
==========================================
- Coverage   92.48%   92.46%   -0.02%     
==========================================
  Files         234      234              
  Lines       19831    19846      +15     
==========================================
+ Hits        18340    18350      +10     
- Misses       1491     1496       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Tobychev
Tobychev previously approved these changes Nov 17, 2023
Instead of writing the unique pointings with their timestamp,
which has no physical meaning in case of simulations,
we now write the first pointing per observation block into
the "/configuration/telescope/pointing/tel_nnn" tables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Store event-wise pointing at least for MC
3 participants