Sample Shell Scripts
-
Search STIS spectra and output results
as a VOTable XMl file called out_csh.xml
wget -O out_csh.xml -v -a logfile 'http://archive.stsci.edu/ssap/search2.php?ID=stis&POS=327.795,28.864&SR=0.03'
-
Download a Kepler public light curve
wget -q -nH --cut-dirs=6 -r -l0 -c -N -np -R 'index*' -erobots=off http://archive.stsci.edu/missions/kepler/lightcurves/0047/004758604/kplr004758604-2009131105131_llc.fits
-
Search for archived Kepler data for targets
with Teff between 8025 and 8050 deg, and
output results as a wget script to download
the lightcurves
wget -O out.txt -v -a logfile 'http://archive.stsci.edu/kepler/data_search/search.php?kic_teff=8025..8050&outputformat=WGET_file&action=Search'
|