crt1d.solvers.common#

Common functions used by canopy RT solvers.

Module Contents#

Functions#

K_df_fn(K_b_fn, lai_tot, **kwargs)

\(K_d\) from \(K_b(\psi)\) and total LAI, using tau_df_fn().

tau_b_fn(K_b_fn, psi, lai)

Transmittance of direct beam through foliage layers(s) with LAI lai.

tau_df_fn(K_b_fn, lai, *[, method])

Transmittance of diffuse light through foliage layer(s) with LAI lai.

crt1d.solvers.common.K_df_fn(K_b_fn, lai_tot, **kwargs)#

\(K_d\) from \(K_b(\psi)\) and total LAI, using tau_df_fn(). **kwargs passed on to tau_df_fn().

crt1d.solvers.common.tau_b_fn(K_b_fn, psi, lai)#

Transmittance of direct beam through foliage layers(s) with LAI lai.

We need to be able to integrate over different zenith angles (to calulate \(\tau_d\)), so we supply K_b_fn instead of K_b (\(K_b\)) itself.

Parameters:
  • K_b_fn (function) – := G_fn(psi)/cos(psi) where G_fn computes \(G\) for the chosen leaf angle distribution function based on \(\psi\).

  • psi (float or array_like) – Solar zenith angle (radians).

  • lai (float or array_like) – LAI.

crt1d.solvers.common.tau_df_fn(K_b_fn, lai, *, method='quad')#

Transmittance of diffuse light through foliage layer(s) with LAI lai.

Weighted hemispherical integral of direct beam transmissivity \(\tau_b\). Isotropy assumption implicit. Note that it does not depend on \(\psi\).

Parameters:
  • lai (float or array_like) – LAI, one or multiple values.

  • method ({'quad', '9sky'}) –

References

  • Campbell & Norman eq. 15.5 [CN12]