spacer link to MAST page spacer logo image spacer
 
link to STScI page


Alternative Retrieval Method
for Public Kepler Lightcurves and Target Pixel Files

Kepler's public data may be retrieved without submitting a batch request. Both lightcurve and target pixel files are online. The lightcurves and target pixel files are stored in two directory trees. For the browser paths below KKKKKKKKK is the KIC ID and XXXX is the first 4 digits of the KIC ID including the initial zeros.

Lightcurves

http://archive.stsci.edu/pub/kepler/lightcurves/XXXX/KKKKKKKKK
http://archive.stsci.edu/pub/kepler/lightcurves/0014/001429092/

Target target pixel files


http://archive.stsci.edu/pub/kepler/target_pixel_files/XXXX/KKKKKKKKK
http://archive.stsci.edu/pub/kepler/target_pixel_files/0014/001429092/


Tarfiles

The lightcurve files are also stored in gzipped tarfiles available through anonymous ftp or through the browser. Each tarfile contains all the public data for a quarter. The lightcurve data create a very large tarfile (~40-47 GB holding > 80 GB of data) and the size of the target_pixel_files would be too large for most people to download.

As of October 30, 2012 there are tarfiles of public data for Quarters 0-13. See the README file for information about each individual tarfile.

There are also some tarfiles for easily identified subsets of lightcurves (KOIs, Red Giants, Eclipsing Binaries).

http://archive.stsci.edu/pub/kepler/lightcurves/tarfiles/

anonymous ftp at archive.stsci.edu
cd /pub/kepler/lightcurves/tarfiles


WGET Scripts

Sets of wget scripts are available for public light curves and target pixel files. These scripts are located in the same directory as the tarfiles. Please read the README file.

http://archive.stsci.edu/pub/kepler/lightcurves/tarfiles/

Create your own customized WGET scripts from the Kepler data search page by choosing the output format FILE: WGET LC commands or FILE: WGET TPF commands. These options create a wget script file for use in downloading the public data returned from your search.

Download a whole directory of data using WGET

wget -q -nH --cut-dirs=6 -r -l0 -c -N -np -R 'index*' -erobots=off http://archive.stsci.edu/pub/kepler/lightcurves//0014/001429092/

wget -q -nH --cut-dirs=6 -r -l0 -c -N -np -R 'index*' -erobots=off http://archive.stsci.edu/pub/kepler/target_pixel_files/0014/001429092/

You could download larger amounts by going back up the tree:

wget -q -nH --cut-dirs=6 -r -l0 -c -N -np -R 'index*' -erobots=off http://archive.stsci.edu/pub/kepler/lightcurves/

would download all the lightcurves.