farms.farms_dni.TDDP

farms.farms_dni.TDDP(Z, tau, De, phase1, phase2)[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).

  • phase1 (np.ndarray) – np.where( phase==1 ) phase is cloud thermodynamic phase (water:1, ice:2)

  • phase2 (np.ndarray) – np.where( phase==2 ) phase is cloud thermodynamic phase (water:1, ice:2)

Returns:

Tddcld (np.ndarray) – Cloud transmittance of DNI for the cloud