rte_lw Function

public function rte_lw(optical_props, top_at_1, sources, sfc_emis, fluxes, inc_flux, n_gauss_angles, use_2stream, lw_Ds, flux_up_Jac) result(error_msg)

Arguments

TypeIntentOptionalAttributesName
class(ty_optical_props_arry), intent(in) :: optical_props

Set of optical properties as one or more arrays

logical, intent(in) :: top_at_1

Is the top of the domain at index 1? (if not, ordering is bottom-to-top)

type(ty_source_func_lw), intent(in) :: sources

Derived type with Planck source functions

real(kind=wp), intent(in), dimension(:,:):: sfc_emis

emissivity at surface [] (nband, ncol)

class(ty_fluxes), intent(inout) :: fluxes

Dervied type for computing spectral integrals from g-point fluxes. Default computes broadband fluxes at all levels if output arrays are defined. Can be extended per user desires.

real(kind=wp), intent(in), optional dimension(:,:), target:: inc_flux

incident flux at domain top [W/m2] (ncol, ngpts)

integer, intent(in), optional :: n_gauss_angles

Number of angles used in Gaussian quadrature (max 3, no-scattering solution)

logical, intent(in), optional :: use_2stream

When 2-stream parameters (tau/ssa/g) are provided, use 2-stream methods Default is to use re-scaled longwave transport

real(kind=wp), intent(in), optional dimension(:,:):: lw_Ds

User-specifed 1/cos of transport angle per col, g-point

real(kind=wp), intent(inout), optional dimension(:,:), target:: flux_up_Jac

surface temperature flux Jacobian [W/m2/K] (ncol, nlay+1)

Return Value character(len=128)

If empty, calculation was successful


Calls

proc~~rte_lw~~CallsGraph proc~rte_lw rte_lw interface~extents_are extents_are proc~rte_lw->interface~extents_are zero_array zero_array proc~rte_lw->zero_array lw_solver_2stream lw_solver_2stream proc~rte_lw->lw_solver_2stream lw_solver_noscat lw_solver_noscat proc~rte_lw->lw_solver_noscat interface~any_vals_less_than any_vals_less_than proc~rte_lw->interface~any_vals_less_than interface~any_vals_outside any_vals_outside proc~rte_lw->interface~any_vals_outside

Contents

None