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