disdrodb 0.1.0__py3-none-any.whl → 0.1.2__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 (77) hide show
  1. disdrodb/__init__.py +1 -1
  2. disdrodb/_version.py +2 -2
  3. disdrodb/api/io.py +12 -2
  4. disdrodb/data_transfer/download_data.py +145 -14
  5. disdrodb/l0/check_standards.py +15 -10
  6. disdrodb/l0/configs/LPM/bins_diameter.yml +3 -3
  7. disdrodb/l0/configs/LPM/l0a_encodings.yml +4 -4
  8. disdrodb/l0/configs/LPM/l0b_cf_attrs.yml +22 -6
  9. disdrodb/l0/configs/LPM/l0b_encodings.yml +41 -0
  10. disdrodb/l0/configs/LPM/raw_data_format.yml +40 -0
  11. disdrodb/l0/configs/PARSIVEL/l0b_cf_attrs.yml +1 -1
  12. disdrodb/l0/configs/PARSIVEL/raw_data_format.yml +1 -1
  13. disdrodb/l0/configs/PARSIVEL2/l0a_encodings.yml +4 -0
  14. disdrodb/l0/configs/PARSIVEL2/l0b_cf_attrs.yml +20 -4
  15. disdrodb/l0/configs/PARSIVEL2/l0b_encodings.yml +41 -0
  16. disdrodb/l0/configs/PARSIVEL2/raw_data_format.yml +50 -10
  17. disdrodb/l0/configs/PWS100/bins_diameter.yml +173 -0
  18. disdrodb/l0/configs/PWS100/bins_velocity.yml +173 -0
  19. disdrodb/l0/configs/PWS100/l0a_encodings.yml +19 -0
  20. disdrodb/l0/configs/PWS100/l0b_cf_attrs.yml +76 -0
  21. disdrodb/l0/configs/PWS100/l0b_encodings.yml +176 -0
  22. disdrodb/l0/configs/PWS100/raw_data_format.yml +182 -0
  23. disdrodb/l0/configs/RD80/raw_data_format.yml +2 -6
  24. disdrodb/l0/l0b_nc_processing.py +1 -1
  25. disdrodb/l0/l0b_processing.py +12 -10
  26. disdrodb/l0/manuals/SWS250.pdf +0 -0
  27. disdrodb/l0/manuals/VPF730.pdf +0 -0
  28. disdrodb/l0/manuals/VPF750.pdf +0 -0
  29. disdrodb/l0/readers/LPM/AUSTRALIA/MELBOURNE_2007_LPM.py +23 -13
  30. disdrodb/l0/readers/LPM/BRAZIL/CHUVA_LPM.py +3 -3
  31. disdrodb/l0/readers/LPM/BRAZIL/GOAMAZON_LPM.py +5 -3
  32. disdrodb/l0/readers/LPM/ITALY/GID_LPM.py +36 -20
  33. disdrodb/l0/readers/LPM/ITALY/GID_LPM_W.py +210 -0
  34. disdrodb/l0/readers/LPM/KIT/CHWALA.py +225 -0
  35. disdrodb/l0/readers/LPM/SLOVENIA/ARSO.py +197 -0
  36. disdrodb/l0/readers/LPM/SLOVENIA/CRNI_VRH.py +197 -0
  37. disdrodb/l0/readers/PARSIVEL/GPM/PIERS.py +107 -0
  38. disdrodb/l0/readers/PARSIVEL/JAPAN/JMA.py +125 -0
  39. disdrodb/l0/readers/PARSIVEL/NCAR/PECAN_MOBILE.py +1 -1
  40. disdrodb/l0/readers/PARSIVEL/NCAR/VORTEX2_2009.py +1 -1
  41. disdrodb/l0/readers/PARSIVEL/SLOVENIA/UL_FGG.py +121 -0
  42. disdrodb/l0/readers/PARSIVEL2/FRANCE/ENPC_PARSIVEL2.py +189 -0
  43. disdrodb/l0/readers/PARSIVEL2/KIT/BURKINA_FASO.py +133 -0
  44. disdrodb/l0/readers/PARSIVEL2/NCAR/FARM_PARSIVEL2.py +138 -0
  45. disdrodb/l0/readers/PARSIVEL2/NCAR/PECAN_FP3.py +1 -1
  46. disdrodb/l0/readers/PARSIVEL2/NCAR/VORTEX_SE_2016_P2.py +1 -1
  47. disdrodb/l0/readers/PARSIVEL2/NCAR/VORTEX_SE_2016_PIPS.py +9 -0
  48. disdrodb/l0/readers/PARSIVEL2/NETHERLANDS/DELFT_NC.py +67 -0
  49. disdrodb/l0/readers/PWS100/FRANCE/ENPC_PWS100.py +150 -0
  50. disdrodb/l0/readers/RD80/NOAA/PSL_RD80.py +291 -0
  51. disdrodb/l0/readers/template_reader_raw_netcdf_data.py +1 -1
  52. disdrodb/l0/standards.py +7 -4
  53. disdrodb/l0/template_tools.py +2 -2
  54. disdrodb/l1/encoding_attrs.py +30 -8
  55. disdrodb/l1/processing.py +6 -4
  56. disdrodb/l1/resampling.py +1 -1
  57. disdrodb/l1/routines.py +9 -7
  58. disdrodb/l2/empirical_dsd.py +100 -2
  59. disdrodb/l2/event.py +3 -3
  60. disdrodb/l2/processing.py +21 -12
  61. disdrodb/l2/processing_options.py +7 -7
  62. disdrodb/l2/routines.py +3 -3
  63. disdrodb/metadata/checks.py +15 -6
  64. disdrodb/metadata/manipulation.py +2 -2
  65. disdrodb/metadata/standards.py +83 -79
  66. disdrodb/metadata/writer.py +2 -2
  67. disdrodb/routines.py +246 -10
  68. disdrodb/scattering/routines.py +1 -1
  69. disdrodb/utils/dataframe.py +342 -0
  70. disdrodb/utils/directories.py +14 -2
  71. disdrodb/utils/xarray.py +83 -0
  72. {disdrodb-0.1.0.dist-info → disdrodb-0.1.2.dist-info}/METADATA +34 -61
  73. {disdrodb-0.1.0.dist-info → disdrodb-0.1.2.dist-info}/RECORD +77 -54
  74. {disdrodb-0.1.0.dist-info → disdrodb-0.1.2.dist-info}/WHEEL +1 -1
  75. {disdrodb-0.1.0.dist-info → disdrodb-0.1.2.dist-info}/entry_points.txt +3 -3
  76. {disdrodb-0.1.0.dist-info → disdrodb-0.1.2.dist-info}/licenses/LICENSE +0 -0
  77. {disdrodb-0.1.0.dist-info → disdrodb-0.1.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,173 @@
1
+ center:
2
+ 0: 0.05
3
+ 1: 0.15
4
+ 2: 0.25
5
+ 3: 0.35
6
+ 4: 0.45
7
+ 5: 0.55
8
+ 6: 0.65
9
+ 7: 0.75
10
+ 8: 0.85
11
+ 9: 0.95
12
+ 10: 1.1
13
+ 11: 1.3
14
+ 12: 1.5
15
+ 13: 1.7
16
+ 14: 1.9
17
+ 15: 2.2
18
+ 16: 2.6
19
+ 17: 3.0
20
+ 18: 3.4
21
+ 19: 3.8
22
+ 20: 4.4
23
+ 21: 5.2
24
+ 22: 6.0
25
+ 23: 6.8
26
+ 24: 7.6
27
+ 25: 8.8
28
+ 26: 10.4
29
+ 27: 12.0
30
+ 28: 13.6
31
+ 29: 15.2
32
+ 30: 17.6
33
+ 31: 20.8
34
+ 32: 24.0
35
+ 33: 27.2
36
+ bounds:
37
+ 0:
38
+ - 0.0
39
+ - 0.1
40
+ 1:
41
+ - 0.1
42
+ - 0.2
43
+ 2:
44
+ - 0.2
45
+ - 0.3
46
+ 3:
47
+ - 0.3
48
+ - 0.4
49
+ 4:
50
+ - 0.4
51
+ - 0.5
52
+ 5:
53
+ - 0.5
54
+ - 0.6
55
+ 6:
56
+ - 0.6
57
+ - 0.7
58
+ 7:
59
+ - 0.7
60
+ - 0.8
61
+ 8:
62
+ - 0.8
63
+ - 0.9
64
+ 9:
65
+ - 0.9
66
+ - 1.0
67
+ 10:
68
+ - 1.0
69
+ - 1.2
70
+ 11:
71
+ - 1.2
72
+ - 1.4
73
+ 12:
74
+ - 1.4
75
+ - 1.6
76
+ 13:
77
+ - 1.6
78
+ - 1.8
79
+ 14:
80
+ - 1.8
81
+ - 2.0
82
+ 15:
83
+ - 2.0
84
+ - 2.4
85
+ 16:
86
+ - 2.4
87
+ - 2.8
88
+ 17:
89
+ - 2.8
90
+ - 3.2
91
+ 18:
92
+ - 3.2
93
+ - 3.6
94
+ 19:
95
+ - 3.6
96
+ - 4.0
97
+ 20:
98
+ - 4.0
99
+ - 4.8
100
+ 21:
101
+ - 4.8
102
+ - 5.6
103
+ 22:
104
+ - 5.6
105
+ - 6.4
106
+ 23:
107
+ - 6.4
108
+ - 7.2
109
+ 24:
110
+ - 7.2
111
+ - 8.0
112
+ 25:
113
+ - 8.0
114
+ - 9.6
115
+ 26:
116
+ - 9.6
117
+ - 11.2
118
+ 27:
119
+ - 11.2
120
+ - 12.8
121
+ 28:
122
+ - 12.8
123
+ - 14.4
124
+ 29:
125
+ - 14.4
126
+ - 16.0
127
+ 30:
128
+ - 16.0
129
+ - 19.2
130
+ 31:
131
+ - 19.2
132
+ - 22.4
133
+ 32:
134
+ - 22.4
135
+ - 25.6
136
+ 33:
137
+ - 25.6
138
+ - 28.8
139
+ width:
140
+ 0: 0.1
141
+ 1: 0.1
142
+ 2: 0.1
143
+ 3: 0.1
144
+ 4: 0.1
145
+ 5: 0.1
146
+ 6: 0.1
147
+ 7: 0.1
148
+ 8: 0.1
149
+ 9: 0.1
150
+ 10: 0.2
151
+ 11: 0.2
152
+ 12: 0.2
153
+ 13: 0.2
154
+ 14: 0.2
155
+ 15: 0.4
156
+ 16: 0.4
157
+ 17: 0.4
158
+ 18: 0.4
159
+ 19: 0.4
160
+ 20: 0.8
161
+ 21: 0.8
162
+ 22: 0.8
163
+ 23: 0.8
164
+ 24: 0.8
165
+ 25: 1.6
166
+ 26: 1.6
167
+ 27: 1.6
168
+ 28: 1.6
169
+ 29: 1.6
170
+ 30: 3.2
171
+ 31: 3.2
172
+ 32: 3.2
173
+ 33: 3.2
@@ -0,0 +1,173 @@
1
+ center:
2
+ 0: 0.05
3
+ 1: 0.15
4
+ 2: 0.25
5
+ 3: 0.35
6
+ 4: 0.45
7
+ 5: 0.55
8
+ 6: 0.65
9
+ 7: 0.75
10
+ 8: 0.85
11
+ 9: 0.95
12
+ 10: 1.1
13
+ 11: 1.3
14
+ 12: 1.5
15
+ 13: 1.7
16
+ 14: 1.9
17
+ 15: 2.2
18
+ 16: 2.6
19
+ 17: 3.0
20
+ 18: 3.4
21
+ 19: 3.8
22
+ 20: 4.4
23
+ 21: 5.2
24
+ 22: 6.0
25
+ 23: 6.8
26
+ 24: 7.6
27
+ 25: 8.8
28
+ 26: 10.4
29
+ 27: 12.0
30
+ 28: 13.6
31
+ 29: 15.2
32
+ 30: 17.6
33
+ 31: 20.8
34
+ 32: 24.0
35
+ 33: 27.2
36
+ bounds:
37
+ 0:
38
+ - 0.0
39
+ - 0.1
40
+ 1:
41
+ - 0.1
42
+ - 0.2
43
+ 2:
44
+ - 0.2
45
+ - 0.3
46
+ 3:
47
+ - 0.3
48
+ - 0.4
49
+ 4:
50
+ - 0.4
51
+ - 0.5
52
+ 5:
53
+ - 0.5
54
+ - 0.6
55
+ 6:
56
+ - 0.6
57
+ - 0.7
58
+ 7:
59
+ - 0.7
60
+ - 0.8
61
+ 8:
62
+ - 0.8
63
+ - 0.9
64
+ 9:
65
+ - 0.9
66
+ - 1.0
67
+ 10:
68
+ - 1.0
69
+ - 1.2
70
+ 11:
71
+ - 1.2
72
+ - 1.4
73
+ 12:
74
+ - 1.4
75
+ - 1.6
76
+ 13:
77
+ - 1.6
78
+ - 1.8
79
+ 14:
80
+ - 1.8
81
+ - 2.0
82
+ 15:
83
+ - 2.0
84
+ - 2.4
85
+ 16:
86
+ - 2.4
87
+ - 2.8
88
+ 17:
89
+ - 2.8
90
+ - 3.2
91
+ 18:
92
+ - 3.2
93
+ - 3.6
94
+ 19:
95
+ - 3.6
96
+ - 4.0
97
+ 20:
98
+ - 4.0
99
+ - 4.8
100
+ 21:
101
+ - 4.8
102
+ - 5.6
103
+ 22:
104
+ - 5.6
105
+ - 6.4
106
+ 23:
107
+ - 6.4
108
+ - 7.2
109
+ 24:
110
+ - 7.2
111
+ - 8.0
112
+ 25:
113
+ - 8.0
114
+ - 9.6
115
+ 26:
116
+ - 9.6
117
+ - 11.2
118
+ 27:
119
+ - 11.2
120
+ - 12.8
121
+ 28:
122
+ - 12.8
123
+ - 14.4
124
+ 29:
125
+ - 14.4
126
+ - 16.0
127
+ 30:
128
+ - 16.0
129
+ - 19.2
130
+ 31:
131
+ - 19.2
132
+ - 22.4
133
+ 32:
134
+ - 22.4
135
+ - 25.6
136
+ 33:
137
+ - 25.6
138
+ - 28.8
139
+ width:
140
+ 0: 0.1
141
+ 1: 0.1
142
+ 2: 0.1
143
+ 3: 0.1
144
+ 4: 0.1
145
+ 5: 0.1
146
+ 6: 0.1
147
+ 7: 0.1
148
+ 8: 0.1
149
+ 9: 0.1
150
+ 10: 0.2
151
+ 11: 0.2
152
+ 12: 0.2
153
+ 13: 0.2
154
+ 14: 0.2
155
+ 15: 0.4
156
+ 16: 0.4
157
+ 17: 0.4
158
+ 18: 0.4
159
+ 19: 0.4
160
+ 20: 0.8
161
+ 21: 0.8
162
+ 22: 0.8
163
+ 23: 0.8
164
+ 24: 0.8
165
+ 25: 1.6
166
+ 26: 1.6
167
+ 27: 1.6
168
+ 28: 1.6
169
+ 29: 1.6
170
+ 30: 3.2
171
+ 31: 3.2
172
+ 32: 3.2
173
+ 33: 3.2
@@ -0,0 +1,19 @@
1
+ mor_visibility: "float32"
2
+ weather_code_synop_4680: "float32" # 'uint32'
3
+ weather_code_metar_4678: "str"
4
+ weather_code_nws: "str"
5
+ alarms: "str"
6
+ sensor_status: "float32" # 'uint8'
7
+ air_temperature: "float32" # 'uint16'
8
+ relative_humidity: "float32" # 'uint16'
9
+ wetbulb_temperature: "float32" # 'uint16'
10
+ air_temperature_max: "float32" # 'uint16'
11
+ air_temperature_min: "float32" # 'uint16'
12
+ rainfall_rate: "float32" # 'uint16'
13
+ rainfall_accumulated: "float32" # 'uint16'
14
+ average_drop_velocity: "float32"
15
+ average_drop_size: "float32"
16
+ raw_drop_number: "str"
17
+ type_distribution: "str"
18
+ drop_size_distribution: "str"
19
+ peak_to_pedestal_hist: "str"
@@ -0,0 +1,76 @@
1
+ mor_visibility:
2
+ description: Meteorological Optical Range in precipitation
3
+ long_name: MOR visibility
4
+ units: m
5
+ weather_code_synop_4680:
6
+ description: SYNOP weather code according to table 4680
7
+ long_name: Weather code SYNOP 4680
8
+ units: ""
9
+ weather_code_metar_4678:
10
+ description: METAR/SPECI weather code according to table 4678
11
+ long_name: Weather code METAR 4678
12
+ units: ""
13
+ weather_code_nws:
14
+ description: NWS weather code according to Parsivel documentation
15
+ long_name: Weather code NWS
16
+ units: ""
17
+ alarms:
18
+ description: PWS alarms flags
19
+ long_name: PWS alarms flags
20
+ units: ""
21
+ sensor_status:
22
+ description: Sensor status
23
+ long_name: Sensor status
24
+ units: ""
25
+ air_temperature:
26
+ description: "Air temperature in degrees Celsius"
27
+ long_name: Air temperature
28
+ units: "C"
29
+ relative_humidity:
30
+ description: "Relative humidity in percent (%)"
31
+ long_name: Relative humidity
32
+ units: "%"
33
+ wetbulb_temperature:
34
+ description: "Wet bulb temperature in degrees Celsius"
35
+ long_name: Wet bulb temperature
36
+ units: "C"
37
+ air_temperature_max:
38
+ description: "Maximum air temperature in degrees Celsius"
39
+ long_name: Maximum air temperature
40
+ units: "C"
41
+ air_temperature_min:
42
+ description: "Minimum air temperature in degrees Celsius"
43
+ long_name: Minimum air temperature
44
+ units: "C"
45
+ rainfall_rate:
46
+ description: Rainfall rate
47
+ long_name: Rainfall rate
48
+ units: mm/h
49
+ rainfall_accumulated:
50
+ description: Accumulated rain amount over the measurement interval
51
+ long_name: Rainfall accumulated
52
+ units: mm
53
+ average_drop_velocity:
54
+ description: Average drop velocity
55
+ long_name: Average drop velocity
56
+ units: "m/s"
57
+ average_drop_size:
58
+ description: Average drop size
59
+ long_name: Average drop size
60
+ units: "mm"
61
+ raw_drop_number:
62
+ description: Drop counts per diameter and velocity class
63
+ long_name: Raw drop number
64
+ units: ""
65
+ type_distribution:
66
+ description: Particle type distribution
67
+ long_name: Particle type distribution
68
+ units: ""
69
+ drop_size_distribution:
70
+ description: Drop size distribution
71
+ long_name: Drop size distribution
72
+ units: ""
73
+ peak_to_pedestal_hist:
74
+ description: Peak to pedestal histogram
75
+ long_name: Peak to pedestal histogram
76
+ units: ""
@@ -0,0 +1,176 @@
1
+ mor_visibility:
2
+ dtype: uint16
3
+ zlib: true
4
+ complevel: 3
5
+ shuffle: true
6
+ fletcher32: false
7
+ contiguous: false
8
+ chunksizes: 5000
9
+ _FillValue: 65535
10
+ weather_code_synop_4680:
11
+ dtype: uint8
12
+ zlib: true
13
+ complevel: 3
14
+ shuffle: true
15
+ fletcher32: false
16
+ contiguous: false
17
+ chunksizes: 5000
18
+ _FillValue: 255
19
+ weather_code_metar_4678:
20
+ dtype: str
21
+ zlib: false
22
+ complevel: 3
23
+ shuffle: true
24
+ fletcher32: false
25
+ contiguous: false
26
+ chunksizes: 5000
27
+ weather_code_nws:
28
+ dtype: str
29
+ zlib: false
30
+ complevel: 3
31
+ shuffle: true
32
+ fletcher32: false
33
+ contiguous: false
34
+ chunksizes: 5000
35
+ alarms:
36
+ dtype: str
37
+ zlib: false
38
+ complevel: 3
39
+ shuffle: true
40
+ fletcher32: false
41
+ contiguous: false
42
+ chunksizes: 5000
43
+ sensor_status:
44
+ dtype: uint8
45
+ zlib: true
46
+ complevel: 3
47
+ shuffle: true
48
+ fletcher32: false
49
+ contiguous: false
50
+ chunksizes: 5000
51
+ _FillValue: 255
52
+ air_temperature:
53
+ dtype: uint16
54
+ scale_factor: 0.01
55
+ add_offset: -99.99
56
+ zlib: true
57
+ complevel: 3
58
+ shuffle: true
59
+ fletcher32: false
60
+ contiguous: false
61
+ _FillValue: 65535
62
+ chunksizes: 5000
63
+ relative_humidity:
64
+ dtype: uint16
65
+ scale_factor: 0.01
66
+ zlib: true
67
+ complevel: 3
68
+ shuffle: true
69
+ fletcher32: false
70
+ contiguous: false
71
+ chunksizes: 5000
72
+ wetbulb_temperature:
73
+ dtype: uint16
74
+ scale_factor: 0.01
75
+ add_offset: -99.99
76
+ zlib: true
77
+ complevel: 3
78
+ shuffle: true
79
+ fletcher32: false
80
+ contiguous: false
81
+ _FillValue: 65535
82
+ chunksizes: 5000
83
+ air_temperature_max:
84
+ dtype: uint16
85
+ scale_factor: 0.01
86
+ add_offset: -99.99
87
+ zlib: true
88
+ complevel: 3
89
+ shuffle: true
90
+ fletcher32: false
91
+ contiguous: false
92
+ _FillValue: 65535
93
+ chunksizes: 5000
94
+ air_temperature_min:
95
+ dtype: uint16
96
+ scale_factor: 0.01
97
+ add_offset: -99.99
98
+ zlib: true
99
+ complevel: 3
100
+ shuffle: true
101
+ fletcher32: false
102
+ contiguous: false
103
+ _FillValue: 65535
104
+ chunksizes: 5000
105
+ rainfall_rate:
106
+ dtype: float32
107
+ zlib: true
108
+ complevel: 3
109
+ shuffle: true
110
+ fletcher32: false
111
+ contiguous: false
112
+ chunksizes: 5000
113
+ rainfall_accumulated:
114
+ dtype: float32
115
+ zlib: true
116
+ complevel: 3
117
+ shuffle: true
118
+ fletcher32: false
119
+ contiguous: false
120
+ chunksizes: 5000
121
+ raw_drop_number:
122
+ dtype: uint16
123
+ zlib: true
124
+ complevel: 3
125
+ shuffle: true
126
+ fletcher32: false
127
+ contiguous: false
128
+ _FillValue: 65535
129
+ chunksizes:
130
+ - 5000
131
+ - 34
132
+ - 34
133
+ drop_size_distribution:
134
+ dtype: str
135
+ zlib: false
136
+ complevel: 3
137
+ shuffle: true
138
+ fletcher32: false
139
+ contiguous: false
140
+ chunksizes: 5000
141
+ peak_to_pedestal_hist:
142
+ dtype: str
143
+ zlib: false
144
+ complevel: 3
145
+ shuffle: true
146
+ fletcher32: false
147
+ contiguous: false
148
+ chunksizes: 5000
149
+ type_distribution:
150
+ dtype: str
151
+ zlib: false
152
+ complevel: 3
153
+ shuffle: true
154
+ fletcher32: false
155
+ contiguous: false
156
+ chunksizes: 5000
157
+ average_drop_velocity:
158
+ dtype: uint16
159
+ scale_factor: 0.01
160
+ zlib: true
161
+ complevel: 3
162
+ shuffle: true
163
+ fletcher32: false
164
+ contiguous: false
165
+ chunksizes: 5000
166
+ _FillValue: 65535
167
+ average_drop_size:
168
+ dtype: uint16
169
+ scale_factor: 0.01
170
+ zlib: true
171
+ complevel: 3
172
+ shuffle: true
173
+ fletcher32: false
174
+ contiguous: false
175
+ chunksizes: 5000
176
+ _FillValue: 65535