get_format

method of dascore.io.dashdf5.core.DASHDF5 source

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

Return the name and version if the file is DASHDF5, else False.

Parameters

Parameter Description
resource An open h5 file which may contain DASHDF5 data.