15 file_layout_version = h5_file.get_version()
18 attr_name =
"creation_timestamp"
19 if file_layout_version >= 6:
20 attr_value = h5_file.get_int_attribute(attr_name)
21 print(f
'{attr_name} {attr_value}')
23 attr_value = h5_file.get_attribute(attr_name)
24 print(f
'{attr_name} {attr_value}')
26 attr_name =
"closing_timestamp"
27 if file_layout_version >= 6:
28 attr_value = h5_file.get_int_attribute(attr_name)
29 print(f
'{attr_name} {attr_value}')
31 attr_value = h5_file.get_attribute(attr_name)
32 print(f
'{attr_name} {attr_value}')
34 attr_name =
"offline_data_stream"
36 attr_value = h5_file.get_attribute(attr_name)
38 attr_value =
"cosmics"
39 print(f
'{attr_name} {attr_value}')
41 attr_name =
"run_was_for_test_purposes"
43 attr_value = h5_file.get_attribute(attr_name)
46 print(f
'{attr_name} {attr_value}')
48 attr_name =
"file_recovery_timestamp"
50 attr_value = h5_file.get_int_attribute(attr_name)
51 print(f
'{attr_name} {attr_value}')
55 records = h5_file.get_all_record_ids()
57 print(
'=== start of record list')
59 print(f
'{r[0]}.{r[1]}')
60 print(
'=== end of record list')