vol2bird | R Documentation |
vp
) from a polar volume (pvol
) fileCalculates a vertical profile of biological scatterers (vp
) from a polar
volume (pvol
) file using the algorithm
vol2bird (Dokter et al.
2011 \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1098/rsif.2010.0116")}).
vol2bird(
file,
config,
vpfile = "",
pvolfile_out = "",
verbose = TRUE,
update_config = FALSE
)
file |
Character (vector). Either a path to a single radar polar volume
( |
config |
optional configuration object of class |
vpfile |
Character. File name. When provided with .csv extension, writes a vertical profile in VPTS CSV format. Provided with another or no extension, writes a vertical profile in the ODIM HDF5 format to disk. |
pvolfile_out |
Character. File name. When provided, writes a polar
volume ( |
verbose |
logical. When TRUE print profile output to console. |
update_config |
logical. When TRUE processing options that are determined based on
input file characteristics are returned and updated in the object specified by the |
No value returned, creates a file specified by file
argument
vol2bird_config()
# Locate the polar volume example file
pvolfile <- system.file("extdata", "volume.h5", package = "vol2birdR")
# Create a configuration instance:
conf <- vol2bird_config()
# Define output file
output_file <- paste0(tempdir(), "/vp.h5")
# Calculate the profile:
vol2bird(file = pvolfile, config = conf, vpfile = output_file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.