lai_inversion_lut {WCM} | R Documentation |
Inversion of LAI from look up table generated by WCM
Description
Inversion of LAI from look up table generated by WCM
Usage
lai_inversion_lut(img, lookuptable)
Arguments
img |
raster object |
lookuptable |
Look up table simulated from 'wcm_sim' function |
Value
a raster object (pixel value represents LAI)
Examples
radar <- raster::raster(ncol=10, nrow=10)
val <- seq(-12,-7, length.out=100)
radar[] <- val
A= -9.596695
B= -0.005331
C= -11.758309
D= 0.011344
lut <- lut_wcm(LAI=seq(1,6,0.1), SM=seq(0,.6,.01),coeff=c(A,B,C,D))
example(out_lai <- lai_inversion_lut(img = radar,lookuptable = lut))
[Package WCM version 0.2.2 Index]