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

[BUG] No way to see if WFCAM image downloaded from archive is deprecated #613

Open
virajkaram opened this issue Aug 11, 2023 · 3 comments
Open
Labels
astro This is an astronomy issue as much as a coding one bug Something isn't working wishlist Non-urgent better-ification

Comments

@virajkaram
Copy link
Collaborator

Describe the bug
WFCAM has the concept of deprecated images that shouldn't be used. Problem is there is no way to query (afaik) whether an image is deprecated or not using astroquery or their online form. The query returns deprecated and undeprecated images. The web-form displays the deprecated status so you can choose which to download, but unfortunately the astroquery does not return this info. I was relying on cuts on zeropoints and seeing to exclude the deprecated images from stacking, but obviously this does not take care of all cases.

Through magical means, I have acquired the deprecated status of all WFCAM images, and ingested only the undeprecated image files on the winter machine, so we don't have to worry about bad images creeping in for winter ops. We should add a xmatch to this file to remove deprecated images from online queries as well.

@virajkaram virajkaram added bug Something isn't working astro This is an astronomy issue as much as a coding one wishlist Non-urgent better-ification labels Aug 11, 2023
@robertdstein
Copy link
Member

Maybe this is worth an issue on astroquery?

@virajkaram
Copy link
Collaborator Author

Addressed by #614

@virajkaram
Copy link
Collaborator Author

More permanent solution here - astropy/astroquery#2809

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astro This is an astronomy issue as much as a coding one bug Something isn't working wishlist Non-urgent better-ification
Projects
None yet
Development

No branches or pull requests

2 participants