## Abstract

Identification of aerosol layers on lidar measurements is of interest to determine ranges where aerosol properties are likely to be homogeneous and to infer transport phenomena and atmosphere dynamics. For instance, the range-corrected backscattered signal from aerosol measured with lidars has long been used as a proxy to determine the depth of the planetary boundary layer. The method relies on the assumption that in a well-mixed atmosphere, a rather homogenous aerosol distribution will exist within the boundary layer; hence, a sudden drop in the lidar range-corrected signal profile will mark the end of the layer. The most usual methods to detect that drop are the gradient method, which detects a negative maximum in the derivative with respect to range of the lidar range-corrected signal, or of its logarithm, and the wavelet correlation transform method, which detects a maximum in the correlation function of the lidar range-corrected signal and a wavelet, usually the Haar wavelet. These methods are not restricted to determining the boundary layer height but can also be used to locate the edges of lofted aerosol layers. Using fundamentals of linear system theory, this study shows the deep link existing between the gradient method and the wavelet correlation transform method using the Haar wavelet, the latter being equivalent to the gradient method applied to a range-corrected signal profile smoothed by a low-pass spatial filtering, which seems not to have been explicitly noted in the literature so far. Consequences are readily drawn for the wavelet correlation transform method using other wavelets.

## 1. Introduction

The range-resolved backscatter signal of elastic lidars contains information from which the height of aerosol layers can be derived. Identification of these layers is important in atmospheric observations to determine ranges where aerosol properties are likely to be homogeneous, as well as to infer transport phenomena and atmosphere dynamics. A conspicuous example of the latter application is the use of lidar backscatter profiles to measure the planetary boundary layer depth.

The planetary boundary layer (PBL) can be defined as the lowest part of the troposphere that is directly influenced by the ground and whose changes are shown in less than 1 h (Stull 1988). Factors related to the orography, the season, the daytime, or the weather act over the PBL and change its structure both spatially and temporally. Its vertical extent, called PBL depth or PBL height, varies from a few tens of meters to several kilometers. The PBL depth is a meteorological parameter with a strong influence on pollutant dispersion behavior and, eventually, on living organisms’ health. Emitted pollutants tend to be trapped inside the boundary layer in such a manner that for a given emission rate, low depths of the PBL will tend to increase the concentration of particles and gases close to the ground (Pérez et al. 2004). The PBL depth is therefore an important input parameter for numerical weather and air quality prediction models.

The aerosol distribution as measured by lidars has long been used as a proxy to determine the PBL depth. Aerosols are also trapped inside the PBL. Although the aerosol profile cannot unambiguously tell the extent of the boundary layer—mostly because of the aerosol mixing inside the PBL and/or possible layers above the PBL (Sicard et al. 2006)—in many instances a sudden drop in a range-corrected lidar profile will be related to the PBL height. Although not in a straightforward manner in general, peaks of the negative derivative of the range-corrected lidar profile or of its logarithm, subject to certain constraints, have been successfully used to detect the depth of the boundary layer (Senff et al. 1996; Hayden et al. 1997; Flamant et al. 1997); the effectiveness of combining the information given by the first and second derivatives of the backscatter range-corrected profile, subject also to certain conditions, has been demonstrated by Sicard et al. (2006). Those methods are called gradient methods. Likewise, the so-called wavelet correlation—or covariance—transform (WCT) methods (Cohn and Angevine 2000; Brooks 2003; Morille et al. 2007; Baars et al. 2008) have also been used to track layering features in the range-corrected lidar profile. In the WCT method the lidar profile is correlated with a function of a specifically chosen form, the so-called wavelet. The shift of the wavelet with respect to the lidar profile for which a maximum of the correlation is obtained identifies, under certain constraints and subject to some uncertainty, as for the gradient methods, the position of the PBL height or, for that matter, the positions of layer edges and/or peaks. A variable dilation parameter (scale) in the wavelet has also been used to try to detect the peaks corresponding best to the PBL height, with the aim of achieving robust methods able to process large amounts of data in an automated way. Brooks (2003) used also the WCT technique to determine the limits of the transition zone and studied empirically the effect of the wavelet dilation on the spatial spectrum of the WCT. As compared to gradient methods, which use numerical differentiation prone to be adversely affected by noise, WCT methods use instead a correlation integral, which, in addition, can be very efficiently calculated by standard numerical computation packages.

Although most of the reported applications of gradient and WCT methods deal with the determination of the PBL depth, the methods can obviously also be applied to determine the range of other layers [see, e.g., Morille et al. (2007) with respect to WCT].

In the following sections we show the close link existing between gradient methods and WCT methods, and, more specifically, that the WCT method using the Haar wavelet is in fact equivalent to the gradient method applied to a signal smoothed by a low-pass spatial filtering.

## 2. The gradient method and the WCT method

The range-corrected lidar signal is denoted by . To detect steep decreasing gradients in the gradient method, either or is computed. Falling steps on *s*(*x*) are identified by the positions of the relative maxima of these derivatives; likewise, derivative relative minima mark the position of increasing steps on *s*(*x*). Concerning the PBL, one of the first peaks of the derivative profile corresponds approximately to the position of the PBL top if some physical-related constraints are met (Sicard et al. 2006). Different maxima and minima can also be used to identify the edges of different aerosol layers. Because the differentiation operation tends to enhance high frequencies, the method can be impaired by noise corrupting the signal.

In the WCT method, the range-corrected signal *s*(*x*) is convolved with a wavelet *w*(*x*) within a given range (*x*_{min}, *x*_{max}) of validity of *s*(*x*), outside of which *s*(*x*) can formally considered to be 0:

The position of the maxima and minima of *c*(*x*) marks the edges of aerosol layers, one of which, subject to physical or empirical constraints, may correspond to the PBL top.

## 3. The WCT method with the Haar wavelet

A frequently used form of *w*(*x*) is the so-called Haar wavelet (see Fig. 1), which can be defined as

where *a* is called the wavelet dilation. From the point of view of linear system theory, *c*(*x*) defined by Eq. (1) can be considered as the output of a filter with impulse response when the input is *s*(*x*) (Fig. 2).

To gain insight into the operation performed by the filter of Fig. 2, we note that

with

(see also Fig. 3). Therefore, we can consider the filter of Fig. 2 as the cascade of a filter with impulse response and an ideal differentiation filter (Fig. 4). But a filter with impulse response as given by Eq. (4) is a low-pass filter with transfer function

(Fig. 5), where *f* is the spatial frequency and .

From the above considerations, it turns out that computing the wavelet correlation transform with the Haar wavelet is equivalent to filtering the range-corrected signal in the spatial frequency domain with a low-pass filter of bandwidth approximately 1/*a*, and differentiating the filter output; in this sense, the WCT method with the Haar wavelet can be considered as a particular form of the gradient method.

Figure 6 shows with an example using real digitized signals the virtual identity of both approaches, that is, on the one hand smoothing *s*(*x*) by filtering it with a filter of impulse response like that of Fig. 3 and differentiating the filtering result and, on the other hand, convolving *s*(*x*) with the Haar wavelet. In this example, the range-corrected signal corresponds to a 532-nm elastic channel of a lidar with a frequency-doubled Nd:YAG laser and an acquisition system sampling the return signal every 3.75 m. The rising slope in the ranges close to 0 m is due to incomplete overlap effects. The dilation parameter is taken to be 200 m.

## 4. Conclusions

It has been shown that the WCT method using a Haar wavelet is completely equivalent to the gradient method applied to a spatially low-pass filtered range-corrected signal. Because of the linearity of the filter and derivative operators, the same result would also be obtained if the range-corrected signal is first differentiated and the result is filtered with the same low-pass filter.

The generalization of these results to other wavelet forms is immediate. For example, if the wavelet has an odd symmetry, it can be considered as the derivative of an even function. As long as this function corresponds to the impulse response of a low-pass filter, which it will in many practical cases, the WCT method can be considered as a gradient method applied to a low-pass filtered version of the range-corrected signal—the exact details of the filtering depending on the wavelet form.

As another example, consider the “Mexican hat” wavelet used by Morille et al. (2007), which is the second derivative of a Gaussian function. Following a reasoning parallel to that developed in section 3, one concludes that using this wavelet is equivalent to smoothing the range-corrected signal with a low-pass filter with Gaussian impulse response and differentiating twice the filter output, which is consistent with the claimed ability of this wavelet to detect the layer base, top, and peak.

In spite of the equivalence of WCT and filtering-and-differentiation (or differentiation-and-filtering) methods, it is clear that WCT presents the advantage of performing all the operations in a single, computationally efficient step.

## Acknowledgments

This work is supported by the European Union Seventh Framework Programme (FP7 2007-2013) project Aerosols, Clouds, and Trace Gases Research Infrastructure Network (ACTRIS) (Grant Agreement 262254); and by the Spanish Ministry of Science and Innovation and FEDER funds under the Projects TEC2009-09106/TEC and CGL2011-13580-E/CLI.

## REFERENCES

*An Introduction to Boundary Layer Meteorology.*Atmospheric and Oceanographic Sciences Library, Vol. 13, Kluwer Academic Publishers, 670 pp.