emc2.simulator.subcolumn.set_q_n

emc2.simulator.subcolumn.set_q_n(model, hyd_type, is_conv=True, qc_flag=True, inv_rel_var=1)[source]

This function distributes the mixing ratio and number concentration into the subcolumns. For \(q_c\), the horizontal distribution follows Equation 8 of Morrison and Gettelman (2008).

Parameters
model: :func:`emc2.core.Model`

The model to calculate the mixing ratio in each subcolumn for.

hyd_type: str

The hydrometeor type.

is_conv: bool

Set to True to calculate the mixing ratio assuming convective clouds.

qc_flag: bool

Set to True to horizontally distribute the mixing ratio according to Morrison and Gettleman (2008)

inv_rel_var: float

The inverse of the relative variance for the p.d.f. in Morrison and Gettleman (2008)

Returns
model: emc2.core.Model()

The model with mixing ratio calculated in each subcolumn.

References

Morrison, H. and A. Gettelman, 2008: A New Two-Moment Bulk Stratiform Cloud Microphysics Scheme in the Community Atmosphere Model, Version 3 (CAM3). Part I: Description and Numerical Tests. J. Climate, 21, 3642–3659, https://doi.org/10.1175/2008JCLI2105.1