-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
SDSS spectrum query fails (np.genfromtxt error related) #743
Comments
Could you try using the latest master branch of If I run your script I encounter no errors:
Versions: Maybe that was fixed in astropy or astroquery. |
It's interesting that it does not fail to you. I updated to the latest master branches of astropy and astroquery and I still get the same error. astroquery '0.3.3.dev3367' I'm not sure what causes this difference. Can anyone else confirm if the example above works or not in their installation? |
I think this will be easier to verify as soon as #740 is merged. |
I can't reproduce this error, so I am closing the issue now. |
Hi, I am having the same problem with: Using (for example) the example in the doc, as any other call:
It works fine on another machine running python 3.8 and astroquery 0.4.3 |
@banados - indeed I get a |
I am also getting the same error. The same commands were running fine last week though. from astroquery.sdss import SDSS pos = coordinates.SkyCoord(15.03034u.deg,-0.538486u.deg,frame='fk5') Traceback (most recent call last): |
done, #2644 , thanks! |
I'm running into a problem when I query the SDSS spectrum of a specific object (other ~3000 were ok) but this might not be the only case where this happens.
I am using:
python 3.5.2
astroquery 0.3.2
astropy 1.2.1
numpy 1.11.1
Here is the example that fails:
I could narrow down the problem in astroquery happening here
The
io.BytesIO(response.content)
returns a web page with an error that cannot be read bynp.genfromtxt
nor taken care by theif
above it.However, I don't think there should be any error raised for this particular object, as its spectrum does exist:
http://skyserver.sdss.org/dr12/en/tools/explore/summary.aspx?plate=5177&mjd=56245&fiber=114
The text was updated successfully, but these errors were encountered: