get_format

method of dascore.io.odh4.core.ODH4V1 source

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

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

Parameters

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