stanley-king il y a 2 ans
Parent
commit
e38bebf6cf
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      plot/refill/DataStream.py

+ 1 - 1
plot/refill/DataStream.py

@@ -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)