emc2.simulator.lidar_moments.accumulate_OD

emc2.simulator.lidar_moments.accumulate_OD(model, is_conv, z_values, hyd_type, OD_from_sfc=True, **kwargs)[source]

Accumulates optical thickness from TOA or the surface.

Parameters:
model: Model

The model to generate the parameters for.

is_conv: bool

True if the cell is convective

z_values: ndarray

model output height array in m.

hyd_type: string

hydrometeor class name to include in calcuation.

OD_from_sfc: bool

If True, then calculate optical depth from the surface.

Returns:
model: emc2.core.Model()

The model with the added simulated lidar parameters.