RRTMG

digraph inheritance55a1a6bf2d { bgcolor=transparent; rankdir=LR; ratio=expand; size=""; "EnergyBudget" [URL="climlab.process.energy_budget.html#climlab.process.energy_budget.EnergyBudget",dirType=back,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=14,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A parent class for explicit energy budget processes."]; "TimeDependentProcess" -> "EnergyBudget" [arrowsize=0.5,dirType=back,style="setlinewidth(0.5)"]; "Process" [URL="climlab.process.process.html#climlab.process.process.Process",dirType=back,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=14,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A generic parent class for all climlab process objects."]; "RRTMG" [URL="#climlab.radiation.rrtm.rrtmg.RRTMG",dirType=back,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=14,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Container to drive combined LW and SW radiation models."]; "_Radiation_SW" -> "RRTMG" [arrowsize=0.5,dirType=back,style="setlinewidth(0.5)"]; "_Radiation_LW" -> "RRTMG" [arrowsize=0.5,dirType=back,style="setlinewidth(0.5)"]; "TimeDependentProcess" [URL="climlab.process.time_dependent_process.html#climlab.process.time_dependent_process.TimeDependentProcess",dirType=back,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=14,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A generic parent class for all time-dependent processes."]; "Process" -> "TimeDependentProcess" [arrowsize=0.5,dirType=back,style="setlinewidth(0.5)"]; "_Radiation" [URL="climlab.radiation.Radiation.html#climlab.radiation.radiation._Radiation",dirType=back,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=14,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Abstact base class for SW and LW radiation processes."]; "EnergyBudget" -> "_Radiation" [arrowsize=0.5,dirType=back,style="setlinewidth(0.5)"]; "_Radiation_LW" [URL="climlab.radiation.Radiation.html#climlab.radiation.radiation._Radiation_LW",dirType=back,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=14,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "_Radiation" -> "_Radiation_LW" [arrowsize=0.5,dirType=back,style="setlinewidth(0.5)"]; "_Radiation_SW" [URL="climlab.radiation.Radiation.html#climlab.radiation.radiation._Radiation_SW",dirType=back,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=14,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Parent class for SW radiation modules"]; "_Radiation" -> "_Radiation_SW" [arrowsize=0.5,dirType=back,style="setlinewidth(0.5)"]; }
class climlab.radiation.rrtm.rrtmg.RRTMG(icld=1, irng=1, idrv=0, permuteseed_sw=150, permuteseed_lw=300, dyofyr=0, inflgsw=2, inflglw=2, iceflgsw=1, iceflglw=1, liqflgsw=1, liqflglw=1, tauc_sw=0.0, tauc_lw=0.0, ssac_sw=0.0, asmc_sw=0.0, fsfc_sw=0.0, tauaer_sw=0.0, ssaaer_sw=0.0, asmaer_sw=0.0, ecaer_sw=0.0, tauaer_lw=0.0, isolvar=0, indsolvar=array([0., 0.]), bndsolvar=array([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.]), solcycfrac=0.0, **kwargs)[source]

Bases: _Radiation_SW, _Radiation_LW

Container to drive combined LW and SW radiation models.

For some details about inputs and diagnostics, see the radiation module.

Attributes:
coszen
depth

Depth at grid centers (m)

depth_bounds

Depth at grid interfaces (m)

diagnostics

Dictionary access to all diagnostic variables

input

Dictionary access to all input variables

insolation
lat

Latitude of grid centers (degrees North)

lat_bounds

Latitude of grid interfaces (degrees North)

lev

Pressure levels at grid centers (hPa or mb)

lev_bounds

Pressure levels at grid interfaces (hPa or mb)

lon

Longitude of grid centers (degrees)

lon_bounds

Longitude of grid interfaces (degrees)

timestep

The amount of time over which step_forward() is integrating in unit seconds.

Methods

add_diagnostic(name[, value])

Create a new diagnostic variable called name for this process and initialize it with the given value.

add_input(name[, value])

Create a new input variable called name for this process and initialize it with the given value.

add_subprocess(name, proc)

Adds a single subprocess to this process.

add_subprocesses(procdict)

Adds a dictionary of subproceses to this process.

compute()

Computes the tendencies for all state variables given current state and specified input.

compute_diagnostics([num_iter])

Compute all tendencies and diagnostics, but don't update model state.

declare_diagnostics(diaglist)

Add the variable names in inputlist to the list of diagnostics.

declare_input(inputlist)

Add the variable names in inputlist to the list of necessary inputs.

integrate_converge([crit, verbose])

Integrates the model until model states are converging.

integrate_days([days, verbose])

Integrates the model forward for a specified number of days.

integrate_years([years, verbose])

Integrates the model by a given number of years.

remove_diagnostic(name)

Removes a diagnostic from the process.diagnostic dictionary and also delete the associated process attribute.

remove_subprocess(name[, verbose])

Removes a single subprocess from this process.

set_state(name, value)

Sets the variable name to a new state value.

set_timestep([timestep, num_steps_per_year])

Calculates the timestep in unit seconds and calls the setter function of timestep()

step_forward()

Updates state variables with computed tendencies.

to_xarray([diagnostics])

Convert process variables to xarray.Dataset format.

property coszen
property insolation