emc2.core.model.Model

class emc2.core.model.Model[source]

This class stores the model specific parameters for the radar simulator.

Attributes
Rho_hyd: dict

A dictionary whose keys are the names of the model’s hydrometeor classes and whose values are the density of said hydrometeors in \(kg\ m^{-3}\)

lidar_ratio: dict

A dictionary whose keys are the names of the model’s hydrometeor classes and whose values are the lidar_ratio of said hydrometeors.

vel_param_a: dict

A dictionary whose keys are the names of the model’s hydrometeor classes and whose values are the \(a\) parameters to the equation \(V = aD^b\) used to calculate terminal velocity corresponding to each hydrometeor.

vel_param_b: dict

A dictionary whose keys are the names of the model’s hydrometeor classes and whose values are the \(b\) parameters to the equation \(V = aD^b\) used to calculate terminal velocity corresponding to each hydrometeor.

N_field: dict

A dictionary whose keys are the names of the model’s hydrometeor classes and whose values are the number concentrations in \(cm^{-3}\) corresponding to each hydrometeor class.

T_field: str

A string containing the name of the temperature field in the model.

q_field: str

A string containing the name of the water vapor mixing ratio field (in kg/kg) in the model.

p_field: str

A string containing the name of the pressure field (in mbar) in the model.

z_field: str

A string containing the name of the height field (in m) in the model.

conv_frac_names: dict

A dictionary containing the names of the convective fraction corresponding to each hydrometeor class in the model.

time_dim: str

The name of the time dimension in the model.

height_dim: str

The name of the height dimension in the model.

model_name: str

The name of the model (used for plotting).

__init__(self)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(self)

Initialize self.

Attributes

hydrometeor_classes

The list of hydrometeor classes.

num_hydrometeor_classes

The number of hydrometeor classes

num_subcolumns

Gets the number of subcolumns in the model.