R/h5_utils_plot.R

# .getstructure <- function(fid, strgp){
#   gid <- rhdf5::H5Gopen(fid,  strgp)
#   data <- rhdf5::h5dump(gid)
#   rhdf5::H5Gclose(gid)
#   if(length(which(data$reCalcVar!="")) > 0)
#   {
#     data$reCalcVar <- data$reCalcVar[which(data$reCalcVar!="")]
#     data$variable <- c(data$variable, data$reCalcVar)
#     data$reCalcVar <- NULL
#   }
#   data
# }
# 
# .tryCloseH5 <- function(){
#   try(rhdf5::H5close(), silent = TRUE)
# }

Try the antaresViz package in your browser

Any scripts or data that you put into this service are public.

antaresViz documentation built on June 27, 2024, 5:10 p.m.