emc2.simulator.lidar_moments.calc_lidar_moments

emc2.simulator.lidar_moments.calc_lidar_moments(instrument, model, is_conv, ext_OD=10, OD_from_sfc=True, **kwargs)[source]

Calculates the lidar backscatter, extinction, and optical depth in a given column for the given lidar.

Parameters
instrument: Instrument

The instrument to simulate. The instrument must be a lidar.

model: Model

The model to generate the parameters for.

is_conv: bool

True if the cell is convective

ext_OD: float

The optical depth at which the lidar signal is fully extinct.

z_field: str

The name of the altitude field to use.

OD_from_sfc: bool

If True, then calculate optical depth from the surface.

Additonal keyword arguments are passed into
:py:func:`emc2.simulator.lidar_moments.calc_LDR`.
Returns
model: Model

The model with the added simulated lidar parameters.