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
DM-27896: Add summary statistics component to Exposure #449
Conversation
5d6c7a4
to
1c67f3e
Compare
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.
Seems fine.
warnings.simplefilter('ignore') | ||
altaz = coord.transform_to(AltAz) | ||
|
||
zenithDistance = altaz.alt.degree |
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.
Given that this is already known to ObservationInfo (and possibly directly calculated from the FITS headers) it seems a bit wasteful to calculate it here from the ra/dec/time. Can we add zenith distance to visitInfo (like it is already in the butler exposure table)?
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.
So the fits header records boresight info, but we want this per-detector (which can vary significantly for the LSST FOV). So "visitInfo" isn't the right place because it's not per-visit information.
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.
Ah. Can you add a comment to that effect then?
3e8bcd4
to
bd2aacd
Compare
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.
No objections to the parts related to ExposureInfo
.
bd2aacd
to
830141f
Compare
830141f
to
29cea05
Compare
No description provided.