question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

URLopen error failed to download. (Astropy, Kepler Data)

See original GitHub issue

I’m trying to get data from a FITS file ‘kplr002304168-2009131105131’. I’m trying to the following code that was suggested by Astropy.

from astropy.io import fits

fits_image_filename = fits.util.get_testdata_filepath('kplr002304168-2009131105131_llc.fits')

Unfortunately, I receive the following error message –> URLError: <urlopen error Failed to download io/fits/tests/data/kplr002304168-2009131105131_llc.fits from the following repositories:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
pllimcommented, Sep 12, 2018

I am guessing that is what should be changed

I agree! Looking forward to your PR. 😄

1reaction
abhinuvpitalecommented, Sep 12, 2018

@pillm - Its first used here and further two more times on the same page, thus causing the misunderstanding.

I am guessing that is what should be changed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error reading Kepler FITS file using astropy - Stack Overflow
It says that it couldn't open the URL http://www.astropy.org/astropy-data/io/fits/tests/data/O:\\MyWorks\\... which seems reasonable. But why ...
Read more >
astroquery Documentation
data as returned by query_region_maps and downloads ... WARNING: W25: ... failed with: <urlopen error timed out> [...].
Read more >
Source code for lightkurve.correctors.cbvcorrector
"""Defines Corrector classes that utilize Kepler/K2/TESS Cotrending Basis Vectors. ... urllib.request import glob import os import warnings from astropy.io ...
Read more >
Simple index - piwheels
... albatradis uw-saml odoo10-addon-account-invoice-report-ddt-group kornia-rs python-sample-package-with-data-aitirga placavehiculos-pkg-aquintero535 ...
Read more >
Known Issues — Astropy v5.2
Anaconda Users Should Upgrade with conda , Not pip · Locale Errors in MacOS X and Linux · Failing Logging Tests When Running...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found