download_list_of_fitsfiles

astroquery.utils.download_list_of_fitsfiles(linklist, output_directory=None, output_prefix=None, save=False, overwrite=False, verbose=False, output_coord_format=None, filename_header_keywords=None, include_input_filename=True)[source]

Given a list of file URLs, download them and (optionally) rename them.

Examples

>>> linklist = ['http://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L130413170713F15B52BC06_PH00.fits',
...             'http://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L130413170713F15B52BC06_PH01.fits',
...             'http://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L130413170713F15B52BC06_SC00.fits']
>>> download_list_of_fitsfiles(linklist,
...     output_directory='fermi_m31',
...     output_prefix='FermiLAT',
...     save=True,
...     overwrite=False,
...     verbose=True,
...     output_coord_format=None, # FITS tables don't have crval/crpix, good one is: "%08.3g%+08.3g",
...     filename_header_keywords=None, # couldn't find any useful ones
...     include_input_filename=True)