R/load_volume.R

Defines functions load_volume

Documented in load_volume

#' Loads a volume vol2bird-style meaning that a number of different file formats
#' are tried and eventually loaded.
#' @param file name of file to be loaded
#' @return The loaded volume as a Rcpp_PolarVolume that can be passed around
#' @keywords internal
load_volume <- function(file){
  processor<-Vol2Bird$new()
  vol<-processor$load_volume(file)
  return(vol) 
}

Try the vol2birdR package in your browser

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

vol2birdR documentation built on May 31, 2023, 6 p.m.