disdrodb 0.1.1__py3-none-any.whl → 0.1.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. disdrodb/__init__.py +64 -34
  2. disdrodb/_config.py +5 -4
  3. disdrodb/_version.py +16 -3
  4. disdrodb/accessor/__init__.py +20 -0
  5. disdrodb/accessor/methods.py +125 -0
  6. disdrodb/api/checks.py +139 -9
  7. disdrodb/api/configs.py +4 -2
  8. disdrodb/api/info.py +10 -10
  9. disdrodb/api/io.py +237 -18
  10. disdrodb/api/path.py +81 -75
  11. disdrodb/api/search.py +6 -6
  12. disdrodb/cli/disdrodb_create_summary_station.py +91 -0
  13. disdrodb/cli/disdrodb_run_l0.py +1 -1
  14. disdrodb/cli/disdrodb_run_l0_station.py +1 -1
  15. disdrodb/cli/disdrodb_run_l0b.py +1 -1
  16. disdrodb/cli/disdrodb_run_l0b_station.py +1 -1
  17. disdrodb/cli/disdrodb_run_l0c.py +1 -1
  18. disdrodb/cli/disdrodb_run_l0c_station.py +1 -1
  19. disdrodb/cli/disdrodb_run_l2e_station.py +1 -1
  20. disdrodb/configs.py +149 -4
  21. disdrodb/constants.py +61 -0
  22. disdrodb/data_transfer/download_data.py +145 -14
  23. disdrodb/etc/configs/attributes.yaml +339 -0
  24. disdrodb/etc/configs/encodings.yaml +473 -0
  25. disdrodb/etc/products/L1/global.yaml +13 -0
  26. disdrodb/etc/products/L2E/10MIN.yaml +12 -0
  27. disdrodb/etc/products/L2E/1MIN.yaml +1 -0
  28. disdrodb/etc/products/L2E/global.yaml +22 -0
  29. disdrodb/etc/products/L2M/10MIN.yaml +12 -0
  30. disdrodb/etc/products/L2M/GAMMA_ML.yaml +8 -0
  31. disdrodb/etc/products/L2M/NGAMMA_GS_LOG_ND_MAE.yaml +6 -0
  32. disdrodb/etc/products/L2M/NGAMMA_GS_ND_MAE.yaml +6 -0
  33. disdrodb/etc/products/L2M/NGAMMA_GS_Z_MAE.yaml +6 -0
  34. disdrodb/etc/products/L2M/global.yaml +26 -0
  35. disdrodb/l0/__init__.py +13 -0
  36. disdrodb/l0/configs/LPM/bins_diameter.yml +3 -3
  37. disdrodb/l0/configs/LPM/l0b_cf_attrs.yml +4 -4
  38. disdrodb/l0/configs/PARSIVEL/l0b_cf_attrs.yml +1 -1
  39. disdrodb/l0/configs/PARSIVEL/l0b_encodings.yml +3 -3
  40. disdrodb/l0/configs/PARSIVEL/raw_data_format.yml +1 -1
  41. disdrodb/l0/configs/PARSIVEL2/l0a_encodings.yml +4 -0
  42. disdrodb/l0/configs/PARSIVEL2/l0b_cf_attrs.yml +20 -4
  43. disdrodb/l0/configs/PARSIVEL2/l0b_encodings.yml +44 -3
  44. disdrodb/l0/configs/PARSIVEL2/raw_data_format.yml +41 -1
  45. disdrodb/l0/configs/PWS100/l0b_cf_attrs.yml +4 -4
  46. disdrodb/l0/configs/PWS100/raw_data_format.yml +1 -1
  47. disdrodb/l0/l0a_processing.py +30 -30
  48. disdrodb/l0/l0b_nc_processing.py +108 -2
  49. disdrodb/l0/l0b_processing.py +4 -4
  50. disdrodb/l0/l0c_processing.py +5 -13
  51. disdrodb/l0/manuals/SWS250.pdf +0 -0
  52. disdrodb/l0/manuals/VPF730.pdf +0 -0
  53. disdrodb/l0/manuals/VPF750.pdf +0 -0
  54. disdrodb/l0/readers/LPM/NETHERLANDS/DELFT_LPM_NC.py +66 -0
  55. disdrodb/l0/readers/LPM/SLOVENIA/{CRNI_VRH.py → UL.py} +3 -0
  56. disdrodb/l0/readers/LPM/SWITZERLAND/INNERERIZ_LPM.py +195 -0
  57. disdrodb/l0/readers/PARSIVEL/GPM/PIERS.py +105 -0
  58. disdrodb/l0/readers/PARSIVEL/JAPAN/JMA.py +128 -0
  59. disdrodb/l0/readers/PARSIVEL/NCAR/PECAN_MOBILE.py +1 -1
  60. disdrodb/l0/readers/PARSIVEL/NCAR/VORTEX2_2009.py +1 -1
  61. disdrodb/l0/readers/PARSIVEL2/BELGIUM/ILVO.py +168 -0
  62. disdrodb/l0/readers/PARSIVEL2/DENMARK/DTU.py +165 -0
  63. disdrodb/l0/readers/PARSIVEL2/FINLAND/FMI_PARSIVEL2.py +69 -0
  64. disdrodb/l0/readers/PARSIVEL2/FRANCE/ENPC_PARSIVEL2.py +255 -134
  65. disdrodb/l0/readers/PARSIVEL2/FRANCE/OSUG.py +525 -0
  66. disdrodb/l0/readers/PARSIVEL2/FRANCE/SIRTA_PARSIVEL2.py +1 -1
  67. disdrodb/l0/readers/PARSIVEL2/GPM/GCPEX.py +9 -7
  68. disdrodb/l0/readers/{PARSIVEL → PARSIVEL2}/KIT/BURKINA_FASO.py +1 -1
  69. disdrodb/l0/readers/PARSIVEL2/KIT/TEAMX.py +123 -0
  70. disdrodb/l0/readers/PARSIVEL2/NASA/APU.py +120 -0
  71. disdrodb/l0/readers/PARSIVEL2/{NETHERLANDS/DELFT.py → NCAR/FARM_PARSIVEL2.py} +43 -70
  72. disdrodb/l0/readers/PARSIVEL2/NCAR/PECAN_FP3.py +1 -1
  73. disdrodb/l0/readers/PARSIVEL2/NCAR/PERILS_MIPS.py +126 -0
  74. disdrodb/l0/readers/PARSIVEL2/NCAR/PERILS_PIPS.py +165 -0
  75. disdrodb/l0/readers/PARSIVEL2/NCAR/VORTEX_SE_2016_P2.py +1 -1
  76. disdrodb/l0/readers/PARSIVEL2/NCAR/VORTEX_SE_2016_PIPS.py +29 -12
  77. disdrodb/l0/readers/PARSIVEL2/NETHERLANDS/DELFT_NC.py +69 -0
  78. disdrodb/l0/readers/PARSIVEL2/SPAIN/CENER.py +144 -0
  79. disdrodb/l0/readers/PARSIVEL2/SPAIN/CR1000DL.py +201 -0
  80. disdrodb/l0/readers/PARSIVEL2/SPAIN/LIAISE.py +137 -0
  81. disdrodb/l0/readers/PARSIVEL2/USA/C3WE.py +146 -0
  82. disdrodb/l0/readers/PWS100/FRANCE/ENPC_PWS100.py +105 -99
  83. disdrodb/l0/readers/PWS100/FRANCE/ENPC_PWS100_SIRTA.py +151 -0
  84. disdrodb/l0/readers/RD80/NOAA/PSL_RD80.py +31 -14
  85. disdrodb/l0/routines.py +105 -14
  86. disdrodb/l1/__init__.py +5 -0
  87. disdrodb/l1/filters.py +34 -20
  88. disdrodb/l1/processing.py +45 -44
  89. disdrodb/l1/resampling.py +77 -66
  90. disdrodb/l1/routines.py +35 -42
  91. disdrodb/l1_env/routines.py +18 -3
  92. disdrodb/l2/__init__.py +7 -0
  93. disdrodb/l2/empirical_dsd.py +58 -10
  94. disdrodb/l2/event.py +27 -120
  95. disdrodb/l2/processing.py +267 -116
  96. disdrodb/l2/routines.py +618 -254
  97. disdrodb/metadata/standards.py +3 -1
  98. disdrodb/psd/fitting.py +463 -144
  99. disdrodb/psd/models.py +8 -5
  100. disdrodb/routines.py +3 -3
  101. disdrodb/scattering/__init__.py +16 -4
  102. disdrodb/scattering/axis_ratio.py +56 -36
  103. disdrodb/scattering/permittivity.py +486 -0
  104. disdrodb/scattering/routines.py +701 -159
  105. disdrodb/summary/__init__.py +17 -0
  106. disdrodb/summary/routines.py +4120 -0
  107. disdrodb/utils/attrs.py +68 -125
  108. disdrodb/utils/compression.py +30 -1
  109. disdrodb/utils/dask.py +59 -8
  110. disdrodb/utils/dataframe.py +63 -9
  111. disdrodb/utils/directories.py +49 -17
  112. disdrodb/utils/encoding.py +33 -19
  113. disdrodb/utils/logger.py +13 -6
  114. disdrodb/utils/manipulations.py +71 -0
  115. disdrodb/utils/subsetting.py +214 -0
  116. disdrodb/utils/time.py +165 -19
  117. disdrodb/utils/writer.py +20 -7
  118. disdrodb/utils/xarray.py +85 -4
  119. disdrodb/viz/__init__.py +13 -0
  120. disdrodb/viz/plots.py +327 -0
  121. {disdrodb-0.1.1.dist-info → disdrodb-0.1.3.dist-info}/METADATA +3 -2
  122. {disdrodb-0.1.1.dist-info → disdrodb-0.1.3.dist-info}/RECORD +127 -87
  123. {disdrodb-0.1.1.dist-info → disdrodb-0.1.3.dist-info}/entry_points.txt +1 -0
  124. disdrodb/l1/encoding_attrs.py +0 -635
  125. disdrodb/l2/processing_options.py +0 -213
  126. /disdrodb/l0/readers/PARSIVEL/SLOVENIA/{UL_FGG.py → UL.py} +0 -0
  127. {disdrodb-0.1.1.dist-info → disdrodb-0.1.3.dist-info}/WHEEL +0 -0
  128. {disdrodb-0.1.1.dist-info → disdrodb-0.1.3.dist-info}/licenses/LICENSE +0 -0
  129. {disdrodb-0.1.1.dist-info → disdrodb-0.1.3.dist-info}/top_level.txt +0 -0
@@ -1,635 +0,0 @@
1
- # -----------------------------------------------------------------------------.
2
- # Copyright (c) 2021-2023 DISDRODB developers
3
- #
4
- # This program is free software: you can redistribute it and/or modify
5
- # it under the terms of the GNU General Public License as published by
6
- # the Free Software Foundation, either version 3 of the License, or
7
- # (at your option) any later version.
8
- #
9
- # This program is distributed in the hope that it will be useful,
10
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- # GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License
15
- # along with this program. If not, see <http://www.gnu.org/licenses/>.
16
- # -----------------------------------------------------------------------------.
17
- """Attributes and encoding options for DISDRODB products."""
18
-
19
-
20
- def get_attrs_dict():
21
- """Temporary attributes."""
22
- attrs_dict = {
23
- #### L1
24
- "drop_number": {
25
- "description": "Counts of drops per diameter and velocity class",
26
- "long_name": "Drop counts per diameter and velocity class",
27
- "units": "",
28
- },
29
- "drop_counts": {
30
- "description": "Counts of drops per diameter class",
31
- "long_name": "Drop counts per diameter class",
32
- "units": "",
33
- },
34
- "Dmin": {
35
- "description": "Minimum drop diameter",
36
- "long_name": "Minimum drop diameter",
37
- "units": "mm",
38
- },
39
- "Dmax": {
40
- "description": "Maximum drop diameter",
41
- "long_name": "Maximum drop diameter",
42
- "units": "mm",
43
- },
44
- "fall_velocity": {
45
- "description": "Estimated drop fall velocity per diameter class",
46
- "long_name": "Estimated drop fall velocity",
47
- "units": "m s-1",
48
- },
49
- "drop_average_velocity": {
50
- "description": "Average measured drop fall velocity per diameter class",
51
- "long_name": "Measured average drop fall velocity",
52
- "units": "m s-1",
53
- },
54
- "N": {
55
- "description": "Total number of selected drops",
56
- "long_name": "Total number of selected drops",
57
- "units": "",
58
- },
59
- "Nremoved": {
60
- "description": "Total number of discarded drops",
61
- "long_name": "Total number of discarded drops",
62
- "units": "",
63
- },
64
- "Nbins": {
65
- "description": "Number of diameter bins with drops",
66
- "long_name": "Number of diameter bins with drops",
67
- "units": "",
68
- },
69
- "Nbins_missing": {
70
- "description": "Number of diameter bins with no drops",
71
- "long_name": "Number of diameter bins with no drops",
72
- "units": "",
73
- },
74
- "Nbins_missing_fraction": {
75
- "description": "Fraction of diameter bins with no drops",
76
- "long_name": "Fraction of diameter bins with no drops",
77
- "units": "",
78
- },
79
- "Nbins_missing_consecutive": {
80
- "description": "Maximum number of consecutive diameter bins with no drops",
81
- "long_name": "Maximum number of consecutive diameter bins with no drops",
82
- "units": "",
83
- },
84
- #### L2
85
- "drop_number_concentration": {
86
- "description": "Number concentration of drops per diameter class per unit volume",
87
- "long_name": "Drop number concentration per diameter class",
88
- "units": "m-3 mm-1",
89
- },
90
- "drop_volume": {
91
- "standard_name": "",
92
- "units": "mm3",
93
- "long_name": "Volume of Drops per Diameter Class",
94
- },
95
- "drop_total_volume": {
96
- "standard_name": "",
97
- "units": "mm3",
98
- "long_name": "Total Volume of Drops",
99
- },
100
- "drop_relative_volume_ratio": {
101
- "standard_name": "",
102
- "units": "",
103
- "long_name": "Relative Volume Ratio of Drops",
104
- },
105
- "KEmin": {
106
- "standard_name": "",
107
- "units": "J",
108
- "long_name": "Minimum Drop Kinetic Energy",
109
- },
110
- "KEmax": {
111
- "standard_name": "",
112
- "units": "J",
113
- "long_name": "Maximum Drop Kinetic Energy",
114
- },
115
- "E": {
116
- "description": "Kinetic energy per unit rainfall depth",
117
- "standard_name": "",
118
- "units": "J m-2 mm-1",
119
- "long_name": "Rainfall Kinetic Energy",
120
- },
121
- "KE": {
122
- "standard_name": "",
123
- "units": "J m-2 h-1",
124
- "long_name": "Kinetic Energy Density Flux",
125
- },
126
- "M1": {
127
- "standard_name": "",
128
- "units": "m-3 mm",
129
- "long_name": "First Moment of the Drop Size Distribution",
130
- },
131
- "M2": {
132
- "standard_name": "",
133
- "units": "m-3 mm2",
134
- "long_name": "Second Moment of the Drop Size Distribution",
135
- },
136
- "M3": {
137
- "standard_name": "",
138
- "units": "m-3 mm3",
139
- "long_name": "Third Moment of the Drop Size Distribution",
140
- },
141
- "M4": {
142
- "standard_name": "",
143
- "units": "m-3 mm4",
144
- "long_name": "Fourth Moment of the Drop Size Distribution",
145
- },
146
- "M5": {
147
- "standard_name": "",
148
- "units": "m-3 mm5",
149
- "long_name": "Fifth Moment of the Drop Size Distribution",
150
- },
151
- "M6": {
152
- "standard_name": "",
153
- "units": "m-3 mm6",
154
- "long_name": "Sixth Moment of the Drop Size Distribution",
155
- },
156
- "Nt": {
157
- "standard_name": "number_concentration_of_rain_drops_in_air",
158
- "units": "m-3",
159
- "long_name": "Total Number Concentration",
160
- },
161
- "R": {
162
- "standard_name": "rainfall_rate",
163
- "units": "mm h-1",
164
- "long_name": "Instantaneous Rainfall Rate",
165
- },
166
- "P": {
167
- "standard_name": "precipitation_amount",
168
- "units": "mm",
169
- "long_name": "Rain Accumulation",
170
- },
171
- "Z": {
172
- "standard_name": "equivalent_reflectivity_factor",
173
- "units": "dBZ",
174
- "long_name": "Equivalent Radar Reflectivity Factor",
175
- },
176
- "W": {
177
- "description": "Water Mass of the Drop Size Distribution",
178
- "standard_name": "mass_concentration_of_liquid_water_in_air",
179
- "units": "g m-3",
180
- "long_name": "Liquid Water Content",
181
- },
182
- "D10": {
183
- "standard_name": "",
184
- "units": "mm",
185
- "long_name": "10th Percentile Drop Diameter",
186
- },
187
- "D50": {
188
- "standard_name": "median_volume_diameter",
189
- "units": "mm",
190
- "long_name": "Median Volume Drop Diameter",
191
- },
192
- "D90": {
193
- "standard_name": "",
194
- "units": "mm",
195
- "long_name": "90th Percentile Drop Diameter",
196
- },
197
- "Dmode": {
198
- "standard_name": "",
199
- "units": "mm",
200
- "long_name": "Mode Diameter of the Drop Size Distribution",
201
- },
202
- "Dm": {
203
- "standard_name": "Dm",
204
- "units": "mm",
205
- "long_name": "Mean Volume Diameter",
206
- },
207
- "sigma_m": {
208
- "standard_name": "",
209
- "units": "mm",
210
- "long_name": "Standard Deviation of Mass Spectrum",
211
- },
212
- "Nw": {
213
- "standard_name": "normalized_intercept_parameter",
214
- "units": "mm-1 m-3", # TODO
215
- "long_name": "Normalized Intercept Parameter of a Normalized Gamma Distribution",
216
- },
217
- "N0": {
218
- "standard_name": "intercept_parameter",
219
- "units": "mm-1 m-3", # TODO
220
- "long_name": "Intercept Parameter of the Modeled Drop Size Distribution",
221
- },
222
- "mu": {
223
- "standard_name": "shape_parameter",
224
- "units": "1", # TODO
225
- "long_name": "Shape Parameter of the Modeled Drop Size Distribution",
226
- },
227
- "Lambda": {
228
- "standard_name": "distribution_slope",
229
- "units": "1/mm", # TODO
230
- "long_name": "Slope Parameter of the Modeled Drop Size Distribution",
231
- },
232
- "sigma": {
233
- "standard_name": "distribution_slope",
234
- "units": "1/mm", # TODO
235
- "long_name": "Slope Parameter of the Modeled Lognormal Distribution",
236
- },
237
- # Radar variables
238
- "Zh": {
239
- "description": "Radar reflectivity factor at horizontal polarization",
240
- "long_name": "Horizontal Reflectivity",
241
- "units": "dBZ",
242
- },
243
- "Zdr": {
244
- "description": "Differential reflectivity",
245
- "long_name": "Differential Reflectivity",
246
- "units": "dB",
247
- },
248
- "rho_hv": {
249
- "description": "Correlation coefficient between horizontally and vertically polarized reflectivity",
250
- "long_name": "Copolarized Correlation Coefficient",
251
- "units": "",
252
- },
253
- "ldr": {
254
- "description": "Linear depolarization ratio",
255
- "long_name": "Linear Depolarization Ratio",
256
- "units": "dB",
257
- },
258
- "Kdp": {
259
- "description": "Specific differential phase",
260
- "long_name": "Specific Differential Phase",
261
- "units": "deg/km",
262
- },
263
- "Ai": {
264
- "description": "Specific attenuation",
265
- "long_name": "Specific attenuation",
266
- "units": "dB/km",
267
- },
268
- }
269
- return attrs_dict
270
-
271
-
272
- def get_encoding_dict():
273
- """Temporary encoding dictionary."""
274
- encoding_dict = {
275
- "M1": {
276
- "dtype": "float32",
277
- "zlib": True,
278
- "complevel": 3,
279
- "shuffle": True,
280
- "fletcher32": False,
281
- "contiguous": False,
282
- },
283
- "M2": {
284
- "dtype": "float32",
285
- "zlib": True,
286
- "complevel": 3,
287
- "shuffle": True,
288
- "fletcher32": False,
289
- "contiguous": False,
290
- },
291
- "M3": {
292
- "dtype": "float32",
293
- "zlib": True,
294
- "complevel": 3,
295
- "shuffle": True,
296
- "fletcher32": False,
297
- "contiguous": False,
298
- },
299
- "M4": {
300
- "dtype": "float32",
301
- "zlib": True,
302
- "complevel": 3,
303
- "shuffle": True,
304
- "fletcher32": False,
305
- "contiguous": False,
306
- },
307
- "M5": {
308
- "dtype": "float32",
309
- "zlib": True,
310
- "complevel": 3,
311
- "shuffle": True,
312
- "fletcher32": False,
313
- "contiguous": False,
314
- },
315
- "M6": {
316
- "dtype": "float32",
317
- "zlib": True,
318
- "complevel": 3,
319
- "shuffle": True,
320
- "fletcher32": False,
321
- "contiguous": False,
322
- },
323
- "Nt": {
324
- "dtype": "float32",
325
- "zlib": True,
326
- "complevel": 3,
327
- "shuffle": True,
328
- "fletcher32": False,
329
- "contiguous": False,
330
- },
331
- "R": {
332
- "dtype": "uint16",
333
- "scale_factor": 0.01,
334
- "_FillValue": 65535,
335
- "zlib": True,
336
- "complevel": 3,
337
- "shuffle": True,
338
- "fletcher32": False,
339
- "contiguous": False,
340
- },
341
- "P": {
342
- "dtype": "float32",
343
- "zlib": True,
344
- "complevel": 3,
345
- "shuffle": True,
346
- "fletcher32": False,
347
- "contiguous": False,
348
- },
349
- "Z": {
350
- "dtype": "uint16",
351
- "scale_factor": 0.01,
352
- "add_offset": -60,
353
- "_FillValue": 65535,
354
- "zlib": True,
355
- "complevel": 3,
356
- "shuffle": True,
357
- "fletcher32": False,
358
- "contiguous": False,
359
- },
360
- "W": {
361
- "dtype": "float32",
362
- "zlib": True,
363
- "complevel": 3,
364
- "shuffle": True,
365
- "fletcher32": False,
366
- "contiguous": False,
367
- },
368
- "Dm": {
369
- "dtype": "uint16",
370
- "scale_factor": 0.001,
371
- "_FillValue": 65535,
372
- "zlib": True,
373
- "complevel": 3,
374
- "shuffle": True,
375
- "fletcher32": False,
376
- "contiguous": False,
377
- },
378
- "sigma_m": {
379
- "dtype": "uint16",
380
- "scale_factor": 0.001,
381
- "_FillValue": 65535,
382
- "zlib": True,
383
- "complevel": 3,
384
- "shuffle": True,
385
- "fletcher32": False,
386
- "contiguous": False,
387
- },
388
- "Dmode": {
389
- "dtype": "uint16",
390
- "scale_factor": 0.001,
391
- "_FillValue": 65535,
392
- "zlib": True,
393
- "complevel": 3,
394
- "shuffle": True,
395
- "fletcher32": False,
396
- "contiguous": False,
397
- },
398
- "Nw": {
399
- "dtype": "float32",
400
- "zlib": True,
401
- "complevel": 3,
402
- "shuffle": True,
403
- "fletcher32": False,
404
- "contiguous": False,
405
- },
406
- "D50": {
407
- "dtype": "uint16",
408
- "scale_factor": 0.001,
409
- "_FillValue": 65535,
410
- "zlib": True,
411
- "complevel": 3,
412
- "shuffle": True,
413
- "fletcher32": False,
414
- "contiguous": False,
415
- },
416
- "D10": {
417
- "dtype": "uint16",
418
- "scale_factor": 0.001,
419
- "_FillValue": 65535,
420
- "zlib": True,
421
- "complevel": 3,
422
- "shuffle": True,
423
- "fletcher32": False,
424
- "contiguous": False,
425
- },
426
- "D90": {
427
- "dtype": "uint16",
428
- "scale_factor": 0.001,
429
- "_FillValue": 65535,
430
- "zlib": True,
431
- "complevel": 3,
432
- "shuffle": True,
433
- "fletcher32": False,
434
- "contiguous": False,
435
- },
436
- "drop_number": {
437
- "dtype": "uint32",
438
- "zlib": True,
439
- "complevel": 3,
440
- "shuffle": True,
441
- "fletcher32": False,
442
- "contiguous": False,
443
- "_FillValue": 4294967295,
444
- },
445
- "drop_counts": {
446
- "dtype": "uint32",
447
- "zlib": True,
448
- "complevel": 3,
449
- "shuffle": True,
450
- "fletcher32": False,
451
- "contiguous": False,
452
- "_FillValue": 4294967295,
453
- },
454
- "N": {
455
- "dtype": "uint32",
456
- "zlib": True,
457
- "complevel": 3,
458
- "shuffle": True,
459
- "fletcher32": False,
460
- "contiguous": False,
461
- "_FillValue": 4294967295,
462
- },
463
- "Nremoved": {
464
- "dtype": "uint32",
465
- "zlib": True,
466
- "complevel": 3,
467
- "shuffle": True,
468
- "fletcher32": False,
469
- "contiguous": False,
470
- "_FillValue": 4294967295,
471
- },
472
- "Nbins": {
473
- "dtype": "uint8",
474
- "_FillValue": 255,
475
- "zlib": True,
476
- "complevel": 3,
477
- "shuffle": True,
478
- "fletcher32": False,
479
- "contiguous": False,
480
- },
481
- "Dmin": {
482
- "dtype": "uint16",
483
- "scale_factor": 0.001,
484
- "_FillValue": 65535,
485
- "zlib": True,
486
- "complevel": 3,
487
- "shuffle": True,
488
- "fletcher32": False,
489
- "contiguous": False,
490
- },
491
- "Dmax": {
492
- "dtype": "uint16",
493
- "scale_factor": 0.001,
494
- "_FillValue": 65535,
495
- "zlib": True,
496
- "complevel": 3,
497
- "shuffle": True,
498
- "fletcher32": False,
499
- "contiguous": False,
500
- },
501
- "drop_average_velocity": {
502
- "dtype": "uint16",
503
- "scale_factor": 0.001,
504
- "_FillValue": 65535,
505
- "zlib": True,
506
- "complevel": 3,
507
- "shuffle": True,
508
- "fletcher32": False,
509
- "contiguous": False,
510
- },
511
- "fall_velocity": {
512
- "dtype": "uint16",
513
- "scale_factor": 0.001,
514
- "_FillValue": 65535,
515
- "zlib": True,
516
- "complevel": 3,
517
- "shuffle": True,
518
- "fletcher32": False,
519
- "contiguous": False,
520
- },
521
- "drop_number_concentration": {
522
- "dtype": "float32",
523
- "zlib": True,
524
- "complevel": 3,
525
- "shuffle": True,
526
- "fletcher32": False,
527
- "contiguous": False,
528
- },
529
- "drop_volume": {
530
- "dtype": "float32",
531
- "zlib": True,
532
- "complevel": 3,
533
- "shuffle": True,
534
- "fletcher32": False,
535
- "contiguous": False,
536
- },
537
- "drop_total_volume": {
538
- "dtype": "float32",
539
- "zlib": True,
540
- "complevel": 3,
541
- "shuffle": True,
542
- "fletcher32": False,
543
- "contiguous": False,
544
- },
545
- "drop_relative_volume_ratio": {
546
- "dtype": "float32",
547
- "zlib": True,
548
- "complevel": 3,
549
- "shuffle": True,
550
- "fletcher32": False,
551
- "contiguous": False,
552
- },
553
- "KEmin": {
554
- "dtype": "float32",
555
- "zlib": True,
556
- "complevel": 3,
557
- "shuffle": True,
558
- "fletcher32": False,
559
- "contiguous": False,
560
- },
561
- "KEmax": {
562
- "dtype": "float32",
563
- "zlib": True,
564
- "complevel": 3,
565
- "shuffle": True,
566
- "fletcher32": False,
567
- "contiguous": False,
568
- },
569
- "E": {
570
- "dtype": "float32",
571
- "zlib": True,
572
- "complevel": 3,
573
- "shuffle": True,
574
- "fletcher32": False,
575
- "contiguous": False,
576
- },
577
- "KE": {
578
- "dtype": "float32",
579
- "zlib": True,
580
- "complevel": 3,
581
- "shuffle": True,
582
- "fletcher32": False,
583
- "contiguous": False,
584
- },
585
- # Radar variables
586
- "Zh": {
587
- "dtype": "float32",
588
- "zlib": True,
589
- "complevel": 3,
590
- "shuffle": True,
591
- "fletcher32": False,
592
- "contiguous": False,
593
- },
594
- "Zdr": {
595
- "dtype": "float32",
596
- "zlib": True,
597
- "complevel": 3,
598
- "shuffle": True,
599
- "fletcher32": False,
600
- "contiguous": False,
601
- },
602
- "rho_hv": {
603
- "dtype": "float32",
604
- "zlib": True,
605
- "complevel": 3,
606
- "shuffle": True,
607
- "fletcher32": False,
608
- "contiguous": False,
609
- },
610
- "ldr": {
611
- "dtype": "float32",
612
- "zlib": True,
613
- "complevel": 3,
614
- "shuffle": True,
615
- "fletcher32": False,
616
- "contiguous": False,
617
- },
618
- "Kdp": {
619
- "dtype": "float32",
620
- "zlib": True,
621
- "complevel": 3,
622
- "shuffle": True,
623
- "fletcher32": False,
624
- "contiguous": False,
625
- },
626
- "Ai": {
627
- "dtype": "float32",
628
- "zlib": True,
629
- "complevel": 3,
630
- "shuffle": True,
631
- "fletcher32": False,
632
- "contiguous": False,
633
- },
634
- }
635
- return encoding_dict