climlab 是一个用于面向过程的气候模拟的灵活引擎。它基于一个常规概念,即模型是单个的且相互作用的过程的集合。Climlab 定义了一个名为 Process 的基类,它可以包含任意复杂的子过程(每个子过程也包含一些子类)。只要给定合适的输入,每一个气候过程(辐射,动力,物理,湍流,对流,化学等)都可以作为一个独立的过程模型,或作为一个更复杂的模型的子过程。将合适的子过程集合在一起,可以很容易地定义新的模型类并以交互方式运行。
climlab目前有开箱即用的支持和文档示例,包括:
Radiative and radiative-convective column models, with various radiation schemes:
RRTMG (a widely used radiative transfer code)
CAM3 (from the NCAR GCM)
Grey Gas
Simplified band-averaged models (4 bands each in longwave and shortwave)
Convection schemes:
Emanuel moist convection scheme
Hard convective adjustment (to constant lapse rate or to moist adiabat)
1D Advection-Diffusion solvers
Moist and dry Energy Balance Models
Flexible insolation including: - Seasonal and annual-mean models - Arbitrary orbital parameters
Boundary layer scheme including sensible and latent heat fluxes
Arbitrary combinations of the above, for example:
2D latitude-pressure models with radiation, horizontally-varying meridional diffusion, and fixed relative humidity