emc2.simulator.lidar_moments.calc_LDR_and_ext

emc2.simulator.lidar_moments.calc_LDR_and_ext(model, ext_OD=4.0, OD_from_sfc=True, LDR_per_hyd=None, hyd_types=None)[source]

Calculates the lidar extinction mask (for conv+strat) and linear depolarization ratio (per strat, conv, and strat+conv) for the given model and lidar. Run after calculating ‘sub_col_OD_tot’.

Parameters:
model: Model

The model to generate the parameters for.

ext_OD: float

The optical depth threshold for determining if the signal is extinct.

OD_from_sfc: bool

If True, optical depth will be calculated from the surface. If False, optical depth will be calculated from the top of the atmosphere.

LDR_per_hyd: dict or None

If a dict, the amount of LDR per hydrometeor class must be specified in a dictionary whose keywords are the model’s hydrometeor classes. If None, the default settings from the model will be used.

hyd_types: list or None

list of hydrometeor names to include in calcuation. using default Model subclass types if None.

Returns:
model: emc2.core.Model()

The model with the added simulated lidar parameters.