docs/high_resolution/high_resolution.rst

changeset 116
5f36c691670e
parent 115
73345b4f532f
equal deleted inserted replaced
115:73345b4f532f 116:5f36c691670e
1 1. Particle Linear Depolarization Ratio Implementation 1 1. High Resolution products
2 ====================================================== 2 ======================================================
3 3
4 The most important improvement included in the SCC v4.0 is the implementation of a new optical product which is the particle linear depolarization ratio. 4 #. Connect to https://scc.imaa.cnr.it
5 5
6 .. important:: 6 #. Log-in with your username and password
7 If your lidar system is not equipped with any polarization channels **NO** changes are required. In this case, the SCC v4.0 should work using the same input files and the same database configurations you have used with the SCC v3.11. Anyway as in the SCC v4.0 several bugs have been fixed, it is recommended to re-run all the measurement IDs you have submitted. For doing that you just need to reprocess all your data without the need to submit raw data files already uploaded on the server.
8 7
9 1.1 Background 8 #. Click on "Station "Admin"
10 --------------
11 9
12 The calculation of the volume linear depolarization ratio profile (*VLDR*) and particle linear depolarization ratio profile (*PLDR*) needs two different steps: 10 .. figure:: media/add_hirelpp1.jpg
13
14 #. the calibration of the polarization sensitive lidar channels;
15 #. the calculation of the *VLDR* or *PLDR* itself.
16
17 The SCC allows the user to make both the above points. In particular the calibration step is made by a completely new module called **ELDEC** (Earlinet Lidar Depolarization Calibrator) which computes the *apparent calibration factor* :math:`\eta^*` out of the pre-processed data provided by the standard **ELPP** (Earlinet Lidar Pre-Processor) module and it records it in the SCC database (SCC_DB). Once logged into the SCC_DB this factor can be used whenever it is necessary.
18
19 The raw lidar calibration measurements should be put in a NetCDF file which has the same structure as the “standard” raw SCC NetCDF input file (for more details see sections 2 and 3.2).
20
21 New signal types have been introduced to take into account special channel configurations used for calibration purposes.
22
23 Moreover new product types for both calibration and *PLDR* calculation have been defined. As, in principle, it is possible to calculate the *PLDR* only when the aerosol backscatter coefficient profile is available the following new products have been defined:
24
25 #. *Linear polarization calibration (factor* :math:`\eta`) *(product_type_id=6);*
26 #. *Raman backscatter and linear depolarization ratio
27 (product_type_id=7);*
28 #. *Elastic backscatter and linear depolarization ratio
29 (product_type_id=8).*
30
31 The first product in the above list is used only for calibration while the other two are used for the calculation of *PLDR*. Basically, in most of the cases, the products 2 and 3 are equivalent to the corresponding backscatter product types with the exception that also the following new variables are available:
32
33 ::
34
35 double VolumeDepol(Length) ;
36 double ErrorVolumeDepol(Length) ;
37 ErrorVolumeDepol:long_name = "absolute error of VolumeDepol" ;
38 double ParticleDepol(Length) ;
39 double ErrorParticleDepol(Length) ;
40 ErrorParticleDepol:long_name = "absolute error of ParticleDepol" ;
41
42 1.2 Polarization calibration
43 ----------------------------
44
45 An important point is the definition of reliable *PLDR* calibration procedures. Within EARLINET the following calibration procedures are currently used:
46
47 a) Rayleigh calibration;
48 b) +45 calibration method, or :math:`\Delta90` calibration method (made by +45 and -45 measurements);
49 c) 3 signals (total, cross and parallel).
50
51 It is well known that method a) could produce easily large errors on *PLDR* which cannot be controlled. For this reason only the methods b) and c) can be used to provide reliable polarization calibrations and so only those methods will be implemented in the SCC.
52
53 For what it concerns the method c) it, basically, requires to solve the equation:
54
55 .. math::
56 \alpha_s P_s + \alpha_p P_p = P
57
58 in two different atmospheric layers with considerably different *VLDR*. So to calibrate in this way the implementation of automatic layer identification in the SCC is required. As at moment this feature is not yet available within the SCC **ONLY** the method b) is considered.
59
60 1.3 SCC procedure to calculate the PLDRP
61 ----------------------------------------
62
63 According to what mentioned before the SCC calculates the *PLDR* through the following steps:
64
65 #. The user needs to create a new system configuration in the SCC_DB including only lidar channels used for the calibration. One (or more) *Linear polarization calibration (product_type_id=6)* product should be associated to this new configuration (see section 3.2 for more details);
66
67 #. This new system configuration should contain only the polarization channels in the configuration used for the calibration (for example rotated in the polarization plane of +45 degrees). A channel in calibration measurement configuration should have a **DIFFERENT** channel ID from the channel ID corresponding to the same channel in standard measurement configuration. For example, if a system has two polarization channels which in standard measurement configuration correspond to the channel ID=1 and 2 respectively, the same physical channels under calibration measurement configuration should correspond to different channel IDs (let's say ID=3 and 4 for the +45 degrees polarization rotated channels and ID=5 and 6 for the -45 degrees polarization rotated ones in case D90 calibration method is used). Moreover, the polarization channels should be labeled correctly using the new signal types available (*+45elPT, +45elPR, -45elPT, -45elPR, +45elPTnr, +45elPTfr, +45elPRnr, +45elPRfr, -45elPTnr, -45elPTfr, -45elPRnr, -45elPRfr).* For more details see section 3.2;
68
69 #. In SCC v4.0 the polarization channels are **NOT** labeled on the base of their polarization state (as it was done in the SCC v3.11) but **ALWAYS** as transmitted and reflected channels. So the channels that in SCC v3.11 were labeled as *elCP, elCPnr, elCPfr, elPP, elPPnr elPPfr* will be labeled in SCC v4.0 as *elPR, elPRnr elPRfr elPT, elPTnr elPTfr* where the letter *T* stands from transmitted and the letter *R* for reflected.
70
71 .. warning:: In switching from the SCC v3.11 to SCC v4.0 the following modifications have been made on **ALL** channels of **ALL** registered configurations:
72 *elPP→elPR*
73
74 *elCP→elPT*
75
76 *elPPnr→elPRnr*
77
78 *elPPfr→ elPRfr*
79
80 *elCPnr→ elPTnr*
81
82 *elCPfr→ elPTfr*
83
84 Please be sure these modifications reflect to your actual lidar setup(cross channels are transmitted and parallel channels are reflected);
85
86 4. The user needs to submit a file (same format as raw SCC input file) containing the raw data for the lidar channels defined at the point 1 (see section 3.2 for more details);
87 #. The file at point 4 is pre-processed by **ELPP** module which applies the standard pre-processing procedures applied to “standard” lidar data;
88 #. The pre-processed files are then processed by the new modules **ELDEC** which calculates :math:`\eta^*` *the apparent calibration factor* and logs it into the SCC_DB;
89 #. The user needs to create a new system configuration in the SCC_DB (which should be different from the one used for the calibration) and associate it the new product *Raman backscatter and linear depolarization ratio product_type_id=7)* or *Elastic backscatter and linear depolarization ratio (product_type_id=8).* Alternatively the calculation of those products can be added to an already existing lidar configuration as long as it is different from the calibration one;
90 #. The product defined at point 7 should be linked to the product containing the polarization calibration (defined at point 1) in a way that the *apparent calibration factor* can be selected from the SCC_DB (see section 3.3 and in particular figure 3.4);
91 #. The user needs to submit another SCC raw data file containing the “standard” measurements;
92 #. Finally **ELPP** and **ELDA** will produce a b-file containing backscatter coefficient profile and *PLDR*. In particular this calculation is made in two different steps: from the pre-processed lidar polarization signals, and taking into account the *apparent calibration factor* and the *calibration factor correction K* (defined as option of *Linear polarization calibration* product\ *)* written into the SCC_DB, an “apparent” *VLDR* :math:`\delta^*` is calculated. Even if :math:`\delta^*` is a calibrated quantity it can be still affected by possible systematic errors due to not perfect optics or alignment of the system;
93
94 #. To take into account these errors a corrected *VLDR* (:math:`\delta`) is calculated using the *polarization cross-talk correction parameters* *G* and *H* calculated on the base of Müller matrix formalism. These cross-talk correction parameters (*G* and *H*) are stored in the SCC_DB for each lidar channels (see section 3.1 in particular figure 3.2). Finally the *PLDR* is calculated using the backscatter coefficient profile and the molecular LDRP calculated by ELPP considering the center wavelength and bandwidth of the channels interference filter.
95
96 The *apparent calibration factor* :math:`\eta^*` is calculated by the **ELDEC** module as the geometrical mean of the ratio of the +/-45 degrees reflected to the +/- 45 degrees transmitted signals within an altitude calibration range defined by the users in the raw data input files.
97
98 In case of +45 calibration method :math:`\eta^*` is calculated by:
99
100 .. math::
101 \eta^* = \frac{I_R}{I_T}(+45)
102
103 While in case of :math:`\Delta90` calibration method:
104
105 .. math::
106 \eta^* = \sqrt{\frac{I_R}{I_T}(+45) \frac{I_R}{I_T}(-45)}
107
108 **ELDA** module calculates the “apparent” *VLDR*:
109
110 .. math::
111 \delta^* = \frac{K}{\eta^*} \cdot \frac{I_R}{I_T}
112
113 the *VLDR*
114
115 .. math::
116 \delta = \frac{\delta^*(G_T + H_T)-(G_R + H_R)}{(G_R - H_R) - \delta^*(G_T - H_T)}
117
118 and the *PLDR*
119
120 .. math::
121 \delta_{\alpha} = \frac{(1 + \delta_m)\delta R - (1 + \delta)\delta_m}{(1 + \delta_m)R - (1 + \delta)}
122
123 where:
124
125 - :math:`\eta^*` is the *apparent calibration factor* calculated by **ELDEC**
126
127 - *K* is the *calibration factor correction* defined as polarization product option
128
129 - :math:`I_T` and :math:`I_R` are the transmitted and the reflected signals in the polarization detection set-up
130
131 - :math:`G_{T,R}` and :math:`H_{T,R}` are *polarization cross-talk correction parameters* for the transmitted and reflected signals used to correct for systematic errors. Both these factors are defined in the SCC_DB for each lidar channel.
132
133 - :math:`\delta_m` is the molecular linear depolarization ratio calculated by ELPP
134
135 - *R* is the backscatter ratio
136
137 Please note once again that the polarization channels are described in terms of transmitted and reflected signals. This means that according to different lidar instrumental configurations, the transmitted or the reflected channel can contain total, perpendicular or parallel polarized signals.
138
139 In order to retrieve the backscatter profile the total signal must be obtained combining the transmitted and reflected polarized signals. The following formula is used:
140
141 .. math::
142 I_{total} \propto \frac{\eta^*}{K}H_R I_T - H_T I_R
143
144 The formulas above are general and can be adapted to all possible polarization lidar configurations selecting the right polarization cross-talk correction parameters (see Table 1.1).
145
146 Let's suppose, for example, we have the perpendicular polarized lidar signal on the transmitted channel and the parallel polarized on reflected channel. For an ideal system (no diattenuation and cross-talk) we have:
147
148 .. math::
149 G_T=1 , \qquad H_T=-1, \qquad G_R=1, \qquad H_R=1
150
151 If, on the other hand, we have the perpendicular polarized lidar signal on reflected channel and the total polarized on the transmitted for and ideal system we have:
152
153 .. math::
154 G_T=1 , \qquad H_T=1, \qquad G_R=1, \qquad H_R=-1
155
156
157 **Table 1.1:** Polarization cross-talk correction parameters for ideal systems
158
159 +----------------------+-----------------------------+-----------------+-----------------+-----------------+
160 | Laser polarization | Detected in lidar channel |
161 + +-----------------------------+-----------------+-----------------+-----------------+
162 | | Transmitted | Reflected |
163 + +-----------------------------+-----------------+-----------------+-----------------+
164 | | :math:`G_T` | :math:`H_T` | :math:`G_R` | :math:`H_R` |
165 +----------------------+-----------------------------+-----------------+-----------------+-----------------+
166 | total | 1 | 0 | 1 | 0 |
167 +----------------------+-----------------------------+-----------------+-----------------+-----------------+
168 | parallel | 1 | 1 | 1 | 1 |
169 +----------------------+-----------------------------+-----------------+-----------------+-----------------+
170 | cross | 1 | -1 | 1 | -1 |
171 +----------------------+-----------------------------+-----------------+-----------------+-----------------+
172
173 The *apparent calibration factor* (:math:`\eta^*`), *the calibration factor correction* (*K*) and the *polarization cross-talk correction parameters* are stored by **ELPP** module in the intermediate NetCDF files using the following variables:
174
175 - :code:`Polarization_Channel_Gain_Factor` (*apparent calibration factor* - :math:`\eta^*` )
176 - :code:`Polarization_Channel_Gain_Factor_Correction` (*calib. factor corr.* – *K*)
177 - :code:`G_T`
178 - :code:`H_T`
179 - :code:`G_R`
180 - :code:`H_R`
181
182 Finally new usecases have been defined to take into account all the possible lidar configurations. The details on that are provided as a separate file.
183
184 2. Changes of the SCC input format
185 ==================================
186
187 The following minor changes have been applied to raw SCC data format:
188
189 #. The optional variable *ID_Range* has been **REMOVED**;
190 #. The **OPTIONAL** variable :code:`int Signal_Type(channels)` has been added. The possible values are the same available in the SCC_DB:
191
192 :code:`0` :math:`\rightarrow` :code:`elT`
193
194 :code:`1` :math:`\rightarrow` :code:`elTnr`
195
196 :code:`2` :math:`\rightarrow` :code:`elTfr`
197
198 :code:`3` :math:`\rightarrow` :code:`vrRN2`
199
200 :code:`4` :math:`\rightarrow` :code:`vrRN2nr`
201
202 :code:`5` :math:`\rightarrow` :code:`vrRN2fr`
203
204 :code:`6` :math:`\rightarrow` :code:`elPR`
205
206 :code:`7` :math:`\rightarrow` :code:`elPT`
207
208 :code:`8` :math:`\rightarrow` :code:`pRRlow`
209
210 :code:`9` :math:`\rightarrow` :code:`pRRhigh`
211
212 :code:`10` :math:`\rightarrow` :code:`elPRnr`
213
214 :code:`11` :math:`\rightarrow` :code:`elPRfr`
215
216 :code:`12` :math:`\rightarrow` :code:`elPTnr`
217
218 :code:`13` :math:`\rightarrow` :code:`elPTfr`
219
220 :code:`14` :math:`\rightarrow` :code:`vrRH2O`
221
222 :code:`15` :math:`\rightarrow` :code:`pRRhighnr`
223
224 :code:`16` :math:`\rightarrow` :code:`pRRhighfr`
225
226 :code:`17` :math:`\rightarrow` :code:`pRRlownr`
227
228 :code:`18` :math:`\rightarrow` :code:`pRRlowfr`
229
230 :code:`19` :math:`\rightarrow` :code:`vrRH2Onr`
231
232 :code:`20` :math:`\rightarrow` :code:`vrRH2Ofr`
233
234 :code:`21` :math:`\rightarrow` :code:`elTunr`
235
236 :code:`22` :math:`\rightarrow` :code:`+45elPT`
237
238 :code:`23` :math:`\rightarrow` :code:`+45elPR`
239
240 :code:`24` :math:`\rightarrow` :code:`-45elPT`
241
242 :code:`25` :math:`\rightarrow` :code:`-45elPR`
243
244 :code:`26` :math:`\rightarrow` :code:`+45elPTnr`
245
246 :code:`27` :math:`\rightarrow` :code:`+45elPTfr`
247
248 :code:`28` :math:`\rightarrow` :code:`+45elPRnr`
249
250 :code:`29` :math:`\rightarrow` :code:`+45elPRfr`
251
252 :code:`30` :math:`\rightarrow` :code:`-45elPTnr`
253
254 :code:`31` :math:`\rightarrow` :code:`-45elPTfr`
255
256 :code:`32` :math:`\rightarrow` :code:`-45elPRnr`
257
258 :code:`33` :math:`\rightarrow` :code:`-45elPRfr`
259
260 .. warning:: This variable is found in the SCC input file the corresponding settings in the SCC database will be **OVERWRITTEN**. Unless you don't have any valid reason to overwrite the database value this variable should not be used.
261
262 3. The variables:
263
264 ::
265
266 double Pol_Calib_Range_Min(channels)
267 double Pol_Calib_Range_Max(channels)
268
269 have been added. Both these variable are **MANDATORY** for any calibration raw dataset. These variable should be included only the polarization calibration measurements and should specify the altitude range (meters) in which the polarization calibration should be made. For more details see section 3.3;
270
271 4. The variable :code:`Depolarization_Factor` has been **REMOVED**.
272
273 The SCC v3.11 used this variable to get polarization calibration factor for the calculation of the total signal out of cross and parallels ones. As the SCC v4.0 is able to calculate the same parameter by itself, the use of this variable is *NOT* possible anymore. The recommended way to get a valid and quality assured depolarization calibration factor is to submit to the SCC v4.0 a polarization calibration dataset and let the SCC to calculate such factor.
274
275 To make this change more smooth and to provide the users with the possibility to continue to analyze their data with the SCC v4.0 even if a calibration dataset has not been submitted yet, it will be possible for a **LIMITED** period of time to submit the calibration constant via the SCC web interface. The SCC will keep track of the used calibration method (automatic or manual).
276
277 .. warning:: After this transition period **ONLY** automatic calibration will be allowed!
278
279 5. The new **OPTIONAL** variable:
280
281 :code:`string channel_string_ID(channels)`
282
283 has been introduced.
284
285 Starting from SCC v4.0 the lidar channel can be identified not only by using integers (as it happened until SCC v3.11) but also by using strings.
286
287 The procedure implemented in the SCC v4.0 to recognize the lidar channel within the raw lidar data is fully backward compatible (old format files are accepted as they are by SCC v4.0).
288
289 .. warning:: Please note that the definition of the new string variable requires netCDF-4 format! The type *string* is not supported in netCDF-3 format!
290
291 3. Real Example
292 ===============
293
294 This section describes all the practical steps the users need to follow to switch from SCC v3.11 to new SCC v4.0.
295
296 :IMPORTANT:
297 If your lidar system is not equipped with any polarization channels **NO** changes are required. In this case, the SCC v4.0 should work using the same input files and the same database configurations you have used with the SCC v3.11. Anyway as in the SCC v4.0 several bugs have been fixed,it is recommended to re-run all the measurement IDs you have submitted. For doing that you just need to reprocess all your data without the need to submit raw data files already uploaded on the server.
298
299 The practical example reported below describes the modifications required to use the SCC v4.0 for lidar systems equipped with polarization channels. Lidar systems not equipped with polarization channels do not require any modification to switch to SCC v4.0.
300
301 3.1 Modification of polarization channel parameters
302 ---------------------------------------------------
303
304 In what it follows it is assumed you already have registered one or more lidar configurations in the SCC database and that such configurations have been already used to produce optical products (aerosol extinction and/or backscatter coefficients) by means of the SCC v3.11.
305
306 Let's assume your 3+2 system is registered in the SCC database and the settings used by the SCC v3.11 are the ones summarized in table 3.1.
307
308 :Table 3.1: Example of configuration in SCC v3.11
309
310 +----------------+--------------+----------------+-------------+-----------+
311 | Channel Name | Channel ID | Channel Type | nighttime | daytime |
312 +----------------+--------------+----------------+-------------+-----------+
313 | 355 | 1 | elT | x | x |
314 +----------------+--------------+----------------+-------------+-----------+
315 | 387 | 2 | vrRN2 | x | |
316 +----------------+--------------+----------------+-------------+-----------+
317 | 532 cross | 3 | elCP | x | x |
318 +----------------+--------------+----------------+-------------+-----------+
319 | 532 parallel | 4 | elPP | x | x |
320 +----------------+--------------+----------------+-------------+-----------+
321 | 607 | 5 | vrRN2 | x | |
322 +----------------+--------------+----------------+-------------+-----------+
323 | 1064 | 6 | elT | x | x |
324 +----------------+--------------+----------------+-------------+-----------+
325
326 We assume there are 2 system configurations called “nighttime” and “daytime”. The nighttime configuration contains all the available lidar channels (in order to calculate, for example, the aerosol extinction at 355 and 532nm and the aerosol backscatter at 355, 532 and 1064nm) while in daytime conditions only elastic channels are used (only elastic backscatter coefficients are generated).
327
328 To make these settings working with SCC v4.0 it is needed to modify :underline:ONLY` the products properties involving the polarization channels (532 cross and parallel). All the products not involving the polarization channels **DO NOT** need any modification and should work in the SCC v4.0 exactly as they did in SCC v3.11. In the example above the aerosol extinction and backscatter coefficient at 355nm, the extinction at 532nm as well as the backscatter coefficient at 1064nm do not required any
329 modification. Let's focus on the modifications needed for the calculation of backscatter at 532nm.
330
331 .. figure:: media/figure3.1.png
332 :height: 369 11 :height: 369
333 :width: 1037 12 :width: 1037
334 :scale: 100 % 13 :scale: 100 %
335 :align: center 14 :align: center
336 15
337 **Figure 3.1**: How to select signal types
338 16
339 The first modification concerns the settings of the channel type for the 532 cross and 532 parallel polarization channels. Starting from SCC v4.0 polarization channels are identified as transmitted and reflected polarization channels and not on the base of their polarization state. So if we suppose that the cross polarized channel is transmitted by a polarizer beam splitter cube, and the parallel is reflected, the value reported in table 3.1 should be modified as they appear in table 3.2. So using the SCC web interface, the signal type of the 532 cross channel should be changed from :code:`elCP` to :code:`elPT` and in the same way the 532 parallel channel should be changed from :code:`elPP` to :code:`elPR` (see figure 3.1). 17 #. In "Product settings" tab click on the "+" at the right of "HiRELPP Products"
340 18
341 **Table 3.2:** The same of table 3.1 but with new channel types 19 .. figure:: media/add_hirelpp2.jpg
342 introduced in SCC v4.0 20 :height: 369
343 21 :width: 1037
344 +----------------+--------------+----------------+-------------+-----------+
345 | Channel Name | Channel ID | Channel Type | nighttime | daytime |
346 +----------------+--------------+----------------+-------------+-----------+
347 | 355 | 1 | elT | x | x |
348 +----------------+--------------+----------------+-------------+-----------+
349 | 387 | 2 | vrRN2 | x | |
350 +----------------+--------------+----------------+-------------+-----------+
351 | 532 cross | 3 | **elPT** | x | x |
352 +----------------+--------------+----------------+-------------+-----------+
353 | 532 parallel | 4 | **elPR** | x | x |
354 +----------------+--------------+----------------+-------------+-----------+
355 | 607 | 5 | vrRN2 | x | |
356 +----------------+--------------+----------------+-------------+-----------+
357 | 1064 | 6 | elT | x | x |
358 +----------------+--------------+----------------+-------------+-----------+
359
360 The other change about the polarization channels required to run the SCC v4.0 is the definition of the polarization crosstalk parameters for all the polarization channels available. Such parameters can be defined for each polarization channel using the SCC web interface (see figure 3.2). In particular among the channel parameters there is a new tab called *Polarization crosstalk parameters* where it is possible to insert the values from for the parameters *G* and *H* and the corresponding statistical and systematic errors if available. In case you have measured *G* and *H* for your polarization channels please insert the corresponding values there. Otherwise you can insert the ideal values as reported in table 1.1.
361
362 .. figure:: media/figure3.2.png
363 :height: 479
364 :width: 1890
365 :scale: 100 % 22 :scale: 100 %
366 :align: center 23 :align: center
367 24
368 **Figure 3.2:** Polarization crosstalk parameters tab in channel properties (SCC v4.0). 25 #. Select "Min height" and "Max height"
369 26
370 3.2 Definition of new calibration configuration and product 27 #. Select "Product types" and "Station"
371 -----------------------------------------------------------
372 28
373 In this section we will see how to set the polarization calibration parameters: the calibration constant (called :math:`\eta^*` in section 1.3) and the correction to calibration constant (called K in section 1.3). In order to provide such parameters you need to define a new system configuration to be used **ONLY** for calibration purposes. Such new configuration should include the polarization channels in the measurement configuration used for the calibration. Let's suppose we want to use the :math:`\Delta90` calibration method. 29 #. Select all the channels involved in the product calculation in the "Product/channel Connection"
374 30
375 In this case we need to define a new configuration (called for example “depol_calibration”) as reported in the table 3.3. As you can see the configuration “depol_calibration” includes 4 “new” channels. Actually the channels “532 cross +45 degrees” (channel ID=10) and “532 cross -45 degrees” (channel ID=12) refer to the same physical channel “532 cross” reported with channel ID=3 in table 3.2. Anyway we need to define two new channel IDs to identify the “532 cross” channel in the two polarization rotated configurations (+45 and -45 degrees) needed to apply the D90 calibration method. The same is true for the “532 parallel” channel. The polarization rotated channels should be labeled with the corresponding signal type as reported in table 3.3 (see figure 31 .. IMPORTANT::
376 3.1). 32 HiRELPP products are designed to be multi-wavelength products. So do not define different HiRELPP products for different wavelengths but put all the wavelengths (channels) in the same HiRELPP product
377 33
378 **Table 3.3:** Polarization calibration configurations assuming :math:`\Delta90` calibration method
379 34
380 +----------------------------+--------------+----------------+----------------------+ 35 #. Select the configuration at which the product should be connected in "System/Product Connection"
381 | Channel Name | Channel ID | Channel Type | depol_calibration |
382 +----------------------------+--------------+----------------+----------------------+
383 | 532 cross +45 degrees | 10 | +45elPT | x |
384 +----------------------------+--------------+----------------+----------------------+
385 | 532 parallel +45 degrees | 11 | +45elPR | x |
386 +----------------------------+--------------+----------------+----------------------+
387 | 532 cross -45 degrees | 12 | -45elPT | x |
388 +----------------------------+--------------+----------------+----------------------+
389 | 532 parallel -45 degrees | 13 | -45elPR | x |
390 +----------------------------+--------------+----------------+----------------------+
391 36
392 Finally we should add to the configuration “depol_calibration” a product “*Linear polarization calibration”* to be used for the calibration. According to the example given above and to the usecase document attached we should use an usecase=4 for this example. 37 #. On the base of the emission wavelengths of the channels included in the products, specify the emission wavelengths of the channels that have to be glued (separated by comma). If you leave this field empty the glueing will be NOT performed on any channel.
393 38
394 Other “*Linear polarization calibration”* options to be specified are reported in figure 3.3. The most important factor you should insert here is the *Pol calibration correction factor* (K). The ideal value for this parameter is 1. Anyway if you have measured the parameter K please fill in the measured value and the corresponding measurement errors. 39 #. (Optional) If among the channels included in the product, there are cross and parallel channels, select the depolarization calibration product(s) to use for their calibration under "polarization calibration product" and the "polarization option"
395 40
396 .. figure:: media/figure3.3.png 41 #. Finally press "Save"
397 :height: 495 42
398 :width: 1887 43 .. figure:: media/add_hirelpp3.jpg
44 :height: 369
45 :width: 1037
399 :scale: 100 % 46 :scale: 100 %
400 :align: center 47 :align: center
401 48
402 **Figure 3.3:** Options for *Linear polarization calibration product*. 49 This is how the HiRELPP product should look like:
403 50
404 As you can see it is possible to fill in only the K correction factor and not the calibration constant :math:`\eta^*`. 51 .. figure:: media/add_hirelpp4.jpg
405 52 :height: 369
406 Actually for a **LIMITED** period of time it will be possible to fill in also the constant :math:`\eta^*` using a temporary option shown in figure 3.4. This has been done to provide the users with the possibility to continue to use the SCC even if an automatic calibration made by the SCC was not submitted yet. Anyway after a transition period it will be **NOT** possible to provide calibration constant using this procedure and the parameter :math:`\eta^*` can be calculated **ONLY** by the SCC as result of the submission of a proper calibration raw input dataset. The format of this input file is the same as the standard SCC input file. The only difference is that is should contain calibration measurements instead of standard measurements. Following our example, such file should contain the measurement performed at +45 and -45 degrees at 532nm. Also the channel IDs in the file should reflect the ones reported in table 3.3. 53 :width: 1037
407
408 Moreover this raw input file has to contain the variables:
409 ::
410
411 double Pol_Calib_Range_Min(channels)
412 double Pol_Calib_Range_Max(channels)
413
414 where to specify the altitude ranges in meters in which the polarization calibration should be done.
415
416 .. figure:: media/figure3.4.png
417 :height: 806
418 :width: 1896
419 :scale: 100 % 54 :scale: 100 %
420 :align: center 55 :align: center
421 56
422 **Figure 3.4:** To provide polarization calibration (:math:`\eta^*`) values manually just use the button “Add polarization calibration” in the upper-right corner. This option will be available only for a limited period of time. After that only SCC calculated calibration constants will be accepted.
423 57
424 According to the table 3.3 this file should be something similar to:
425 ::
426
427 dimensions:
428 channels = 4 ;
429 nb_of_time_scales = 1 ;
430 points = 16380 ;
431 scan_angles = 1 ;
432 time = UNLIMITED ; // (3 currently)
433 variables:
434 int channel_ID(channels) ;
435 double Background_Low(channels) ;
436 double Background_High(channels) ;
437 int id_timescale(channels) ;
438 double Laser_Pointing_Angle(scan_angles) ;
439 int Molecular_Calc ;
440 int Laser_Pointing_Angle_of_Profiles(time, nb_of_time_scales) ;
441 int Raw_Data_Start_Time(time, nb_of_time_scales) ;
442 int Raw_Data_Stop_Time(time, nb_of_time_scales) ;
443 int Laser_Shots(time, channels) ;
444 double Raw_Lidar_Data(time, channels, points) ;
445 double Pressure_at_Lidar_Station ;
446 double Temperature_at_Lidar_Station ;
447 double Pol_Calib_Range_Min(channels) ;
448 double Pol_Calib_Range_Max(channels) ;
449
450 // global attributes:
451 :System = "mysystem" ;
452 :Longitude_degrees_east = 15.723771 ;
453 :RawData_Start_Time_UT = "220000" ;
454 :RawData_Start_Date = "20130620" ;
455 :Measurement_ID = "20130620po00" ;
456 :Altitude_meter_asl = 760. ;
457 :RawData_Stop_Time_UT = "230333" ;
458 :Latitude_degrees_north = 40.601039 ;
459
460 data:
461 channel_ID = 10, 11, 12, 13 ;
462
463 Background_Low = 30000, 30000, 30000, 30000 ;
464
465 Background_High = 50000, 50000, 50000, 50000 ;
466
467 id_timescale = 0, 0, 0, 0 ;
468
469 Laser_Pointing_Angle = 0 ;
470
471 Molecular_Calc = 0 ;
472
473 Laser_Pointing_Angle_of_Profiles =
474 0,
475 0,
476 0 ;
477
478 Raw_Data_Start_Time =
479 0,
480 300,
481 600 ;
482
483 Raw_Data_Stop_Time =
484 210,
485 510,
486 810 ;
487
488 Laser_Shots =
489 1200, 1200, 1200, 1200,
490 1200, 1200, 1200, 1200,
491 1200, 1200, 1200, 1200 ;
492
493 Pressure_at_Lidar_Station = 1010 ;
494
495 Temperature_at_Lidar_Station = 14 ;
496
497 Pol_Calib_Range_Min = 1000, 1000, 1000, 1000 ;
498
499 Pol_Calib_Range_Min = 2000, 2000, 2000, 2000 ;
500
501 Raw_Lidar_Data = …...;
502
503 The file above assume the following calibration measurements have been done:
504
505 1. First +45 degrees acquisition followed by a corresponding -45 degrees acquisition
506
507 a. Measurement at +45 degrees
508
509 Start Time: 20130620 22:00:00
510
511 Stop Time: 20130620 22:01:00
512
513 Shots: 1200
514
515 b. Measurement at -45 degrees
516
517 Start Time: 20130620 22:02:30
518
519 Stop Time: 20130620 22:03:30
520
521 Shots: 1200
522
523 2. Second +45 degrees acquisition followed by a corresponding -45 degrees acquisition
524
525 a. Measurement at +45 degrees
526
527 Start Time: 20130620 22:05:00
528
529 Stop Time: 20130620 22:06:00
530
531 Shots: 1200
532
533 b. Measurement at -45 degrees
534
535 Start Time: 20130620 22:07:30
536
537 Stop Time: 20130620 22:08:30
538
539 Shots: 1200
540
541 3. Third +45 degrees acquisition followed by a corresponding -45 degrees acquisition
542
543 a. Measurement at +45 degrees
544
545 Start Time: 20130620 22:10:00
546
547 Stop Time: 20130620 22:11:00
548
549 Shots: 1200
550
551 b. Measurement at -45 degrees
552
553 Start Time: 20130620 22:12:30
554
555 Stop Time: 20130620 22:13:30
556
557 Shots: 1200
558
559 As you can see there are 3 cycles of consecutive measurements at +45 and -45 degrees. That way the dimension :code:`time` is set to 3.
560
561 The first +/-45 degrees measurement starts at “20130620 22:00:00” (start time of the first +45 measurement) and stops at “20130620 22:03:30” (stop time of the fist -45 measurement). As a consequence, according to the values of the global attributes :code:`RawData_Start_Date` and :code:`RawData_Start_Time_UT` we have to set:
562
563 :code:`Raw_Data_Start_Time[0]=0` (start of the first +45 measurement in
564 seconds since :code:`RawData_Start_Time_UT`)
565
566 :code:`Raw_Data_Stop_Time[0]=210` (stop of the first -45 measurement in
567 seconds since :code:`RawData_Start_Time_UT`)
568
569 Following a similar procedure for the other 2 cycles we have:
570
571 :code:`Raw_Data_Start_Time[1]=300` (start of the second +45 measurement in seconds since :code:`RawData_Start_Time_UT`)
572
573 :code:`Raw_Data_Stop_Time[1]=510` (stop of the second -45 measurement in seconds since :code:`RawData_Start_Time_UT`)
574
575 :code:`Raw_Data_Start_Time[2]=600` (start of the third +45 measurement in seconds since :code:`RawData_Start_Time_UT`)
576
577 :code:`Raw_Data_Stop_Time[2]=810` (stop of the third -45 measurement in seconds since :code:`RawData_Start_Time_UT`)
578
579 Moreover, according to the order of the channels in the :code:`channel_ID` variable, the :code:`Raw_Lidar_Data` array should be filled as it follows:
580
581 :code:`Raw_Lidar_Data[0][0][points]` :math:`\rightarrow` 1\ :sup:`st` measured transmitted signal at +45 degrees
582
583 :code:`Raw_Lidar_Data[0][1][points]` :math:`\rightarrow` 1\ :sup:`st` measured transmitted signal at +45 degrees
584
585 :code:`Raw_Lidar_Data[0][2][points]` :math:`\rightarrow` 1\ :sup:`st` measured transmitted signal at -45 degrees
586
587 :code:`Raw_Lidar_Data[0][3][points]` :math:`\rightarrow` 1\ :sup:`st` measured transmitted signal at -45 degrees
588
589 :code:`Raw_Lidar_Data[1][0][points]` :math:`\rightarrow` 2\ :sup:`nd` measured transmitted signal at +45 degrees
590
591 :code:`Raw_Lidar_Data[1][1][points]` :math:`\rightarrow` 2\ :sup:`nd` measured transmitted signal at +45 degrees
592
593 :code:`Raw_Lidar_Data[1][2][points]` :math:`\rightarrow` 2\ :sup:`nd` measured transmitted signal at -45 degrees
594
595 :code:`Raw_Lidar_Data[1][3][points]` :math:`\rightarrow` 2\ :sup:`nd` measured transmitted signal at -45 degrees
596
597 :code:`Raw_Lidar_Data[2][0][points]` :math:`\rightarrow` 3\ :sup:`rd` measured transmitted signal at +45 degrees
598
599 :code:`Raw_Lidar_Data[2][1][points]` :math:`\rightarrow` 3\ :sup:`rd` measured transmitted signal at +45 degrees
600
601 :code:`Raw_Lidar_Data[2][2][points]` :math:`\rightarrow` 3\ :sup:`rd` measured transmitted signal at -45 degrees
602
603 :code:`Raw_Lidar_Data[2][3][points]` :math:`\rightarrow` 3\ :sup:`rd` measured transmitted signal at -45 degrees
604
605 Once this file has been created it needs to be submitted to the SCC and linked to the configuration “depol_calibration”. The result of the SCC analysis on this file will be the calculation of the calibration constant h\ :sup:`\*` that will be logged into the SCC database and can be used to calibrate Raman/Elastic backscatter products (see section 3.3).
606
607 3.3 Definition of “Raman/Elastic backscatter and linear depolarization ratio”
608 -----------------------------------------------------------------------------
609
610 In order to calculate the *PLDR* we need to modify the polarization related products linked to the “standard” measurement configurations (the configuration called “nighttime” and/or “daytime” in table 3.2).
611
612 Let's suppose we have defined the following products (defined already in SCC v3.11):
613
614 **Table 3.4:** Example of products configuration in SCC v3.11
615
616 +-----------------------+--------------+-----------------------+-------------+-----------+
617 | Product Name | Product ID | Product Type | nighttime | daytime |
618 +-----------------------+--------------+-----------------------+-------------+-----------+
619 | Raman backscatter | 1 | Raman backscatter | x | |
620 | | | | | |
621 | 355nm | | | | |
622 +-----------------------+--------------+-----------------------+-------------+-----------+
623 | Extinction | 2 | Extinction | x | |
624 | | | | | |
625 | 387nm | | | | |
626 +-----------------------+--------------+-----------------------+-------------+-----------+
627 | Raman backscatter | 3 | Raman backscatter | x | |
628 | | | | | |
629 | 532nm | | | | |
630 +-----------------------+--------------+-----------------------+-------------+-----------+
631 | Extinction | 4 | Extinction | x | |
632 | | | | | |
633 | 532nm | | | | |
634 +-----------------------+--------------+-----------------------+-------------+-----------+
635 | Elastic backscatter | 5 | Elastic backscatter | | x |
636 | | | | | |
637 | 355nm | | | | |
638 +-----------------------+--------------+-----------------------+-------------+-----------+
639 | Elastic backscatter | 6 | Elastic backscatter | | x |
640 | | | | | |
641 | 532nm | | | | |
642 +-----------------------+--------------+-----------------------+-------------+-----------+
643 | Elastic backscatter | 7 | Elastic backscatter | x | x |
644 | | | | | |
645 | 1064nm | | | | |
646 +-----------------------+--------------+-----------------------+-------------+-----------+
647
648 Product ID=1, 2, 4, 5, 7 do not need any modification as they do not involve polarization channels. The only product that need to be modified are the Product ID=3 and 6. To produce b532 files containing also *PLDR* we need to modify the “nighttime” and “daytime” configurations to include a product of type “Raman backscatter and linear depolarization ratio” or “Elastic bakscatter and linear depolarization ratio” respectively. So the configuration reported in table 3.4 should be
649 changed to match what is included in table 3.5.
650
651 **Table 3.5:** The same of table 3.4 but with new product types introduced in SCC v4.0
652
653 +-----------------------+--------------+-----------------------------------------------------------+-------------+-----------+
654 | Product Name | Product ID | Product Type | nighttime | daytime |
655 +-----------------------+--------------+-----------------------------------------------------------+-------------+-----------+
656 | Raman backscatter | 1 | Raman backscatter | x | |
657 | | | | | |
658 | 355nm | | | | |
659 +-----------------------+--------------+-----------------------------------------------------------+-------------+-----------+
660 | Extinction | 2 | Extinction | x | |
661 | | | | | |
662 | 387nm | | | | |
663 +-----------------------+--------------+-----------------------------------------------------------+-------------+-----------+
664 | Raman backscatter | 10 | **Raman backscatter and linear depolarization ratio** | x | |
665 | | | | | |
666 | 532nm | | | | |
667 +-----------------------+--------------+-----------------------------------------------------------+-------------+-----------+
668 | Extinction | 4 | Extinction | x | |
669 | | | | | |
670 | 532nm | | | | |
671 +-----------------------+--------------+-----------------------------------------------------------+-------------+-----------+
672 | Elastic backscatter | 5 | Elastic backscatter | | x |
673 | | | | | |
674 | 355nm | | | | |
675 +-----------------------+--------------+-----------------------------------------------------------+-------------+-----------+
676 | Elastic backscatter | 11 | **Elastic backscatter and linear depolarization ratio** | | x |
677 | | | | | |
678 | 532nm | | | | |
679 +-----------------------+--------------+-----------------------------------------------------------+-------------+-----------+
680 | Elastic backscatter | 7 | Elastic backscatter | x | x |
681 | | | | | |
682 | 1064nm | | | | |
683 +-----------------------+--------------+-----------------------------------------------------------+-------------+-----------+
684
685 As you can see in table 3.5, the old product IDs=3 and 6 (present in table 3.4) have been replaced with the new product ID=10 and 11 to guarantee the calculation of *PLDR*.
686
687 It is important to set among the product options of the product ID=10 and 11 which calibration product we want to use for calibration (see section 3.2). This can be done using the SCC web interface setting the appropriate setting in the tab *Polarization calibration products* (see figure 3.4). According to the current example you should set here the calibration product defined in section 3.2.
688
689 .. figure:: media/figure3.5.png
690 :height: 102
691 :width: 1895
692 :scale: 100 %
693 :align: center
694
695 **Figure 3.5:** How to link a product to calibrate with a calibration product.
696
697 .. warning:: Please note that also *Raman/Elastic backscatter products* need to be linked to a calibration product because the calibration constant and the corresponding correction factor is needed to calculate the total signal out of the two polarization components even if the *PLDR* is not involved in the product calculation.

mercurial