LtRun: Run LandTrendr Algorithm

Description Usage Arguments Value

View source: R/landtrendr.R

Description

This function built a ImageCollection suitable for LT analysis, using Harmonization and pre-processes before running the Landtrendr Algorithms The function starts building the image and an additional NBR index that helps the algorithm to calculate the magnitude of change. This function is based on rgee package, thus the outcome of this function is a ee.Image object.

Usage

1
2
3
4
5
6
7
8
LtRun(
  startYear = 2010,
  endYear = 2017,
  startDay = "06-01",
  endDay = "09-30",
  aoi = pkg.globals$aoi_,
  runParams = pkg.globals$runParam
)

Arguments

startYear

Numeric variable - Starting year of th analysis (Default: 2010)

endYear

Numeric variable - Ending year of th analysis (Default: 2017)

startDay

String variable - date tie to the Starting year (Default: '06-01')

endDay

String variable - date tie to the Ending year (Default: '09-30')

aoi

Polygon sf Geometry - Area of Interest (Default: US County from sf dataset)

runParams

Parameters for Landtrendr Analysis - By default the package take the following values: maxSegments = 6, spikeThreshold = 0.9, vertexCountOvershoot = 3, preventOneYearRecovery = TRUE,recoveryThreshold = 0.25, pvalThreshold = 0.05, bestModelProportion = 0.75, minObservationsNeeded= 6

Value

lt ee.Image object


IFGI-Project/LandTendR-Package documentation built on Feb. 5, 2022, 3:54 a.m.