opencadc_datalink_client v0.2.1 OpencadcDatalink.Client

Client for an IVOA DataLink service.

Link to this section Summary

Functions

Obtain the URL containing the ‘#this’ row, meaning the primary data for the given caom_publisher_uri

Obtain a stream to the given URL

Link to this section Functions

Link to this function get_primary_data_stream(caom_publisher_uri, cookie_credential \\ "")

Obtain a stream to the primary data.

Link to this function get_primary_data_url(caom_publisher_uri, cookie_credential \\ "")

Obtain the URL containing the ‘#this’ row, meaning the primary data for the given caom_publisher_uri.

Examples

iex> OpencadcDatalink.Client.get_primary_data_url("ivo://cadc.nrc.ca/IRIS?f008h000/IRAS-100um")
"http://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/data/pub/IRIS/I008B4H0.fits"
Link to this function get_resource_uri(caom_publisher_uri)
Link to this function primary_data_url(response)
Link to this function to_stream(primary_url, cookie_credential)

Obtain a stream to the given URL.