votable ======= .. py:module:: votable .. autoapi-nested-parse:: VOTable parsing utilities for DataLink responses. Attributes ---------- .. autoapisummary:: votable.VOTABLE_NS Functions --------- .. autoapisummary:: votable.parse_votable_to_products Module Contents --------------- .. py:data:: VOTABLE_NS .. py:function:: parse_votable_to_products(xml_bytes) Parse a DataLink VOTable response and return a list of ProductDIDs ready to stream. Handles both single-file VOTables (#this rows with an inputParams ID) and dataset VOTables (#child rows). The local STORM path is derived from the path_on_storage component embedded in each IVOA ID (the part after '?'). Raises HTTP 400 if the VOTable is missing the product-streamer RESOURCE or has fields in an unexpected format.