@@ -1014,10 +1014,10 @@ def RunTSEBImagePixelByPixel(self, inDataArray, outDataArray, mask):
1014
1014
Omega = TSEB .CI .CalcOmega_Kustas (omega0 ,sza ,wc = self .wc )
1015
1015
LAI_eff = F * Omega
1016
1016
# Estimate the net shorwave radiation
1017
- S_nS , S_nC = TSEB .rad .CalcSnCampbell (LAI_eff , sza , Sdn_dir , Sdn_dif , fvis ,fnir ,
1017
+ S_nS , S_nC = TSEB .rad .CalcSnCampbell (lai , sza , Sdn_dir , Sdn_dif , fvis ,fnir ,
1018
1018
self .spectraVeg ['rho_leaf_vis' ], self .spectraVeg ['tau_leaf_vis' ],
1019
1019
self .spectraVeg ['rho_leaf_nir' ], self .spectraVeg ['tau_leaf_nir' ],
1020
- self .spectraGrd ['rsoilv' ], self .spectraGrd ['rsoiln' ])
1020
+ self .spectraGrd ['rsoilv' ], self .spectraGrd ['rsoiln' ], LAI_eff = LAI_eff )
1021
1021
# And the net longwave radiation
1022
1022
L_nS ,L_nC = TSEB .rad .CalcLnKustas (Tc , Ts ,Lsky , lai ,self .emisVeg , self .emisGrd )
1023
1023
# Run TSEB with the component temperatures Ts and Tc
@@ -1497,10 +1497,10 @@ def stra(param):
1497
1497
Omega = TSEB .CI .CalcOmega_Kustas (omega0 ,sza ,wc = wc )
1498
1498
LAI_eff = F * Omega
1499
1499
# Estimate the net shorwave radiation
1500
- S_nS , S_nC = TSEB .rad .CalcSnCampbell (LAI_eff , sza , Sdn_dir , Sdn_dif , fvis ,fnir ,
1500
+ S_nS , S_nC = TSEB .rad .CalcSnCampbell (lai , sza , Sdn_dir , Sdn_dif , fvis ,fnir ,
1501
1501
self .spectraVeg ['rho_leaf_vis' ], self .spectraVeg ['tau_leaf_vis' ],
1502
1502
self .spectraVeg ['rho_leaf_nir' ], self .spectraVeg ['tau_leaf_nir' ],
1503
- self .spectraGrd ['rsoilv' ], self .spectraGrd ['rsoiln' ])
1503
+ self .spectraGrd ['rsoilv' ], self .spectraGrd ['rsoiln' ], LAI_eff = LAI_eff )
1504
1504
# And the net longwave radiation
1505
1505
L_nS ,L_nC = TSEB .rad .CalcLnKustas (Tc , Ts ,Lsky , lai ,self .emisVeg , self .emisGrd )
1506
1506
# Run TSEB with the component temperatures Ts and Tc
0 commit comments