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.
- disdrodb/__init__.py +68 -34
- disdrodb/_config.py +5 -4
- disdrodb/_version.py +16 -3
- disdrodb/accessor/__init__.py +20 -0
- disdrodb/accessor/methods.py +125 -0
- disdrodb/api/checks.py +177 -24
- disdrodb/api/configs.py +3 -3
- disdrodb/api/info.py +13 -13
- disdrodb/api/io.py +281 -22
- disdrodb/api/path.py +184 -195
- disdrodb/api/search.py +18 -9
- disdrodb/cli/disdrodb_create_summary.py +103 -0
- disdrodb/cli/disdrodb_create_summary_station.py +91 -0
- disdrodb/cli/disdrodb_run_l0.py +1 -1
- disdrodb/cli/disdrodb_run_l0_station.py +1 -1
- disdrodb/cli/disdrodb_run_l0a_station.py +1 -1
- disdrodb/cli/disdrodb_run_l0b.py +1 -1
- disdrodb/cli/disdrodb_run_l0b_station.py +3 -3
- disdrodb/cli/disdrodb_run_l0c.py +1 -1
- disdrodb/cli/disdrodb_run_l0c_station.py +3 -3
- disdrodb/cli/disdrodb_run_l1_station.py +2 -2
- disdrodb/cli/disdrodb_run_l2e_station.py +2 -2
- disdrodb/cli/disdrodb_run_l2m_station.py +2 -2
- disdrodb/configs.py +149 -4
- disdrodb/constants.py +61 -0
- disdrodb/data_transfer/download_data.py +127 -11
- disdrodb/etc/configs/attributes.yaml +339 -0
- disdrodb/etc/configs/encodings.yaml +473 -0
- disdrodb/etc/products/L1/global.yaml +13 -0
- disdrodb/etc/products/L2E/10MIN.yaml +12 -0
- disdrodb/etc/products/L2E/1MIN.yaml +1 -0
- disdrodb/etc/products/L2E/global.yaml +22 -0
- disdrodb/etc/products/L2M/10MIN.yaml +12 -0
- disdrodb/etc/products/L2M/GAMMA_ML.yaml +8 -0
- disdrodb/etc/products/L2M/NGAMMA_GS_LOG_ND_MAE.yaml +6 -0
- disdrodb/etc/products/L2M/NGAMMA_GS_ND_MAE.yaml +6 -0
- disdrodb/etc/products/L2M/NGAMMA_GS_Z_MAE.yaml +6 -0
- disdrodb/etc/products/L2M/global.yaml +26 -0
- disdrodb/issue/writer.py +2 -0
- disdrodb/l0/__init__.py +13 -0
- disdrodb/l0/configs/LPM/l0b_cf_attrs.yml +4 -4
- disdrodb/l0/configs/PARSIVEL/l0b_cf_attrs.yml +1 -1
- disdrodb/l0/configs/PARSIVEL/l0b_encodings.yml +3 -3
- disdrodb/l0/configs/PARSIVEL/raw_data_format.yml +1 -1
- disdrodb/l0/configs/PARSIVEL2/l0b_cf_attrs.yml +5 -5
- disdrodb/l0/configs/PARSIVEL2/l0b_encodings.yml +3 -3
- disdrodb/l0/configs/PARSIVEL2/raw_data_format.yml +1 -1
- disdrodb/l0/configs/PWS100/l0b_cf_attrs.yml +4 -4
- disdrodb/l0/configs/PWS100/raw_data_format.yml +1 -1
- disdrodb/l0/l0a_processing.py +37 -32
- disdrodb/l0/l0b_nc_processing.py +118 -8
- disdrodb/l0/l0b_processing.py +30 -65
- disdrodb/l0/l0c_processing.py +369 -259
- disdrodb/l0/readers/LPM/ARM/ARM_LPM.py +7 -0
- disdrodb/l0/readers/LPM/NETHERLANDS/DELFT_LPM_NC.py +66 -0
- disdrodb/l0/readers/LPM/SLOVENIA/{CRNI_VRH.py → UL.py} +3 -0
- disdrodb/l0/readers/LPM/SWITZERLAND/INNERERIZ_LPM.py +195 -0
- disdrodb/l0/readers/PARSIVEL/GPM/PIERS.py +0 -2
- disdrodb/l0/readers/PARSIVEL/JAPAN/JMA.py +4 -1
- disdrodb/l0/readers/PARSIVEL/NCAR/PECAN_MOBILE.py +1 -1
- disdrodb/l0/readers/PARSIVEL/NCAR/VORTEX2_2009.py +1 -1
- disdrodb/l0/readers/PARSIVEL2/ARM/ARM_PARSIVEL2.py +4 -0
- disdrodb/l0/readers/PARSIVEL2/BELGIUM/ILVO.py +168 -0
- disdrodb/l0/readers/PARSIVEL2/CANADA/UQAM_NC.py +69 -0
- disdrodb/l0/readers/PARSIVEL2/DENMARK/DTU.py +165 -0
- disdrodb/l0/readers/PARSIVEL2/FINLAND/FMI_PARSIVEL2.py +69 -0
- disdrodb/l0/readers/PARSIVEL2/FRANCE/ENPC_PARSIVEL2.py +255 -134
- disdrodb/l0/readers/PARSIVEL2/FRANCE/OSUG.py +525 -0
- disdrodb/l0/readers/PARSIVEL2/FRANCE/SIRTA_PARSIVEL2.py +1 -1
- disdrodb/l0/readers/PARSIVEL2/GPM/GCPEX.py +9 -7
- disdrodb/l0/readers/PARSIVEL2/KIT/BURKINA_FASO.py +1 -1
- disdrodb/l0/readers/PARSIVEL2/KIT/TEAMX.py +123 -0
- disdrodb/l0/readers/PARSIVEL2/{NETHERLANDS/DELFT.py → MPI/BCO_PARSIVEL2.py} +41 -71
- disdrodb/l0/readers/PARSIVEL2/MPI/BOWTIE.py +220 -0
- disdrodb/l0/readers/PARSIVEL2/NASA/APU.py +120 -0
- disdrodb/l0/readers/PARSIVEL2/NASA/LPVEX.py +109 -0
- disdrodb/l0/readers/PARSIVEL2/NCAR/FARM_PARSIVEL2.py +1 -0
- disdrodb/l0/readers/PARSIVEL2/NCAR/PECAN_FP3.py +1 -1
- disdrodb/l0/readers/PARSIVEL2/NCAR/PERILS_MIPS.py +126 -0
- disdrodb/l0/readers/PARSIVEL2/NCAR/PERILS_PIPS.py +165 -0
- disdrodb/l0/readers/PARSIVEL2/NCAR/VORTEX_SE_2016_P2.py +1 -1
- disdrodb/l0/readers/PARSIVEL2/NCAR/VORTEX_SE_2016_PIPS.py +20 -12
- disdrodb/l0/readers/PARSIVEL2/NETHERLANDS/DELFT_NC.py +5 -0
- disdrodb/l0/readers/PARSIVEL2/SPAIN/CENER.py +144 -0
- disdrodb/l0/readers/PARSIVEL2/SPAIN/CR1000DL.py +201 -0
- disdrodb/l0/readers/PARSIVEL2/SPAIN/LIAISE.py +137 -0
- disdrodb/l0/readers/PARSIVEL2/USA/C3WE.py +146 -0
- disdrodb/l0/readers/PWS100/FRANCE/ENPC_PWS100.py +105 -99
- disdrodb/l0/readers/PWS100/FRANCE/ENPC_PWS100_SIRTA.py +151 -0
- disdrodb/l1/__init__.py +5 -0
- disdrodb/l1/fall_velocity.py +46 -0
- disdrodb/l1/filters.py +34 -20
- disdrodb/l1/processing.py +46 -45
- disdrodb/l1/resampling.py +77 -66
- disdrodb/l1_env/routines.py +18 -3
- disdrodb/l2/__init__.py +7 -0
- disdrodb/l2/empirical_dsd.py +58 -10
- disdrodb/l2/processing.py +268 -117
- disdrodb/metadata/checks.py +132 -125
- disdrodb/metadata/standards.py +3 -1
- disdrodb/psd/fitting.py +631 -345
- disdrodb/psd/models.py +9 -6
- disdrodb/routines/__init__.py +54 -0
- disdrodb/{l0/routines.py → routines/l0.py} +316 -355
- disdrodb/{l1/routines.py → routines/l1.py} +76 -116
- disdrodb/routines/l2.py +1019 -0
- disdrodb/{routines.py → routines/wrappers.py} +98 -10
- disdrodb/scattering/__init__.py +16 -4
- disdrodb/scattering/axis_ratio.py +61 -37
- disdrodb/scattering/permittivity.py +504 -0
- disdrodb/scattering/routines.py +746 -184
- disdrodb/summary/__init__.py +17 -0
- disdrodb/summary/routines.py +4196 -0
- disdrodb/utils/archiving.py +434 -0
- disdrodb/utils/attrs.py +68 -125
- disdrodb/utils/cli.py +5 -5
- disdrodb/utils/compression.py +30 -1
- disdrodb/utils/dask.py +121 -9
- disdrodb/utils/dataframe.py +61 -7
- disdrodb/utils/decorators.py +31 -0
- disdrodb/utils/directories.py +35 -15
- disdrodb/utils/encoding.py +37 -19
- disdrodb/{l2 → utils}/event.py +15 -173
- disdrodb/utils/logger.py +14 -7
- disdrodb/utils/manipulations.py +81 -0
- disdrodb/utils/routines.py +166 -0
- disdrodb/utils/subsetting.py +214 -0
- disdrodb/utils/time.py +35 -177
- disdrodb/utils/writer.py +20 -7
- disdrodb/utils/xarray.py +5 -4
- disdrodb/viz/__init__.py +13 -0
- disdrodb/viz/plots.py +398 -0
- {disdrodb-0.1.2.dist-info → disdrodb-0.1.4.dist-info}/METADATA +4 -3
- {disdrodb-0.1.2.dist-info → disdrodb-0.1.4.dist-info}/RECORD +139 -98
- {disdrodb-0.1.2.dist-info → disdrodb-0.1.4.dist-info}/entry_points.txt +2 -0
- disdrodb/l1/encoding_attrs.py +0 -642
- disdrodb/l2/processing_options.py +0 -213
- disdrodb/l2/routines.py +0 -868
- /disdrodb/l0/readers/PARSIVEL/SLOVENIA/{UL_FGG.py → UL.py} +0 -0
- {disdrodb-0.1.2.dist-info → disdrodb-0.1.4.dist-info}/WHEEL +0 -0
- {disdrodb-0.1.2.dist-info → disdrodb-0.1.4.dist-info}/licenses/LICENSE +0 -0
- {disdrodb-0.1.2.dist-info → disdrodb-0.1.4.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
sample_interval:
|
|
2
|
+
dtype: uint16
|
|
3
|
+
zlib: true
|
|
4
|
+
complevel: 3
|
|
5
|
+
shuffle: true
|
|
6
|
+
fletcher32: false
|
|
7
|
+
contiguous: false
|
|
8
|
+
_FillValue: 65535
|
|
9
|
+
M1:
|
|
10
|
+
dtype: float32
|
|
11
|
+
zlib: true
|
|
12
|
+
complevel: 3
|
|
13
|
+
shuffle: true
|
|
14
|
+
fletcher32: false
|
|
15
|
+
contiguous: false
|
|
16
|
+
M2:
|
|
17
|
+
dtype: float32
|
|
18
|
+
zlib: true
|
|
19
|
+
complevel: 3
|
|
20
|
+
shuffle: true
|
|
21
|
+
fletcher32: false
|
|
22
|
+
contiguous: false
|
|
23
|
+
M3:
|
|
24
|
+
dtype: float32
|
|
25
|
+
zlib: true
|
|
26
|
+
complevel: 3
|
|
27
|
+
shuffle: true
|
|
28
|
+
fletcher32: false
|
|
29
|
+
contiguous: false
|
|
30
|
+
M4:
|
|
31
|
+
dtype: float32
|
|
32
|
+
zlib: true
|
|
33
|
+
complevel: 3
|
|
34
|
+
shuffle: true
|
|
35
|
+
fletcher32: false
|
|
36
|
+
contiguous: false
|
|
37
|
+
M5:
|
|
38
|
+
dtype: float32
|
|
39
|
+
zlib: true
|
|
40
|
+
complevel: 3
|
|
41
|
+
shuffle: true
|
|
42
|
+
fletcher32: false
|
|
43
|
+
contiguous: false
|
|
44
|
+
M6:
|
|
45
|
+
dtype: float32
|
|
46
|
+
zlib: true
|
|
47
|
+
complevel: 3
|
|
48
|
+
shuffle: true
|
|
49
|
+
fletcher32: false
|
|
50
|
+
contiguous: false
|
|
51
|
+
Nt:
|
|
52
|
+
dtype: float32
|
|
53
|
+
zlib: true
|
|
54
|
+
complevel: 3
|
|
55
|
+
shuffle: true
|
|
56
|
+
fletcher32: false
|
|
57
|
+
contiguous: false
|
|
58
|
+
R:
|
|
59
|
+
dtype: uint16
|
|
60
|
+
scale_factor: 0.01
|
|
61
|
+
_FillValue: 65535
|
|
62
|
+
zlib: true
|
|
63
|
+
complevel: 3
|
|
64
|
+
shuffle: true
|
|
65
|
+
fletcher32: false
|
|
66
|
+
contiguous: false
|
|
67
|
+
Rm:
|
|
68
|
+
dtype: uint16
|
|
69
|
+
scale_factor: 0.01
|
|
70
|
+
_FillValue: 65535
|
|
71
|
+
zlib: true
|
|
72
|
+
complevel: 3
|
|
73
|
+
shuffle: true
|
|
74
|
+
fletcher32: false
|
|
75
|
+
contiguous: false
|
|
76
|
+
P:
|
|
77
|
+
dtype: float32
|
|
78
|
+
zlib: true
|
|
79
|
+
complevel: 3
|
|
80
|
+
shuffle: true
|
|
81
|
+
fletcher32: false
|
|
82
|
+
contiguous: false
|
|
83
|
+
Z:
|
|
84
|
+
dtype: uint16
|
|
85
|
+
scale_factor: 0.01
|
|
86
|
+
add_offset: -60
|
|
87
|
+
_FillValue: 65535
|
|
88
|
+
zlib: true
|
|
89
|
+
complevel: 3
|
|
90
|
+
shuffle: true
|
|
91
|
+
fletcher32: false
|
|
92
|
+
contiguous: false
|
|
93
|
+
W:
|
|
94
|
+
dtype: float32
|
|
95
|
+
zlib: true
|
|
96
|
+
complevel: 3
|
|
97
|
+
shuffle: true
|
|
98
|
+
fletcher32: false
|
|
99
|
+
contiguous: false
|
|
100
|
+
Dm:
|
|
101
|
+
dtype: uint16
|
|
102
|
+
scale_factor: 0.001
|
|
103
|
+
_FillValue: 65535
|
|
104
|
+
zlib: true
|
|
105
|
+
complevel: 3
|
|
106
|
+
shuffle: true
|
|
107
|
+
fletcher32: false
|
|
108
|
+
contiguous: false
|
|
109
|
+
sigma_m:
|
|
110
|
+
dtype: uint16
|
|
111
|
+
scale_factor: 0.001
|
|
112
|
+
_FillValue: 65535
|
|
113
|
+
zlib: true
|
|
114
|
+
complevel: 3
|
|
115
|
+
shuffle: true
|
|
116
|
+
fletcher32: false
|
|
117
|
+
contiguous: false
|
|
118
|
+
Dmode:
|
|
119
|
+
dtype: uint16
|
|
120
|
+
scale_factor: 0.001
|
|
121
|
+
_FillValue: 65535
|
|
122
|
+
zlib: true
|
|
123
|
+
complevel: 3
|
|
124
|
+
shuffle: true
|
|
125
|
+
fletcher32: false
|
|
126
|
+
contiguous: false
|
|
127
|
+
Nw:
|
|
128
|
+
dtype: float32
|
|
129
|
+
zlib: true
|
|
130
|
+
complevel: 3
|
|
131
|
+
shuffle: true
|
|
132
|
+
fletcher32: false
|
|
133
|
+
contiguous: false
|
|
134
|
+
D50:
|
|
135
|
+
dtype: uint16
|
|
136
|
+
scale_factor: 0.001
|
|
137
|
+
_FillValue: 65535
|
|
138
|
+
zlib: true
|
|
139
|
+
complevel: 3
|
|
140
|
+
shuffle: true
|
|
141
|
+
fletcher32: false
|
|
142
|
+
contiguous: false
|
|
143
|
+
D10:
|
|
144
|
+
dtype: uint16
|
|
145
|
+
scale_factor: 0.001
|
|
146
|
+
_FillValue: 65535
|
|
147
|
+
zlib: true
|
|
148
|
+
complevel: 3
|
|
149
|
+
shuffle: true
|
|
150
|
+
fletcher32: false
|
|
151
|
+
contiguous: false
|
|
152
|
+
D90:
|
|
153
|
+
dtype: uint16
|
|
154
|
+
scale_factor: 0.001
|
|
155
|
+
_FillValue: 65535
|
|
156
|
+
zlib: true
|
|
157
|
+
complevel: 3
|
|
158
|
+
shuffle: true
|
|
159
|
+
fletcher32: false
|
|
160
|
+
contiguous: false
|
|
161
|
+
drop_number:
|
|
162
|
+
dtype: uint16
|
|
163
|
+
zlib: true
|
|
164
|
+
complevel: 3
|
|
165
|
+
shuffle: true
|
|
166
|
+
fletcher32: false
|
|
167
|
+
contiguous: false
|
|
168
|
+
_FillValue: 65535
|
|
169
|
+
raw_drop_number:
|
|
170
|
+
dtype: uint16
|
|
171
|
+
zlib: true
|
|
172
|
+
complevel: 3
|
|
173
|
+
shuffle: true
|
|
174
|
+
fletcher32: false
|
|
175
|
+
contiguous: false
|
|
176
|
+
_FillValue: 65535
|
|
177
|
+
drop_counts:
|
|
178
|
+
dtype: uint32
|
|
179
|
+
zlib: true
|
|
180
|
+
complevel: 3
|
|
181
|
+
shuffle: true
|
|
182
|
+
fletcher32: false
|
|
183
|
+
contiguous: false
|
|
184
|
+
_FillValue: 4294967295
|
|
185
|
+
Nraw:
|
|
186
|
+
dtype: uint32
|
|
187
|
+
zlib: true
|
|
188
|
+
complevel: 3
|
|
189
|
+
shuffle: true
|
|
190
|
+
fletcher32: false
|
|
191
|
+
contiguous: false
|
|
192
|
+
_FillValue: 4294967295
|
|
193
|
+
N:
|
|
194
|
+
dtype: uint32
|
|
195
|
+
zlib: true
|
|
196
|
+
complevel: 3
|
|
197
|
+
shuffle: true
|
|
198
|
+
fletcher32: false
|
|
199
|
+
contiguous: false
|
|
200
|
+
_FillValue: 4294967295
|
|
201
|
+
Nremoved:
|
|
202
|
+
dtype: uint32
|
|
203
|
+
zlib: true
|
|
204
|
+
complevel: 3
|
|
205
|
+
shuffle: true
|
|
206
|
+
fletcher32: false
|
|
207
|
+
contiguous: false
|
|
208
|
+
_FillValue: 4294967295
|
|
209
|
+
Nbins:
|
|
210
|
+
dtype: uint8
|
|
211
|
+
_FillValue: 255
|
|
212
|
+
zlib: true
|
|
213
|
+
complevel: 3
|
|
214
|
+
shuffle: true
|
|
215
|
+
fletcher32: false
|
|
216
|
+
contiguous: false
|
|
217
|
+
Nbins_missing:
|
|
218
|
+
dtype: uint8
|
|
219
|
+
_FillValue: 255
|
|
220
|
+
zlib: true
|
|
221
|
+
complevel: 3
|
|
222
|
+
shuffle: true
|
|
223
|
+
fletcher32: false
|
|
224
|
+
contiguous: false
|
|
225
|
+
Nbins_missing_consecutive:
|
|
226
|
+
dtype: uint8
|
|
227
|
+
_FillValue: 255
|
|
228
|
+
zlib: true
|
|
229
|
+
complevel: 3
|
|
230
|
+
shuffle: true
|
|
231
|
+
fletcher32: false
|
|
232
|
+
contiguous: false
|
|
233
|
+
Nbins_missing_fraction:
|
|
234
|
+
dtype: uint8
|
|
235
|
+
scale_factor: 0.01
|
|
236
|
+
_FillValue: 255
|
|
237
|
+
zlib: true
|
|
238
|
+
complevel: 3
|
|
239
|
+
shuffle: true
|
|
240
|
+
fletcher32: false
|
|
241
|
+
contiguous: false
|
|
242
|
+
Dmin:
|
|
243
|
+
dtype: uint16
|
|
244
|
+
scale_factor: 0.001
|
|
245
|
+
_FillValue: 65535
|
|
246
|
+
zlib: true
|
|
247
|
+
complevel: 3
|
|
248
|
+
shuffle: true
|
|
249
|
+
fletcher32: false
|
|
250
|
+
contiguous: false
|
|
251
|
+
Dmax:
|
|
252
|
+
dtype: uint16
|
|
253
|
+
scale_factor: 0.001
|
|
254
|
+
_FillValue: 65535
|
|
255
|
+
zlib: true
|
|
256
|
+
complevel: 3
|
|
257
|
+
shuffle: true
|
|
258
|
+
fletcher32: false
|
|
259
|
+
contiguous: false
|
|
260
|
+
drop_average_velocity:
|
|
261
|
+
dtype: uint16
|
|
262
|
+
scale_factor: 0.001
|
|
263
|
+
_FillValue: 65535
|
|
264
|
+
zlib: true
|
|
265
|
+
complevel: 3
|
|
266
|
+
shuffle: true
|
|
267
|
+
fletcher32: false
|
|
268
|
+
contiguous: false
|
|
269
|
+
fall_velocity:
|
|
270
|
+
dtype: uint16
|
|
271
|
+
scale_factor: 0.001
|
|
272
|
+
_FillValue: 65535
|
|
273
|
+
zlib: true
|
|
274
|
+
complevel: 3
|
|
275
|
+
shuffle: true
|
|
276
|
+
fletcher32: false
|
|
277
|
+
contiguous: false
|
|
278
|
+
drop_number_concentration:
|
|
279
|
+
dtype: float32
|
|
280
|
+
zlib: true
|
|
281
|
+
complevel: 3
|
|
282
|
+
shuffle: true
|
|
283
|
+
fletcher32: false
|
|
284
|
+
contiguous: false
|
|
285
|
+
drop_volume:
|
|
286
|
+
dtype: float32
|
|
287
|
+
zlib: true
|
|
288
|
+
complevel: 3
|
|
289
|
+
shuffle: true
|
|
290
|
+
fletcher32: false
|
|
291
|
+
contiguous: false
|
|
292
|
+
drop_total_volume:
|
|
293
|
+
dtype: float32
|
|
294
|
+
zlib: true
|
|
295
|
+
complevel: 3
|
|
296
|
+
shuffle: true
|
|
297
|
+
fletcher32: false
|
|
298
|
+
contiguous: false
|
|
299
|
+
drop_relative_volume_ratio:
|
|
300
|
+
dtype: float32
|
|
301
|
+
zlib: true
|
|
302
|
+
complevel: 3
|
|
303
|
+
shuffle: true
|
|
304
|
+
fletcher32: false
|
|
305
|
+
contiguous: false
|
|
306
|
+
KEmin:
|
|
307
|
+
dtype: float32
|
|
308
|
+
zlib: true
|
|
309
|
+
complevel: 3
|
|
310
|
+
shuffle: true
|
|
311
|
+
fletcher32: false
|
|
312
|
+
contiguous: false
|
|
313
|
+
KEmax:
|
|
314
|
+
dtype: float32
|
|
315
|
+
zlib: true
|
|
316
|
+
complevel: 3
|
|
317
|
+
shuffle: true
|
|
318
|
+
fletcher32: false
|
|
319
|
+
contiguous: false
|
|
320
|
+
TKE:
|
|
321
|
+
dtype: float32
|
|
322
|
+
zlib: true
|
|
323
|
+
complevel: 3
|
|
324
|
+
shuffle: true
|
|
325
|
+
fletcher32: false
|
|
326
|
+
contiguous: false
|
|
327
|
+
KED:
|
|
328
|
+
dtype: float32
|
|
329
|
+
zlib: true
|
|
330
|
+
complevel: 3
|
|
331
|
+
shuffle: true
|
|
332
|
+
fletcher32: false
|
|
333
|
+
contiguous: false
|
|
334
|
+
KEF:
|
|
335
|
+
dtype: float32
|
|
336
|
+
zlib: true
|
|
337
|
+
complevel: 3
|
|
338
|
+
shuffle: true
|
|
339
|
+
fletcher32: false
|
|
340
|
+
contiguous: false
|
|
341
|
+
DBZH:
|
|
342
|
+
dtype: float32
|
|
343
|
+
zlib: true
|
|
344
|
+
complevel: 3
|
|
345
|
+
shuffle: true
|
|
346
|
+
fletcher32: false
|
|
347
|
+
contiguous: false
|
|
348
|
+
DBZV:
|
|
349
|
+
dtype: float32
|
|
350
|
+
zlib: true
|
|
351
|
+
complevel: 3
|
|
352
|
+
shuffle: true
|
|
353
|
+
fletcher32: false
|
|
354
|
+
contiguous: false
|
|
355
|
+
ZDR:
|
|
356
|
+
dtype: float32
|
|
357
|
+
zlib: true
|
|
358
|
+
complevel: 3
|
|
359
|
+
shuffle: true
|
|
360
|
+
fletcher32: false
|
|
361
|
+
contiguous: false
|
|
362
|
+
RHOHV:
|
|
363
|
+
dtype: float32
|
|
364
|
+
zlib: true
|
|
365
|
+
complevel: 3
|
|
366
|
+
shuffle: true
|
|
367
|
+
fletcher32: false
|
|
368
|
+
contiguous: false
|
|
369
|
+
DELTAHV:
|
|
370
|
+
dtype: float32
|
|
371
|
+
zlib: true
|
|
372
|
+
complevel: 3
|
|
373
|
+
shuffle: true
|
|
374
|
+
fletcher32: false
|
|
375
|
+
contiguous: false
|
|
376
|
+
LDR:
|
|
377
|
+
dtype: float32
|
|
378
|
+
zlib: true
|
|
379
|
+
complevel: 3
|
|
380
|
+
shuffle: true
|
|
381
|
+
fletcher32: false
|
|
382
|
+
contiguous: false
|
|
383
|
+
KDP:
|
|
384
|
+
dtype: float32
|
|
385
|
+
zlib: true
|
|
386
|
+
complevel: 3
|
|
387
|
+
shuffle: true
|
|
388
|
+
fletcher32: false
|
|
389
|
+
contiguous: false
|
|
390
|
+
AH:
|
|
391
|
+
dtype: float32
|
|
392
|
+
zlib: true
|
|
393
|
+
complevel: 3
|
|
394
|
+
shuffle: true
|
|
395
|
+
fletcher32: false
|
|
396
|
+
contiguous: false
|
|
397
|
+
AV:
|
|
398
|
+
dtype: float32
|
|
399
|
+
zlib: true
|
|
400
|
+
complevel: 3
|
|
401
|
+
shuffle: true
|
|
402
|
+
fletcher32: false
|
|
403
|
+
contiguous: false
|
|
404
|
+
ADP:
|
|
405
|
+
dtype: float32
|
|
406
|
+
zlib: true
|
|
407
|
+
complevel: 3
|
|
408
|
+
shuffle: true
|
|
409
|
+
fletcher32: false
|
|
410
|
+
contiguous: false
|
|
411
|
+
R2:
|
|
412
|
+
dtype: float32
|
|
413
|
+
zlib: true
|
|
414
|
+
complevel: 3
|
|
415
|
+
shuffle: true
|
|
416
|
+
fletcher32: false
|
|
417
|
+
contiguous: false
|
|
418
|
+
MAE:
|
|
419
|
+
dtype: float32
|
|
420
|
+
zlib: true
|
|
421
|
+
complevel: 3
|
|
422
|
+
shuffle: true
|
|
423
|
+
fletcher32: false
|
|
424
|
+
contiguous: false
|
|
425
|
+
MaxAE:
|
|
426
|
+
dtype: float32
|
|
427
|
+
zlib: true
|
|
428
|
+
complevel: 3
|
|
429
|
+
shuffle: true
|
|
430
|
+
fletcher32: false
|
|
431
|
+
contiguous: false
|
|
432
|
+
RelMaxAE:
|
|
433
|
+
dtype: float32
|
|
434
|
+
zlib: true
|
|
435
|
+
complevel: 3
|
|
436
|
+
shuffle: true
|
|
437
|
+
fletcher32: false
|
|
438
|
+
contiguous: false
|
|
439
|
+
PeakDiff:
|
|
440
|
+
dtype: float32
|
|
441
|
+
zlib: true
|
|
442
|
+
complevel: 3
|
|
443
|
+
shuffle: true
|
|
444
|
+
fletcher32: false
|
|
445
|
+
contiguous: false
|
|
446
|
+
RelPeakDiff:
|
|
447
|
+
dtype: float32
|
|
448
|
+
zlib: true
|
|
449
|
+
complevel: 3
|
|
450
|
+
shuffle: true
|
|
451
|
+
fletcher32: false
|
|
452
|
+
contiguous: false
|
|
453
|
+
DmodeDiff:
|
|
454
|
+
dtype: float32
|
|
455
|
+
zlib: true
|
|
456
|
+
complevel: 3
|
|
457
|
+
shuffle: true
|
|
458
|
+
fletcher32: false
|
|
459
|
+
contiguous: false
|
|
460
|
+
NtDiff:
|
|
461
|
+
dtype: float32
|
|
462
|
+
zlib: true
|
|
463
|
+
complevel: 3
|
|
464
|
+
shuffle: true
|
|
465
|
+
fletcher32: false
|
|
466
|
+
contiguous: false
|
|
467
|
+
KLDiv:
|
|
468
|
+
dtype: float32
|
|
469
|
+
zlib: true
|
|
470
|
+
complevel: 3
|
|
471
|
+
shuffle: true
|
|
472
|
+
fletcher32: false
|
|
473
|
+
contiguous: false
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
product_options:
|
|
2
|
+
fall_velocity_method: "Beard1976"
|
|
3
|
+
minimum_diameter: 0
|
|
4
|
+
maximum_diameter: 10
|
|
5
|
+
minimum_velocity: 0
|
|
6
|
+
maximum_velocity: 12
|
|
7
|
+
above_velocity_fraction: 0.5
|
|
8
|
+
above_velocity_tolerance: null
|
|
9
|
+
below_velocity_fraction: 0.5
|
|
10
|
+
below_velocity_tolerance: null
|
|
11
|
+
small_diameter_threshold: 1
|
|
12
|
+
small_velocity_threshold: 2.5
|
|
13
|
+
maintain_smallest_drops: True
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
archive_options:
|
|
2
|
+
strategy: event
|
|
3
|
+
strategy_options:
|
|
4
|
+
min_drops: 5
|
|
5
|
+
neighbor_min_size: 2
|
|
6
|
+
neighbor_time_interval: "5MIN"
|
|
7
|
+
event_max_time_gap: "6H"
|
|
8
|
+
event_min_duration: "5MIN"
|
|
9
|
+
event_min_size: 3
|
|
10
|
+
folder_partitioning: "year/month"
|
|
11
|
+
product_options:
|
|
12
|
+
minimum_ndrops: 0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
radar_enabled: True
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
temporal_resolutions: ["1MIN", "5MIN", "10MIN", "ROLL1MIN"]
|
|
2
|
+
archive_options:
|
|
3
|
+
strategy: time_block
|
|
4
|
+
strategy_options:
|
|
5
|
+
freq: month
|
|
6
|
+
folder_partitioning: ""
|
|
7
|
+
product_options:
|
|
8
|
+
minimum_ndrops: 1
|
|
9
|
+
minimum_nbins: 1
|
|
10
|
+
minimum_rain_rate: 0.01
|
|
11
|
+
compute_spectra: False
|
|
12
|
+
compute_percentage_contribution: False
|
|
13
|
+
radar_enabled: False
|
|
14
|
+
radar_options:
|
|
15
|
+
frequency: ["S", "C", "X", "Ku", "K", "Ka", "W"]
|
|
16
|
+
num_points: 1024
|
|
17
|
+
diameter_max: 10
|
|
18
|
+
canting_angle_std: 7
|
|
19
|
+
axis_ratio_model: Thurai2007
|
|
20
|
+
permittivity_model: Turner2016
|
|
21
|
+
water_temperature: 10
|
|
22
|
+
elevation_angle: 0
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
archive_options:
|
|
2
|
+
strategy: event
|
|
3
|
+
strategy_options:
|
|
4
|
+
min_drops: 5
|
|
5
|
+
neighbor_min_size: 2
|
|
6
|
+
neighbor_time_interval: "5MIN"
|
|
7
|
+
event_max_time_gap: "6H"
|
|
8
|
+
event_min_duration: "5MIN"
|
|
9
|
+
event_min_size: 3
|
|
10
|
+
folder_partitioning: "year/month"
|
|
11
|
+
product_options:
|
|
12
|
+
minimum_ndrops: 0
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
temporal_resolutions: ["1MIN", "5MIN", "10MIN"]
|
|
2
|
+
models: ["GAMMA_ML", "NGAMMA_GS_LOG_ND_MAE"]
|
|
3
|
+
archive_options:
|
|
4
|
+
strategy: time_block
|
|
5
|
+
strategy_options:
|
|
6
|
+
freq: month
|
|
7
|
+
folder_partitioning: ""
|
|
8
|
+
product_options:
|
|
9
|
+
fall_velocity_method: "Beard1976"
|
|
10
|
+
diameter_min: 0
|
|
11
|
+
diameter_max: 10
|
|
12
|
+
diameter_spacing: 0.05
|
|
13
|
+
gof_metrics: True
|
|
14
|
+
minimum_ndrops: 1
|
|
15
|
+
minimum_nbins: 5
|
|
16
|
+
minimum_rain_rate: 0.01
|
|
17
|
+
radar_enabled: False
|
|
18
|
+
radar_options:
|
|
19
|
+
frequency: ["S", "C", "X", "Ku", "K", "Ka", "W"]
|
|
20
|
+
num_points: 1024
|
|
21
|
+
diameter_max: 10
|
|
22
|
+
canting_angle_std: 7
|
|
23
|
+
axis_ratio_model: Thurai2007
|
|
24
|
+
permittivity_model: "Turner2016"
|
|
25
|
+
water_temperature: 10
|
|
26
|
+
elevation_angle: 0
|
disdrodb/issue/writer.py
CHANGED
|
@@ -120,9 +120,11 @@ def create_station_issue(data_source, campaign_name, station_name, metadata_arch
|
|
|
120
120
|
)
|
|
121
121
|
if os.path.exists(issue_filepath):
|
|
122
122
|
raise ValueError("A issue YAML file already exists at {issue_filepath}.")
|
|
123
|
+
|
|
123
124
|
# Create issue dir if not existing
|
|
124
125
|
issue_dir = os.path.dirname(issue_filepath)
|
|
125
126
|
os.makedirs(issue_dir, exist_ok=True)
|
|
127
|
+
|
|
126
128
|
# Write issue file
|
|
127
129
|
write_issue(filepath=issue_filepath)
|
|
128
130
|
print(f"An empty issue YAML file for station {station_name} has been created .")
|
disdrodb/l0/__init__.py
CHANGED
|
@@ -15,3 +15,16 @@
|
|
|
15
15
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
16
|
# -----------------------------------------------------------------------------.
|
|
17
17
|
"""DISDRODB L0 software."""
|
|
18
|
+
from disdrodb.l0.l0_reader import available_readers, get_reader, get_station_reader
|
|
19
|
+
from disdrodb.l0.l0a_processing import generate_l0a
|
|
20
|
+
from disdrodb.l0.l0b_nc_processing import generate_l0b_from_nc
|
|
21
|
+
from disdrodb.l0.l0b_processing import generate_l0b
|
|
22
|
+
|
|
23
|
+
__all__ = [
|
|
24
|
+
"available_readers",
|
|
25
|
+
"generate_l0a",
|
|
26
|
+
"generate_l0b",
|
|
27
|
+
"generate_l0b_from_nc",
|
|
28
|
+
"get_reader",
|
|
29
|
+
"get_station_reader",
|
|
30
|
+
]
|
|
@@ -129,11 +129,11 @@ reserve_status:
|
|
|
129
129
|
temperature_interior:
|
|
130
130
|
description: "Interior temperature [C] (NNN)"
|
|
131
131
|
long_name: Interior temperature
|
|
132
|
-
units: "
|
|
132
|
+
units: "degC"
|
|
133
133
|
laser_temperature:
|
|
134
134
|
description: "Temperature of laser driver 0-80C (NN)"
|
|
135
135
|
long_name: Temperature of laser driver
|
|
136
|
-
units: "
|
|
136
|
+
units: "degC"
|
|
137
137
|
laser_current_average:
|
|
138
138
|
description: Mean value laser current [1/100 mA] (NNNN)
|
|
139
139
|
long_name: Mean value laser current
|
|
@@ -161,7 +161,7 @@ current_heating_pane_receiver_head:
|
|
|
161
161
|
temperature_ambient:
|
|
162
162
|
description: "Ambient temperature [C] (NNN.N)"
|
|
163
163
|
long_name: Ambient temperature
|
|
164
|
-
units: "
|
|
164
|
+
units: "degC"
|
|
165
165
|
current_heating_voltage_supply:
|
|
166
166
|
description:
|
|
167
167
|
Voltage Heating supply [1/10 V] (only 5.4110.x1.xxx, otherwise "999")
|
|
@@ -311,7 +311,7 @@ raw_drop_number:
|
|
|
311
311
|
air_temperature:
|
|
312
312
|
description: "Air temperature in degrees Celsius (C)"
|
|
313
313
|
long_name: Air temperature
|
|
314
|
-
units: "
|
|
314
|
+
units: "degC"
|
|
315
315
|
relative_humidity:
|
|
316
316
|
description: "Relative humidity in percent (%)"
|
|
317
317
|
long_name: Relative humidity
|
|
@@ -47,7 +47,7 @@ number_particles:
|
|
|
47
47
|
sensor_temperature:
|
|
48
48
|
description: Temperature in sensor housing
|
|
49
49
|
long_name: Temperature of the sensor
|
|
50
|
-
units: "
|
|
50
|
+
units: "degC"
|
|
51
51
|
sensor_serial_number:
|
|
52
52
|
description: Sensor serial number
|
|
53
53
|
long_name: Serial number of the sensor
|
|
@@ -102,7 +102,7 @@ sensor_temperature:
|
|
|
102
102
|
chunksizes: 5000
|
|
103
103
|
_FillValue: 255
|
|
104
104
|
sensor_serial_number:
|
|
105
|
-
dtype:
|
|
105
|
+
dtype: str
|
|
106
106
|
zlib: false
|
|
107
107
|
complevel: 3
|
|
108
108
|
shuffle: true
|
|
@@ -110,7 +110,7 @@ sensor_serial_number:
|
|
|
110
110
|
contiguous: false
|
|
111
111
|
chunksizes: 5000
|
|
112
112
|
firmware_iop:
|
|
113
|
-
dtype:
|
|
113
|
+
dtype: str
|
|
114
114
|
zlib: false
|
|
115
115
|
complevel: 3
|
|
116
116
|
shuffle: true
|
|
@@ -118,7 +118,7 @@ firmware_iop:
|
|
|
118
118
|
contiguous: false
|
|
119
119
|
chunksizes: 5000
|
|
120
120
|
firmware_dsp:
|
|
121
|
-
dtype:
|
|
121
|
+
dtype: str
|
|
122
122
|
zlib: false
|
|
123
123
|
complevel: 3
|
|
124
124
|
shuffle: true
|