phenofit_process: phenofit_process

phenofit_processR Documentation

phenofit_process

Description

phenofit_process

phenofit_process

phenofit_process

phenofit_process

Usage

getsite_data(df, sitename, dateRange = NULL)

getsite_INPUT(df, st, sitename, nptperyear, dateRange = NULL)

phenofit_finefit(INPUT, brks, options, TRS = c(0.2, 0.5, 0.6), ...)

phenofit_process(options, dateRange = c(as.Date("2010-01-01"),
  as.Date("2014-12-31")), nsite = -1, .progress = NULL,
  .parallel = FALSE, ...)

getsite_data(df, sitename, dateRange = NULL)

getsite_INPUT(df, st, sitename, nptperyear, dateRange = NULL)

phenofit_finefit(INPUT, brks, options, TRS = c(0.2, 0.5, 0.6), ...)

phenofit_process(options, dateRange = c(as.Date("2010-01-01"),
  as.Date("2014-12-31")), nsite = -1, .progress = NULL,
  .parallel = FALSE, ...)

Arguments

df

data.table of vegetation time-series. At least with the columns of t, y, w.

sitename

character

dateRange

Date vector, [date_begin, date_end]. filter input in the range of dateRange

st

data.table of site information, e.g. site, lat.

nptperyear

Integer, number of images per year.

INPUT

An object returned by check_input

brks

object returned by season_mov() and season()

options

options of phenofit needed to export.

TRS

Threshold for PhenoTrs.

...

ignored

nsite

the max number of sites to process. -1 means all sites.

.progress

boolean

.parallel

boolean

df

data.table of vegetation time-series. At least with the columns of t, y, w.

sitename

character

st

data.table of site information, e.g. site, lat.

INPUT

An object returned by check_input

brks

object returned by season_mov() and season()

dateRange

Date vector, [date_begin, date_end]. filter input in the range of dateRange

nsite

the max number of sites to process. -1 means all sites.

.progress

boolean

.parallel

boolean

...

ignored

Examples

## Not run: 
file_json <- system.file('shiny/phenofit/perference/phenofit_setting.json', package = "phenofit")
options <- setting.read(file_json)
r <- phenofit_process(options, nsite=2)

## End(Not run)
## Not run: 
file_json <- system.file('shiny/phenofit/perference/phenofit_setting.json', package = "phenofit")
options <- setting.read(file_json)
r <- phenofit_process(options, nsite=2)

## End(Not run)

kongdd/phenofit.shiny documentation built on Nov. 19, 2022, 10:11 p.m.