ncdf4_convert_from_path {TargetSearch} | R Documentation |
Convert from NetCDF format 3 into a custom TargetSearch NetCDF format 4
automatically by scanning for CDF-3 files in given path and calling
the function ncdf4_convert()
on them.
ncdf4_convert_from_path(cdf_path = ".", out_path = cdf_path, ...)
cdf_path |
the input path to scan for |
out_path |
the output path in which the files will be saved |
... |
extra options passed to |
This function simply wraps around ncdf4_convert()
. It searches for
CDF-3 files and converts them to CDF-4. Note that the search is not
recursive.
By default, the function scans the current path and saves them in
the same path if out_path
is not specified.
a character vector of generated files or invisible.
Alvaro Cuadros-Inostroza
## Not run: # get files from package TargetSearchData require(TargetSearchData) cdfpath <- file.path(find.package("TargetSearchData"), "gc-ms-data") ncdf4_convert_from_path(cdfpath, ".") ## End(Not run)