Closed kiranshila closed 4 months ago
Can you get the native handle to call nc_sync
on it? I couldn't spot it in the docs.
No, the native handle is kept private
It should be mentioned that reading a file whilst writing to it is not supported by hdf5 unless SWMR mode is set. There is a PR implementing this in netcdf-c
here: https://github.com/Unidata/netcdf-c/pull/2653
@kiranshila This is published in 0.9.1
and can be called as FileMut::sync
.
Fantastic, beat me to the PR. Thank you so much!
Hello again! Another quick issue/question -
Is there an equivalent to
nc_sync
/ flushing to disk in this rust implementation? I'm getting some errors occasionally that look likewhen trying to read from other programs. Looking around this seems to be the result of an incomplete write.