predict_DOS: Parse through all pixels and record optimized DOS.

Description Usage Arguments Details Value

View source: R/predict_DOS.R

Description

Calculates optimized DOS by averaging the results of both Venancio equations. Generates predictions for pixels with at least 3 dates of data.

Usage

1
predict_DOS(dat, doys, fA, fB, start_d, end_d)

Arguments

dat

A x-y-n array of NDVI data.

doys

A list of days since planting at each observed date.

fA

Function for 1st Venancio equation.

fB

Function for 2nd Venancio equation.

start_d

The earliest DOS value for the observed region.

end_d

The latest DOS value for the observed region.

Details

Predictions outside of a reasonable DOS range (before/after insurance coverage dates) are set to -999.

Value

A matrix of DOS predictions.


AgronomicForecastingLab/RS_PlantingDate documentation built on Feb. 13, 2022, 3:06 a.m.