Lapse Rate¶
Contains classes for handling atmospheric temperature lapse rates. These are used by the convection sub-model to set the temperature profile in the troposphere.
Example
Calculate the moist adiabatic lapse rate, for a specified atmospheric temperature profile:
>>> import konrad
>>> lapse = konrad.lapserate.MoistLapseRate()
>>> critical_lapserate = lapse(atmosphere=...)
Apply convection to an unstable atmosphere, updating the atmospheric temperature
profile and the surface temperature to follow the critical_lapserate
:
>>> convection = konrad.convection.HardAdjustment()
>>> convection.stabilize(
>>> atmosphere=..., surface=..., lapse=critical_lapserate)
|
Base class for all lapse rate handlers. |
|
Moist adiabatic temperature lapse rate. |
|
Fixed constant lapse rate through the whole troposphere. |
|
Fixed dry-adiabatic lapse rate through the whole atmosphere. |
|
Moist-adiabatic lapse rate with a dry boundary layer above the surface. |
|
Create a moist-adiabat from a given surface T up to the cold point. |