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

Dealing with fields at the edges of catalogs #27

Open
boada opened this issue Jun 28, 2017 · 1 comment
Open

Dealing with fields at the edges of catalogs #27

boada opened this issue Jun 28, 2017 · 1 comment

Comments

@boada
Copy link
Contributor

boada commented Jun 28, 2017

If you have a field which lies just outside of a catalog footprint (see this example), PP can find stars that are near enough to the field, but not actually overlapping with your image. Basically, PP finds stars at the very edge (or just beyond) your FoV. This causes PP to "succeed" in downloading sources, but it fails to actually match any of them.

query Vizier for SDSS-R13 at 216.3/ -4 in a 0.45 deg radius 17 sources retrieved.
17 sources downloaded from SDSS-R13
17 sources with accurate magnitudes in i band
zeropoint for xxxx.ldac: Warning: 0 reference stars after source matching for frame xxxx.ldac
write calibrated data into database files

PP should then try another of the preferred catalogs, but the code isn't setup to do that right now. Line 67 of calibrate.py makes you think that it will try all of the preferred catalogs, but that isn't the case. Only a single catalog is returned, and the function is never called again.

This makes it hard to run PP in an automated fashion because it can't always find the right catalog.

In a perfect world, I'd like it to download a reference catalog, check to make sure there are enough sources, and then try to match sources. If that fails, only then, would I want it to download another reference catalog. No point in downloading a bunch of stuff you don't end up using.

@boada
Copy link
Contributor Author

boada commented Jun 28, 2017

Looking into this a bit more... I discovered another issue, maybe it contributes. The catalog search radius is really big.

query Vizier for PANSTARRS at xxxx/ +xxxx in a 3.18 deg radius MAST does currently not allow for
PANSTARRS catalog queries with radii larger than 0.5 deg; clip radius to 0.5 deg

My fields aren't 3.18 degrees wide. That's a huge radius to look in.

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

No branches or pull requests

1 participant