View source: R/process_phenofit.R
Extract Vegetation Phenology at site scale
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | process_phenofit(
y,
t,
w,
QC_flag = NULL,
nptperyear = 36,
brks = NULL,
rFUN = "smooth_wWHIT",
wFUN = wTSM,
lambda = NULL,
TRS = c(0.1, 0.2, 0.5, 0.6, 0.8, 0.9),
iters = 2,
maxExtendMonth = 12,
minExtendMonth = 0.5,
minPercValid = 0,
south = FALSE,
verbose = TRUE,
methods = c("AG", "Zhang", "Beck", "Elmore", "Gu"),
outfile = NULL,
title = NULL,
ylab = "EVI",
yticks = NULL,
IsPlot.brks = FALSE,
write.fig = TRUE,
show = FALSE,
ymin = 0.1,
wmin = 0.1,
wsnow = 0.8,
use.y0 = FALSE,
alpha = 0.02,
cex = 1.5,
overwrite = FALSE,
.v_curve = FALSE,
run.curvefit = TRUE,
...
)
|
y |
Numeric vector, vegetation index time-series |
t |
Numeric vector, |
w |
(optional) Numeric vector, weights of |
QC_flag |
Factor (optional) returned by |
nptperyear |
Integer, number of images per year. |
brks |
A list object with the elements of 'fit' and 'dt', returned by
|
rFUN |
Rough curve fitting function, can be one of |
wFUN |
Character or function, weights updating function of fine fitting
function.
If not specified, it will be determined by phenofit options |
lambda |
The smoothing parameter of |
iters |
How many times curve fitting is implemented. |
maxExtendMonth |
Search good or marginal good values in previous and
subsequent |
minExtendMonth |
Extending perid defined by |
minPercValid |
(optional, default not use). If the percentage of good
and marginal quality points is less than |
south |
Boolean. In south hemisphere, growing year is 1 July to the following year 31 June; In north hemisphere, growing year is 1 Jan to 31 Dec. |
methods |
Fine curve fitting methods, can be one or more of
|
ymin |
If specified, |
wmin |
Double, minimum weight of bad points, which could be smaller the weight of snow, ice and cloud. |
wsnow |
Doulbe. Reset the weight of snow points, after get |
use.y0 |
boolean. whether to use original |
alpha |
Double, in |
... |
other parameters to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.