Description Usage Arguments Value Author(s) Examples
View source: R/AdvancedFunctions.R
Convert Digital number to Radiance
1 | GetRadiance(DNSignal, IntegrationTime, RadCalCoeff)
|
DNSignal |
numeric vector or data.frame: spectrum dark current sutracted of downwelling or upwelling channel |
IntegrationTime |
numeric vector or value: integration time [same unit as the unit used for radcalcoef determination] |
RadCalCoeff |
numeric vector: wavelength dependent vector of coefficient for calibration |
numeric vector or data.frame containing the radiance in physical unit.
Tommaso Julitta, Mirco Migliavacca, Thomas Wutzler
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
data("FloX_data")
data("up_coeff")
data("dw_coeff")
data("wl_FloX")
#Get Target Radiance
L<-GetRadiance(DNSignal=FloX_data$L-FloX_data$dcL,IntegrationTime=FloX_data$IT_L/1000,RadCalCoeff=dw_coeff)
#Get Solar Radiance
E<-GetRadiance(DNSignal=FloX_data$E-FloX_data$dcE,IntegrationTime=FloX_data$IT_E/1000,RadCalCoeff=up_coeff)
#plot
x11()
par(mar=c(5,5,2,2))
plot(wl_FloX,E[,4],type="l",xlab="WL [nm]",ylab=expression("Radiance [W m"^-2* "sr"^-1* "nm"^-1*"]"),ylim = c(0,0.5))
lines(wl_FloX,L[,4],col="green")
legend("topleft",col=c("black","green"),lty=1,cex=1.2,legend=c("Solar Radiance ","Target Radiance"),box.col="white")
box()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.