# Surface¶

This module contains classes describing different surfaces.

A surface is required by both the radiation and the convective models used inside the RCE simulations, and if you don’t set it up default will be a SlabOcean.

Example

Create a surface model, e.g. SlabOcean, and use it in an RCE simulation:

>>> import konrad
>>> surface_temperature_start = ...
>>> surface = konrad.surface.SlabOcean(
>>>     temperature=surface_temperature_start)
>>> rce = konrad.RCE(atmosphere=..., surface=surface)
>>> rce.run()
>>> surface_temperature_end = surface['temperature'][-1]

 Surface(*args, **kwargs) Abstract base class to define requirements for surface models. FixedTemperature(*args, **kwargs) Surface model with fixed temperature. SlabOcean(*args, **kwargs) Surface model with adjustable temperature.