get_format

method of dascore.io.hdas.core.HDASV1 source

get_format(
    self ,
    resource: H5Reader ,
    **kwargs ,
)-> ‘tuple[str, str] | Literal[False]’

Return format name and version if resource is an HDAS file.

Parameters

Parameter Description
resource An open h5 file which might contain HDAS data.