spextra.downloads module

spextra.downloads module#

Utility functions for downloads. Subject to change.

spextra.downloads.download_file(remote_url, local_name)#

For backwards compatibility only.

spextra.downloads.download_svo_filter(filter_name)#

Query the SVO service for the true transmittance for a given filter.

Parameters:
filter_namestr

Name of the filter as available on the spanish VO filter service e.g: Paranal/HAWKI.Ks

Returns:
filt_curvetuple with wave and trans values