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-25132: Update refcat loading to work with refcat v2 #234

Merged
merged 1 commit into from Dec 14, 2022

Conversation

cmsaunders
Copy link
Contributor

No description provided.

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.

Looks good, just one field name typo -- was that line covered by tests?

@@ -250,7 +250,7 @@ void Associations::collectRefStars(afw::table::SimpleCatalog &refCat, geom::Angl

// TODO: we aren't getting covariances from Gaia yet, so maybe ignore this for now?
try {
pmRaDecCovKey = refCat.getSchema().find<float>("pm_ra_Dec_Cov").key;
pmRaDecCovKey = refCat.getSchema().find<float>("pm_dec_pm_ra_Cov").key;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pmRaDecCovKey = refCat.getSchema().find<float>("pm_dec_pm_ra_Cov").key;
pmRaDecCovKey = refCat.getSchema().find<float>("pm_ra_pm_dec_Cov").key;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this. There is no test coverage of this, probably because jointcal doesn't actually do anything with raDecCov.

@cmsaunders cmsaunders merged commit 15c6176 into main Dec 14, 2022
@cmsaunders cmsaunders deleted the tickets/DM-25132 branch December 14, 2022 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants