DatalinkRecord¶
- class pyvo.dal.adhoc.DatalinkRecord(results, index, *, session=None)[source]¶
Bases:
DatalinkRecordMixin
,SodaRecordMixin
,Record
a dictionary-like container for data in a record from the results of an datalink query,
The commonly accessed metadata which are stadardized by the datalink standard are available as attributes. If the metadatum accessible via an attribute is not available, the value of that attribute will be None. All metadata, including non-standard metadata, are acessible via the
get(
key)
function (or the [key] operator) where key is table column name.Attributes Summary
Link to data or processing service
Size of the download the link returns
Mime-type of the content the link returns
Human-readable text describing this link
Error if an access_url cannot be created
Input identifier
a list of input parameters for the service behind this datalink row.
the access parameters of the service behind this datalink row.
Term from a controlled vocabulary describing the link
reference to the service descriptor resource
Methods Summary
return the URL contained in the access URL column which can be used to retrieve the dataset described by this record.
process
(**kwargs)calls the processing service and returns it's result as a file-like object
Attributes Documentation
- access_url¶
Link to data or processing service
- content_length¶
Size of the download the link returns
- content_type¶
Mime-type of the content the link returns
- description¶
Human-readable text describing this link
- error_message¶
Error if an access_url cannot be created
- id¶
Input identifier
- input_params¶
a list of input parameters for the service behind this datalink row.
- params¶
the access parameters of the service behind this datalink row.
- semantics¶
Term from a controlled vocabulary describing the link
- service_def¶
reference to the service descriptor resource
Methods Documentation