Overviews

Reading the code

RTE and its related optics packages aspire to follow a set of coding conventions:

  • Module names start with mo_, class/type names with ty_.
  • Real variables are defined with working precision wp; logical variables with wl. Both Fortran KIND parameters are set in mo_rte_kind.F90
  • Most procedures are functions which return a string. A non-empty string indicates an error of some kind.
  • Procedures operate on multiple columns (profiles) at once. Problems are dimensioned by column, layer, and spectral quadrature point.
  • Procedures are agnostic to vertical ordering
  • Units are MKS
  • Procedures (with the exception of testing code) do not perform I/O

Radiative tranfer for energetics

RTE Fortran interface

RTE kernels: Fortran interface

RRTMGP optics

RRTMGP Fortran interface

RRTMGP kernels: Fortran interface

Simple spectral model

SSM Fortran interface and kernels