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
SkyView Overlay Options not working #2976
Comments
Right, in this case, I think these arguments don't make sense: they should be "if filetype is jpeg, allow these arguments", but we never implemented that logic. For FITS returns, these arguments are meaningless. They can be discarded, probably without even warning the user since no user could ever have used them. |
Thanks @keflavich! Am I correct in interpreting
means without going through the deprecation process and not tagging the args with astropy's deprecation decorators? I think that makes sense because, as you say, these options could not have done anything, and I think it would be useful to the users to be notified with an error IF they THOUGHT it was doing something. But I wanted to be crystal clear here. For what it's worth, adding a jpeg return option isn't particularly high on our priority list at the HEASARC. |
Yes, that's what I'm saying. Given that the keywords never worked, it seems unnecessary to go through the deprecation process. |
I'm a little bit late to this party, but would still suggest to go through the deprecation, as that's what we do with the other modules too that has non-functional arguments. E.g. a user may have legitimately working code where they specify these (even though they do not affect their queries), and with the straight-on removal we will break their code without a warning. (the one exception where I would say to remove it without deprecation is a module is being significantly refactored due to e.g. upstream changes where we cannot keep API compatibility) |
Thanks for the input, @bsipocz! Is there a process to reach consensus between your and @keflavich thoughts? Would definitely appreciate the green light before I start work to deprecate the arguments |
Hello Astroquery Maintainers!
I can't seem get some
Skyview.get_image
args to work (specificallygrid
,gridlabels
, andlut
). As far as I understand, after consulting with my HEASARC colleagues, these overlay options only apply to SkyView's JPEG output, not the FITS output. I mention this because I think Astroquery.Skyview ONLY returns the FITS output:astroquery/astroquery/skyview/core.py
Lines 288 to 292 in 722385a
Is there a working example somehow showing these arguments working in astroquery, or are they broken?
The context is my (currently closed, but actively working on) PR #2849 to update Skyview's internals from webscraping to proper VO SIAP calls. There are some arguments that are available via the current webscraping implementation, but aren't available currently via our SIAP endpoint. I'm working to add those supported arguments to SkyView before updating
astroquery.SkyView
, but I can't get some of these arguments to work in the current version to begin withThe text was updated successfully, but these errors were encountered: