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

Tickets/dm 6352 #36

Merged
merged 6 commits into from Jul 27, 2016
Merged

Tickets/dm 6352 #36

merged 6 commits into from Jul 27, 2016

Conversation

r-owen
Copy link
Contributor

@r-owen r-owen commented Jul 22, 2016

No description provided.

Add a new HTM reference catalog based on SDSS data
that roughly matches the old photocal a.net catalog.
Update testAstrometryTask.py to use the new HTM reference catalog
This required a tiny increase in max allowed angular separation
on the sky: from 0.0025" to 0.0026", and the actual measured value
went from 0.0024" to 0.00255".

I also tweaked the code to check maximum angular and pixel separation
once, after reporting the measured value, instead of checking each match.

I also removed a redundant computation of angular sep. for each match.

for use an HTM ref cat for testAstrometryTask.py
Update testJoinMatchListWithCatalog.py to use new HMT ref catalog
and AstrometryTask instead of ANetBasicAstrometryTask
tests/testMatchOptimisticB.py was setting up astrometry.net data
but then ignoring it. I removed the setup.
tests/astrometry_net_data/no-tag was not being used, so removed it
tests/data/sdssrefcat/config/IngestIndexedReferenceTask.py
was stuffed with unwanted imports, including at least one
private astropy file. I removed all of the unneeded imports.
@SimonKrughoff
Copy link
Contributor

It looks like the sdssrefcat exists in both meas_astrom and pipe_tasks. It seems like that is unnecessary. Can't it just live in meas_astrom?

@r-owen
Copy link
Contributor Author

r-owen commented Jul 27, 2016

That data appears in both packages, and is identical in both. I'm not thrilled about this duplication, but in general we prefer test data in packages to be self-contained, so that modifying test data in one package won't mysteriously break tests in other packages. And indeed both packages had duplicate a.net versions of this data (tests/astrometry_net_data/photocal). I was able to delete one of those, and the other will move to the new a.net wrapper package as part of separating moving the a.net wrapper code into its own package.

@r-owen r-owen merged commit 3831f94 into master Jul 27, 2016
@r-owen r-owen deleted the tickets/DM-6352 branch July 27, 2016 00:38
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