Skip to content

Commit

Permalink
Disable all timestamps during dataset creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Dec 13, 2023
1 parent beade25 commit 510dddc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/hdf5.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ h5_create_vector <- function(handle, name, len, type, compress=6, chunks=NULL, s

phandle <- H5Pcreate("H5P_DATASET_CREATE")
on.exit(H5Pclose(phandle), add=TRUE, after=FALSE)
H5Pset_fill_time(phandle, "H5D_FILL_TIME_ALLOC")
H5Pset_fill_time(phandle, "H5D_FILL_TIME_NEVER")
H5Pset_obj_track_times(phandle, FALSE)

if (compress > 0 && len) {
H5Pset_deflate(phandle, level=compress)
Expand Down

0 comments on commit 510dddc

Please sign in to comment.