emc2.simulator.radar_moments.calc_radar_empirical

emc2.simulator.radar_moments.calc_radar_empirical(instrument, model, is_conv, p_values, t_values, z_values, atm_ext, OD_from_sfc=True, hyd_types=None, **kwargs)[source]

Calculates the radar stratiform or convective reflectivity and attenuation in a sub-columns using empirical formulation from literature.

Parameters:
instrument: :func:`emc2.core.Instrument` class

The instrument to calculate the reflectivity parameters for.

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

The model to calculate the parameters for.

is_conv: bool

True if the cell is convective

p_values: ndarray

model output pressure array in Pa.

t_values: ndarray

model output temperature array in C.

z_values: ndarray

model output height array in m.

atm_ext: ndarray

atmospheric attenuation per layer (dB/km).

OD_from_sfc: bool

If True, then calculate optical depth from the surface.

hyd_types: list or None

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

Additonal keyword arguments are passed into
:py:func:`emc2.simulator.lidar_moments.accumulate_attenuation`.
Returns:
model: emc2.core.Model()

The model with the added simulated lidar parameters.