retrieval

Warning

Deprecated in favor of Astroquery data retrieval.

refstis.retrieval.build_xml_request(datasets, settings)[source]

Build the XML request for the given datasets

Parameters

datasets (list) – A list of rootnames to download from MAST.

Returns

xml_request – The XML request string.

Return type

string

refstis.retrieval.everything_retrieved(tracking_id)[source]

Check request status page to see if retreival is done.

Parameters

tracking_id (string) – A submission ID string.

Returns

  • done (bool) – Boolean specifying is data is retrieved or not.

  • killed (bool) – Boolean specifying is request was killed.

refstis.retrieval.submit_xml_request(xml_request, settings)[source]

Submit the XML request to the MAST archive.

Parameters

xml_request (string) – The request XML string.

Returns

submission_results – The XML request submission results.

Return type

httplib object