-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
Error in FITS-cubes.ipynb #463
Comments
Which astroquery version? Be sure to grab the latest pre-release from PyPI. |
If you still have problem, could be that API is outdated or something, and try open issue over at |
I didn't get the pre-release. Was using 0.4.1 which was the default from the |
Using stable astroquery won't do because they have to fix for upstream changes on demand, so they opted for "rolling release." I would recommend |
Using the latest pre-release didn't work. The notebook in question was last updated in March 2020 so it shouldn't require the bleeding edge anyways. |
What about dev? (Just in case) |
It looks like it has the same issue. I'll open an issue against astroquery... |
FWIW the issue can be reproduced simply by >>> from astropy import units as u
>>> from astroquery.esasky import ESASky
>>> ESASky.query_region_maps('SMC', radius=1*u.deg, missions='Herschel') ISTM some piece of metadata that's expected to exist in the query results does not, and the code doesn't handle it being missing. |
Thanks for checking. :( |
After installing astroquery from source and applying my workaround, the rest of the notebook executes successfully, so we can close this once astropy-tutorials is building with an appropriate version of astroquery. |
Hi, I am encountering the aforementioned issue while using astroquery.ESASky queries. Can you guide me on a possible solution? Thank you |
@RobinThomas95 This is fixed in the development version of astroquery and the relevant issue is here: astropy/astroquery#1856 You can install the latest development version of astroquery if you need this fixed. Will you need help on how to do that? |
@embray It'd be helpful if you could guide me on how to install the dev version of astroquery, Thank You |
@RobinThomas95 How are you installing astroquery in the first place? |
@embray I'm using pip install astroquery to install the package |
@RobinThomas95 Ok great, in that case you can |
@embray Sorry for the late reply. I tried pip installing as you advised, restarted the Jupyter kernel that I'm using and then ran the astroquery. The error still persists. |
Might have to install from source |
Im getting errors trying to install with Conda, pip or even the git source option. |
This particular issue from original post is already resolved. If you encounter problems with our tutorials, please open new issue with all the necessary info (versions, OS, environment, traceback). Thanks! |
When processing the FITS-cubes.ipynb notebook I'm getting an error from astroquery:
Not sure what that's about or how best to fix it.
The text was updated successfully, but these errors were encountered: