-
Notifications
You must be signed in to change notification settings - Fork 17
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
Update following changes made in lstchain on pointings #26
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @labsaha! Is this change just "cosmetic" (to change the name "Altitude" to "Zenith") or is it conflicting with the new fields defined in lstchain because of the pointing changes?
@rlopezcoto It is just cosmetic, as you mentioned: Altitude to Zenith |
Please do not do this! At least not without conferring first with CTA, pinging @kosack here. We use altitude everywhere else. This is not a "cosmetic" change! |
@maxnoe In the drive file the values are given Azimuth and Zenith. Hence to be consistent with that it is done in that way. |
Then you probably should convert into altitude on reading the input file before filling the container as everything after that, including astropy coordinates, expect altitude, not zenith. |
Well, that can be done. But It should not give the wrong message that in the drive report we have Altitude because we are calling the |
IMHO, consistency of the in-memory representations in ctapipe/lstchain would be preferable over consistency with the input files. But this is just my 2 cents, maybe @kosack or @bregeon can also comment. I see that just the container is changed here. Is it just defined and not used in this repo? |
@maxnoe I agree with that we should maintain the consistency. Initially, I thought of converting Zenith to Altitude before filling the container. However, at the same time, I thought about the field which is given in the drive logs. Finally, I have gone for the second one. I didn't realize that it might break the consistency in ctapipe. Anyway, I can close the PR once we hear from @kosack @bregeon. And make associated changes in |
I cannot comment on this, even to my satisfaction. In the past, at one point it was decided somehow to put this here to include all monitoring information (one of them is drive log) in this container class. |
Hi @maxnoe,
you are right, it could be filled here but somehow we didn't menage to converge toward this solution. @labsaha I agree with @maxnoe, please keep consistency with ctapipe. |
I think the idea was that this information should come with the data? |
Closing this PR and make required changes in |
Following recent changes in the
lstchain
repo for drive pointings, we need to updateLSTDriveContainer
class as well.