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


Alternative Retrieval Method
for K2 Data and Catalogs

K2 data may be retrieved without submitting a batch request. Both target pixel files (TPFs) and Full Frame Images (FFIs) are online and stored in two directory trees. For the browser path below, XXXXYYZZZ is the K2 ID. (The corresponding dataset name would be KTWOXXXXYYZZZ-C0n where n is the campaign number.)

TPFs (note the zero-filled subdirectory names)

https://archive.stsci.edu/pub/k2/target_pixel_files/cn/XXXX00000/YY000
https://archive.stsci.edu/pub/k2/target_pixel_files/c0/202100000/54000/ktwo202154314-c00_lpd-targ.fits.gz

FFIs (both calibrated and uncertainty files are available)

https://archive.stsci.edu/pub/k2/ffi/ktwo2014110010101-c00_ffi-cal.fits
https://archive.stsci.edu/pub/k2/ffi/ktwo2014110010101-c00_ffi-uncert.fits

Note the current FFIs however do not include the WCS parameters.


WGET Scripts

Create your own customized WGET scripts from the K2 data search page by choosing the output format FILE: WGET TPF commands. This option creates a wget script file for 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 https://archive.stsci.edu/missions/k2/target_pixel_files/c0/202000000/73000/

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 https://archive.stsci.edu/pub/k2/target_pixel_files/c0/2020000000/

WGET scripts to download all the C0 TPF files (c0_tpf_all_wget.txt) and to download TPFs for each GO program can be found here.


Download Catalogs

A directory of K2 catalogs that can be downloaded in ASCII format via FTP or HTTP. See Downloadable Catalogs