SBART.utils.tapas_downloader.web_scrapper

SBART.utils.tapas_downloader.web_scrapper#

Functions

Tapas_login(username)

Login to TAPAS and move to 'username' directory

download_IPAC_file(tapas_ftp, folder_name, ...)

get_TAPAS_data(user, password, request_data, ...)

timeout:

get_folder_info(tapas_ftp)

Find the folders that exist on the ftp server

login(user, password)

update_request(template, new_values)

For now only download data from ESPRESSO

login(user, password)#
Tapas_login(username)#

Login to TAPAS and move to ‘username’ directory

get_folder_info(tapas_ftp)#

Find the folders that exist on the ftp server

download_IPAC_file(tapas_ftp, folder_name, destination)#
update_request(template, new_values)#

For now only download data from ESPRESSO

template:

header file present in the .json file

new_values:
dictionary with the new values. Description:
  • RA : right ascension J2000

  • DEC: declination J2000

  • date: astropy.time date to request

get_TAPAS_data(user, password, request_data, storing_destination, timeout=5, request_interval=60)#
timeout:

Maximum number of minutes to wait for Tapas to answer

request_interval:

Number of seconds to wait before sending next request to TAPAS