farms.farms_dni.TDDP#
- TDDP(Z, tau, De, phase)[source]#
Compute cloud transmittance of DNI for water and ice clouds More details can be found in Xie et al. (2020)
All arrays should have the same shape (n_times) or (n_times, n_lats, n_lons)
- Parameters:
Z (np.ndarray) – solar zenith angle (degree).
tau (np.ndarray) – Cloud optical thickness (cld_opd_dcomp) (unitless).
De (np.ndarray) – Effective cloud particle size (diameter, micron).
phase (np.ndarray) – Cloud thermodynamic phase (water:1, ice:2)
- Returns:
Tddcld (np.ndarray) – Cloud transmittance of DNI for the cloud