expand_inputs.Rd
Glob expansion is performed using a system call.
expand_inputs(raw_inputs, check_exists = TRUE)
raw_inputs | a list of file path globs |
---|---|
check_exists | should we throw and error if a specified file does not exist, or if a glob returns no matches? |
a list of filenames
Date range expansion is performed by including
a date range in square brackets, e.g. results_[201201:201203].nc
, or
results[195004:200904:12]
, where the third value
indicates the number of months between successive
dates in the range.
The list of filenames may contain duplicates.
If any supplied filename, date range, or glob does
not match an existing file, this function will
throw an error, unless check_exists
is set to
FALSE
.