Rearrange local GIMMS NDVI3g.v0 files in ascending order of time. Since the naming convention has significantly changed towards NDVI3g.v1, such a measure should only be relevant for older file formats.
rearrangeFiles(
x,
dsn = getwd(),
pattern = "^geo.*.VI3g$",
pos = c(4, 6, 11),
...
)
A character
vector of filepaths arranged in ascending order of time.
character
. Vector of local filepaths. If missing, 'dsn' will
be searched for available files via pattern matching.
character
, defaults to the current working directory. Path
to look for GIMMS-related data if 'x' is missing.
character
, defaults to "^geo.*.VI3g$"
for
standard NDVI3g.v0 files. A regular expression passed to list.files
.
integer
, defaults to c(4, 6, 11)
for standard
NDVI3g.v0 files. The start positions of year, month and part of the month
('a' or 'b') in the target GIMMS files.
Further arguments passed to list.files
.