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

DM-27896: Add summary statistics component to Exposure #449

Merged
merged 4 commits into from Feb 2, 2021

Conversation

erykoff
Copy link
Contributor

@erykoff erykoff commented Jan 6, 2021

No description provided.

@erykoff erykoff force-pushed the tickets/DM-27896 branch 2 times, most recently from 5d6c7a4 to 1c67f3e Compare January 20, 2021 00:17
Copy link
Member

@timj timj left a 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
Copy link
Member

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)?

Copy link
Contributor Author

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.

Copy link
Member

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?

Copy link
Member

@kfindeisen kfindeisen left a 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.

@erykoff erykoff merged commit 5fc5e03 into master Feb 2, 2021
@erykoff erykoff deleted the tickets/DM-27896 branch February 2, 2021 18:03
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.

None yet

3 participants