-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
WFAU module has no way of identifying deprecated WFCAM images #2808
Comments
@virajkaram since the web form doesn't support it, we can't directly enable getting only non-deprecated images, I believe. If there is a hidden parameter ( Does It would help if you could provide a minimal or at least a small example in which you indicate which files are and are not deprecated; we can perhaps then suss out how to get only the non-deprecated files. |
returns
This corresponds to this query on the web-form. On submiting the web-form query, it is clear that only these two files have deprecated=0. -
There doesn't seem to be any info about the deprecated status of an image from the URLs themselves. |
Thanks @virajkaram , there's a straightforward enough way to get this metadata; see #2809 for the solution |
@keflavich awesome! Thank you! |
The WFCAM Science Archive has the concept of deprecated WFCAM images (see e.g. the description of deprecated column here http://wsa.roe.ac.uk/www/gloss_d.html). However the WFAU module doesn't seem to have the option of only downloading undeprecated images?
Here is my best guess for where the deprecated value might be specified in the code, but the query always returns both deprecated and undeprecated images.
I realize this functionality may be missing from the WFCAM archive itself, as the web-form does not have a
deprecated
field. Upon submitting the web-form, a table is returned that has the deprecated values for each image, and the user can manually choose to only download undeprecated images. I was wondering if anyone here has any insights on how to do this programatically through astroquery?The text was updated successfully, but these errors were encountered: