Currently modifies the files IN PLACE rather than creating a new copy of the files an a new DB record.
Usage
split_wind(
in.path,
in.prefix,
start_date,
end_date,
overwrite = FALSE,
verbose = FALSE,
...
)Arguments
- in.path
path to original data
- in.prefix
prefix of original data
- start_date, end_date
date (or character in a standard date format). Only year component is used.
- overwrite
logical: replace output file if it already exists?
- verbose
logical: should
ncdf4functions print debugging information as they run?- ...
other arguments, currently ignored
Examples
if (FALSE) { # \dontrun{
in.path <- "~/paleon/PalEONregional_CF_site_1-24047/"
in.prefix <- ""
outfolder <- "~/paleon/metTest/"
start_date <- "0850-01-01"
end_date <- "2010-12-31"
overwrite <- FALSE
verbose <- TRUE
split_wind(in.path, in.prefix, start_date, end_date, merge.file, overwrite, verbose)
} # }