VisibilityDiagnostic¶
This obsfunction computes a visibility (in meters) given input obs space variables (i.e. GeoVals or observations) and a set of parameters.
This follows the method outlined in Clark et al. (2008) 1.
The visibility is assumed to only be limited by (potentially wet) aerosol particles, subject to some visibility limit.
Required Obs Space Variables¶
Relative Humidity (unitless fraction): this is specified via the
relative humidity variable
parameter. Both the group and variable name must be specified, for exampleObsValue/relativeHumidityAt2M
.Pressure (Pa): this is specified via the
pressure variable
parameter. Both the group and variable name must be specified, for exampleObsValue/surfacePressure
.Temperature (K): this is specified via the
temperature variable
parameter. Both the group and variable name must be specified, for exampleObsValue/temperatureAt2M
.
Other Parameters¶
critical relative humidity
(unitless fraction - Required): that at which liquid water droplets are considered to form (\(RH_\text{crit}\) below).
The below parameterize the RH_TO_CC diagnostic taken from the UK Met Office Unified Model, as used in the Met Office Observation Processing System (OPS). This calculates a cloud cover fraction, a proxy for the presence of mist or fog, from relative humidity.
cloud cover parameter 1
(unitless - Required): Corresponds to \(\text{ccp1}\) in the diagnostic.cloud cover parameter 2
(unitless - Required): As above, but corresponds to \(\text{ccp2}\).cloud cover parameter 3
(unitless - Required): As above, but corresponds to \(\text{ccp3}\).
The relative humidity is capped to 1.0 (i.e. 100% - referred to below as \(RH_\text{capped}\)). The cloud cover fraction is then calculated as:
\[\begin{split}CC = \begin{cases} 0 & \text{if } RH_\text{capped} \leq RH_\text{crit}, \\ \left(2 \times \cos\left(\text{ccp3} + \frac{1}{3}\arccos\left(\text{ccp1} \times \frac{RH_\text{capped} - RH_\text{crit}}{1 - RH_\text{crit}}\right)\right)\right)^2 & \text{if } RH_\text{capped} < \frac{5 + RH_\text{crit}}{6}, \\ 1 - \left(\text{ccp2} \times \frac{1 - RH_\text{capped}}{1 - RH_\text{crit}}\right)^{\frac{2}{3}} & \text{otherwise.} \end{cases}\end{split}\]
The below parameterize the CC_TO_RHTOT diagnostic taken from the UK Met Office Unified Model, as used in the Met Office Observation Processing System (OPS). In that diagnostic, total water relative humidity is associated with cloud cover via a piecewise function, derived from a triangular distribution. This is consistent with the Smith (1990) cloud scheme 2.
total water relative humidity parameter 1
(unitless fraction - Required): The cloud cover fraction at which the piecewise function transitions (\(\text{P1}\) below).total water relative humidity parameter 2
(unitless - Required): The scaling to apply to the cloud cover fraction within the first part of the piecewise function (\(\text{P2}\) below).total water relative humidity parameter 3
(unitless - Required): The scaling to apply to \((1 - CC)\), where \(CC\) is the cloud cover fraction, within the second part of the piecewise function (\(\text{P3}\) below).
The cloud cover is first limited to the inclusive range \([0, 1]\), then the total water relative humidity is calculated as:
The below parameters correspond to variables found in the Clark 2008 paper 1.
aerosol mass concentration
(kg kg-1 - Required): \(m\) in Eq. 1 - also known as the dry aerosol mass mixing ratio.aerosol density
(kg m-3 - Optional - Default 1700): \(\rho\) in Eq. 1standard aerosol radius
(m - Optional - Default 0.16E-6): \(r_0\) in Eq. 2standard aerosol number density
(m-3 - Optional - Default 5E6): \(N_0\) in Eq. 3air density
(kg m-3 - Optional - Default 1.0): \(\rho_\text{a}\) in Eq. 1water density
(kg m-3 - Optional - Default 1000.0): \(\rho_\text{wat}\) in Eq. 13aerosol size distribution power law exponent
(unitless - Optional - Default 1/6): \(p\) in Eq. 2Koehler curve constant A
(m - Optional - Default 1.2E-9): \(A\) in Eq. 10: related to the surface tension of waterKoehler curve constant B
(unitless - Optional - Default 0.5): \(B\) in Eq. 10 - the “activation parameter”liminal contrast
(unitless - Optional - Default 0.02): \(\epsilon\) in Eq. 7 - for calculation of the extinction coefficientextinction efficiency factor Q
(unitless - Optional - Default 2.0): \(Q\) in Eq. 16 - for calculation of the extinction coefficientparticle size weighting factor eta
(unitless - Optional - Default 0.75): \(\eta\) in Eq. 19 - for calculation of the extinction coefficientvisibility limit
(m - Optional - Default 10000): used in place of the extinction coefficient of air to limit unrealistically high visibilities (see text after Eq. 8)
The below parameters are specific to the Newton-Raphson method used to estimate the particle radius \(r_m\) given the atmospheric conditions. Equation numbers continue to refer to Clark 2008, referenced above.
minimum total water specific humidity
(kg kg-1 - Optional - Default 0.001): \(q_T^\text{min}\)minimum relative humidity for first guess
(unitless fraction - Optional - Default 0.01): for calculating the first guess of the particle radius.maximum relative humidity for first guess
(unitless fraction - Optional - Default 0.999): for calculating the first guess of the particle radius.minimum allowed normalized droplet radius
(m m-1 - Optional - Default 2.0): \(r_m^\text{min}/r_{md}\) - minimum allowed wet particle (droplet) radius, normalized by the mean dry radius \(r_{md}\). The expression for \(r_{md}\) is Eq. 2.maximum allowed normalized droplet radius
(m m-1 - Optional - Default 10000.0): \(r_m^\text{max}/r_{md}\) - maximum allowed wet particle (droplet) radius, normalized by the mean dry radius \(r_{md}\). The expression for \(r_{md}\) is Eq. 2.maximum number of iterations
(unitless - Optional - Default 10): maximum number of iterations for the Newton-Raphson loop.maximum inflation factor
(m m-1 - Optional - Default 2.0): maximum allowed droplet radius inflation factor for each iteration of the Newton-Raphson loop (i.e. \(\text{max}(r_m^{n+1}/r_m^n)\)).minimum inflation factor
(m m-1 - Optional - Default 0.5): minimum allowed droplet radius inflation factor for each iteration of the Newton-Raphson loop (i.e. \(\text{min}(r_m^{n+1}/r_m^n)\)).loop stopping value
(m m-1 - Optional - Default 0.01): the maximum allowed difference between the normalized droplet radius \(r_m/r_{md}\) at iteration \(n\) and \(n+1\).droplet radius exponential smoothing factor
(unitless - Optional - Default 0.9): the exponential smoothing factor to apply to previous and current droplet radius at the start of the Newton-Raphson loop before continuing: if 1.0, then the previous droplet radius becomes the new droplet radius and no smoothing is applied. If 0.0, the smoothing is infinite and the loop will always keep the first guess of the droplet radius.
Example¶
- filter: Variable Assignment
assignments:
- name: MetaData/diagnosedVisibility
type: float
function:
name: ObsFunction/VisibilityDiagnostic
options:
aerosol mass concentration: 1E-9 # Required
relative humidity variable: # Required
name: ObsValue/relativeHumidityAt2M
pressure variable: # Required
name: GeoVals/surfacePressure
temperature variable: # Required
name: ObsValue/airTemperatureAt2M
critical relative humidity: 0.940 # Required
cloud cover parameter 1: 1.060660172 # 3*sqrt(2)/4 - Required
cloud cover parameter 2: 2.121320344 # 3*sqrt(2)/2 - Required
cloud cover parameter 3: 1.047197551 # pi/3 - Required
total water relative humidity parameter 1: 0.5 # Required
total water relative humidity parameter 2: 2.0 # Required
total water relative humidity parameter 3: 2.0 # Required
aerosol density: 1700 # Optional - same default as paper
standard aerosol radius: 0.16E-6 # Optional - same default as paper
standard aerosol number density: 5.0E+8 # Optional - same default as paper
air density: 1.0 # Optional - same default as paper
water density: 1000. # Optional - same default as paper
aerosol size distribution power law exponent: 0.1666666667 # 1/6 - optional - same default as paper
Koehler curve constant A: 1.2E-9 # Optional - same default as paper
Koehler curve constant B: 0.5 # Optional - same default as paper
liminal contrast: 0.02 # Optional - same default as paper
extinction efficiency factor Q: 2.0 # Optional - same default as paper
particle size weighting factor eta: 0.75 # Optional - same default as paper
visibility limit: 100000 # Optional - same default as paper
minimum total water specific humidity: 0.001 # Optional
minimum relative humidity for first guess: 0.01 # Optional
maximum relative humidity for first guess: 0.999 # Optional
minimum allowed normalized droplet radius: 2.0 # Optional
maximum allowed normalized droplet radius: 10000.0 # Optional
maximum number of iterations: 10 # Optional
maximum inflation factor: 2.0 # Optional
minimum inflation factor: 0.5 # Optional
loop stopping value: 0.01 # Optional
droplet radius exponential smoothing factor: 0.9 # Optional
References¶
- 1(1,2)
Clark, Peter A., et al. “Prediction of visibility and aerosol within the operational Met Office Unified Model. I: Model formulation and variational assimilation.” Quarterly Journal of the Royal Meteorological Society 134.636 (2008): 1801-1816. DOI 10.1002/qj.318.
- 2
Smith, R. N. B. “A scheme for predicting layer clouds and their water content in a general circulation model.” Quarterly Journal of the Royal Meteorological Society 116.492 (1990): 435-460. DOI 10.1002/qj.4971164910.