ccdc_func: Predict surface reflectance using CCDC algorithm (Zhu &...

View source: R/get_ccdc_xy.R

ccdc_funcR Documentation

Predict surface reflectance using CCDC algorithm (Zhu & Woodcock 2014)

Description

For a given Julian date, and set of CCDC coefficients, this function returns the calculated surface reflectance value using the full CCDC model described in Zhu et al 2015. Called by other functions.

Usage

ccdc_func(
  jdoy,
  coef_intp,
  coef_slp,
  coef_cos,
  coef_sin,
  coef_cos2,
  coef_sin2,
  coef_cos3,
  coef_sin3
)

Arguments

jdoy

Julian date for which to predict surface reflectance

coef_intp

Coefficient for overall values for the ith Landsat Band

coef_slp

Coefficient for inter-annual change for the ith Landsat Band

coef_cos

Coefficient for intra-annual change for the ith Landsat Band (1st harmonic)

coef_sin

Coefficient for intra-annual change for the ith Landsat Band (1st harmonic)

coef_cos2

Coefficient for intra-annual change for the ith Landsat Band (2nd harmonic)

coef_sin2

Coefficient for intra-annual change for the ith Landsat Band (2nd harmonic)

coef_cos3

Coefficient for intra-annual change for the ith Landsat Band (3rd harmonic)

coef_sin3

Coefficient for intra-annual change for the ith Landsat Band (3rd harmonic)

Value

A floating point value for the calculated surface reflectance


HunterGleason/R.ccdc.tools documentation built on July 1, 2022, 10:37 a.m.