calibrateData: Apply SR calibration to Sentinel TOA data

Description Usage Arguments Examples

View source: R/SentinelCalibration.R

Description

Applies the calibration to sentinel data based on a single intercept and slope

Usage

1
calibrateData(sentineldf, toaColName, int, slope)

Arguments

sentineldf

Data.frame containing paired Sentinel TOA and SR values for a band or index

toaColName

column name for Sentinel TOA values

slope

slope from linear calibration model

intercept

intercept from linear calibration model

Examples

1
2
# apply calibration
calibrated <- calibrateData(sentinelData_df, 'Sentinel_TOA', 0.05, 1.903)

LobellLab/SCYMr documentation built on Oct. 20, 2020, 1:22 a.m.