|
@@ -26,7 +26,7 @@ def day_stamp(stamp):
|
|
|
|
|
|
def open_hdf5(file, is_wirte):
|
|
|
if is_wirte:
|
|
|
- return h5py.File(file, 'a', libver='latest')
|
|
|
+ return h5py.File(file, 'a', libver='latest', swmr=True)
|
|
|
else:
|
|
|
return h5py.File(file, 'r', libver='latest', swmr=True)
|
|
|
|