Kossisoroyce commited on
Commit
d9e1e7f
·
verified ·
1 Parent(s): dc6a9af

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +192 -51
README.md CHANGED
@@ -1,54 +1,196 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: date
5
- dtype: timestamp[ns]
6
- - name: adm_level
7
- dtype: int64
8
- - name: adm_id
9
- dtype: int64
10
- - name: pcode
11
- dtype: string
12
- - name: n_pixels
13
- dtype: float64
14
- - name: rfh
15
- dtype: float64
16
- - name: rfh_avg
17
- dtype: float64
18
- - name: r1h
19
- dtype: float64
20
- - name: r1h_avg
21
- dtype: float64
22
- - name: r3h
23
- dtype: float64
24
- - name: r3h_avg
25
- dtype: float64
26
- - name: rfq
27
- dtype: float64
28
- - name: r1q
29
- dtype: float64
30
- - name: r3q
31
- dtype: float64
32
- - name: version
33
- dtype: string
34
- - name: esa_source
35
- dtype: string
36
- - name: esa_processed
37
- dtype: string
38
  splits:
39
- - name: train
40
- num_bytes: 17615573
41
- num_examples: 121272
42
- - name: test
43
- num_bytes: 4404249
44
- num_examples: 30318
45
- download_size: 12203245
46
- dataset_size: 22019822
47
- configs:
48
- - config_name: default
49
- data_files:
50
- - split: train
51
- path: data/train-*
52
- - split: test
53
- path: data/test-*
54
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
- 1st: Updated forecast, 110 of the same month
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language_creators:
5
+ - found
6
+ language:
7
+ - en
8
+ license: cc-by-4.0
9
+ multilinguality:
10
+ - monolingual
11
+ size_categories:
12
+ - 100K<n<1M
13
+ source_datasets:
14
+ - original
15
+ task_categories:
16
+ - tabular-regression
17
+ - other
18
+ task_ids: []
19
+ tags:
20
+ - africa
21
+ - humanitarian
22
+ - hdx
23
+ - electric-sheep-africa
24
+ - climate-weather
25
+ - environment
26
+ - tcd
27
+ pretty_name: "Chad: Rainfall Indicators at Subnational Level"
28
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  splits:
30
+ - name: train
31
+ num_examples: 121272
32
+ - name: test
33
+ num_examples: 30318
 
 
 
 
 
 
 
 
 
 
 
34
  ---
35
+
36
+ # Chad: Rainfall Indicators at Subnational Level
37
+
38
+ **Publisher:** WFP - World Food Programme · **Source:** [HDX](https://data.humdata.org/dataset/tcd-rainfall-subnational) · **License:** `cc-by` · **Updated:** 2026-04-03
39
+
40
+ ---
41
+
42
+ ## Abstract
43
+
44
+ This dataset contains dekadal rainfall indicators, computed from Climate Hazards Group InfraRed Precipitation satellite imagery with insitu Station data (CHIRPS) version 2 and the CHIRPS-GEFS short term rainfall forecasts, aggregated by subnational administrative units.
45
+
46
+ Included indicators are (for each dekad):
47
+
48
+ - 10 day rainfall [mm] (`rfh`)
49
+ - rainfall 1-month rolling aggregation [mm] (`r1h`)
50
+ - rainfall 3-month rolling aggregation [mm] (`r3h`)
51
+ - rainfall long term average [mm] (`rfh_avg`)
52
+ - rainfall 1-month rolling aggregation long term average [mm] (`r1h_avg`)
53
+ - rainfall 3-month rolling aggregation long term average [mm] (`r3h_avg`)
54
+ - rainfall anomaly [%] (`rfq`)
55
+ - rainfall 1-month anomaly [%] (`r1q`)
56
+ - rainfall 3-month anomaly [%] (`r3q`)
57
+
58
+ The administrative units used for aggregation are based on WFP data and contain a Pcode reference attributed to each unit. The number of input pixels used to create the aggregates, is provided in the `n_pixels` column. Finally, the `type` column indicates if the value is based on a forecast, a preliminary or a final product.
59
+
60
+ Forecasts are issued on the 6th, 16th, and 26th of each month for the upcoming 10-day period (dekad), then updated with improved versions on the 1st, 11th, and 21st.
61
+ Preliminary observations replace the previous dekad’s forecast on the 3rd, 13th, and 23rd, and are later replaced by final observations—published mid-month (13th or 23rd)—covering all three dekads of the prior month. Please find a summary below:
62
+
63
+ Publication Day: Forecast type, Covers (Dekad)
64
+
65
+
66
+ - 6th: Initial forecast, 1120 of the same month
67
+ - 11th: Updated forecast, 1–10 of the same month
68
+ - 16th: Initial forecast, 21–end of the same month
69
+ - 21st: Updated forecast, 11–20 of the same month
70
+ - 26th: Initial forecast, 1–10 of the following month
71
+
72
+ For more on CHIRPS-GEFS forecasts, see: https://www.chc.ucsb.edu/data/chirps-gefs
73
+
74
+ For further details, please see the methodology section.
75
+
76
+ Each row in this dataset represents time-series observations. Temporal coverage is indicated by the `date` column(s). Geographic scope: **TCD**.
77
+
78
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
79
+
80
+ ---
81
+
82
+ ## Dataset Characteristics
83
+
84
+ | | |
85
+ |---|---|
86
+ | **Domain** | Climate and environment |
87
+ | **Unit of observation** | Time-series observations |
88
+ | **Rows (total)** | 151,590 |
89
+ | **Columns** | 17 (12 numeric, 4 categorical, 1 datetime) |
90
+ | **Train split** | 121,272 rows |
91
+ | **Test split** | 30,318 rows |
92
+ | **Geographic scope** | TCD |
93
+ | **Publisher** | WFP - World Food Programme |
94
+ | **HDX last updated** | 2026-04-03 |
95
+
96
+ ---
97
+
98
+ ## Variables
99
+
100
+ **Geographic** — `n_pixels` (range 13.0–8372.0).
101
+
102
+ **Temporal** — `date`.
103
+
104
+ **Identifier / Metadata** — `adm_id` (range 900172.0–1003195.0), `pcode` (TCD0703, TCD2201, TCD19), `esa_source` (HDX), `esa_processed` (2026-04-06).
105
+
106
+ **Other** — `adm_level` (range 1.0–2.0), `rfh` (range 0.0–249.7955), `rfh_avg` (range 0.0–112.8859), `r1h` (range 0.0–569.2935), `r1h_avg` (range 0.0–322.5119) and 6 others.
107
+
108
+ ---
109
+
110
+ ## Quick Start
111
+
112
+ ```python
113
+ from datasets import load_dataset
114
+
115
+ ds = load_dataset("electricsheepafrica/africa-tcd-rainfall-subnational")
116
+ train = ds["train"].to_pandas()
117
+ test = ds["test"].to_pandas()
118
+
119
+ print(train.shape)
120
+ train.head()
121
+ ```
122
+
123
+ ---
124
+
125
+ ## Schema
126
+
127
+ | Column | Type | Null % | Range / Sample Values |
128
+ |---|---|---|---|
129
+ | `date` | datetime64[ns] | 0.0% | |
130
+ | `adm_level` | int64 | 0.0% | 1.0 – 2.0 (mean 1.7527) |
131
+ | `adm_id` | int64 | 0.0% | 900172.0 – 1003195.0 (mean 977692.9462) |
132
+ | `pcode` | object | 0.0% | TCD0703, TCD2201, TCD19 |
133
+ | `n_pixels` | float64 | 0.0% | 13.0 – 8372.0 (mean 910.4301) |
134
+ | `rfh` | float64 | 0.0% | 0.0 – 249.7955 (mean 16.5197) |
135
+ | `rfh_avg` | float64 | 0.0% | 0.0 – 112.8859 (mean 16.3901) |
136
+ | `r1h` | float64 | 0.1% | 0.0 – 569.2935 (mean 49.6063) |
137
+ | `r1h_avg` | float64 | 0.1% | 0.0 – 322.5119 (mean 49.2263) |
138
+ | `r3h` | float64 | 0.5% | 0.0 – 1150.1631 (mean 149.3431) |
139
+ | `r3h_avg` | float64 | 0.5% | 0.0 – 811.1459 (mean 148.2129) |
140
+ | `rfq` | float64 | 0.0% | 13.9173 – 569.6287 (mean 100.3659) |
141
+ | `r1q` | float64 | 0.1% | 13.8573 – 587.5419 (mean 100.4474) |
142
+ | `r3q` | float64 | 0.5% | 19.1436 – 564.8682 (mean 100.5778) |
143
+ | `version` | object | 0.0% | final, prelim, forecast |
144
+ | `esa_source` | object | 0.0% | HDX |
145
+ | `esa_processed` | object | 0.0% | 2026-04-06 |
146
+
147
+ ---
148
+
149
+ ## Numeric Summary
150
+
151
+ | Column | Min | Max | Mean | Median |
152
+ |---|---|---|---|---|
153
+ | `adm_level` | 1.0 | 2.0 | 1.7527 | 2.0 |
154
+ | `adm_id` | 900172.0 | 1003195.0 | 977692.9462 | 1003149.0 |
155
+ | `n_pixels` | 13.0 | 8372.0 | 910.4301 | 370.0 |
156
+ | `rfh` | 0.0 | 249.7955 | 16.5197 | 1.2695 |
157
+ | `rfh_avg` | 0.0 | 112.8859 | 16.3901 | 1.6532 |
158
+ | `r1h` | 0.0 | 569.2935 | 49.6063 | 5.0804 |
159
+ | `r1h_avg` | 0.0 | 322.5119 | 49.2263 | 5.9782 |
160
+ | `r3h` | 0.0 | 1150.1631 | 149.3431 | 38.0284 |
161
+ | `r3h_avg` | 0.0 | 811.1459 | 148.2129 | 40.9487 |
162
+ | `rfq` | 13.9173 | 569.6287 | 100.3659 | 100.0 |
163
+ | `r1q` | 13.8573 | 587.5419 | 100.4474 | 100.0 |
164
+ | `r3q` | 19.1436 | 564.8682 | 100.5778 | 99.9499 |
165
+
166
+ ---
167
+
168
+ ## Curation
169
+
170
+ Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snake_case. Common missing-value markers (`N/A`, `null`, `none`, `-`, `unknown`, `no data`, `#N/A`) were unified to `NaN`. 1 column(s) were cast from string to numeric or datetime based on parse-success rate (>85% threshold). The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
171
+
172
+ ---
173
+
174
+ ## Limitations
175
+
176
+ - Data originates from WFP - World Food Programme and has not been independently validated by ESA.
177
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
178
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/tcd-rainfall-subnational) for the publisher's own methodology notes and caveats.
179
+
180
+ ---
181
+
182
+ ## Citation
183
+
184
+ ```bibtex
185
+ @dataset{hdx_africa_tcd_rainfall_subnational,
186
+ title = {Chad: Rainfall Indicators at Subnational Level},
187
+ author = {WFP - World Food Programme},
188
+ year = {2026},
189
+ url = {https://data.humdata.org/dataset/tcd-rainfall-subnational},
190
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
191
+ }
192
+ ```
193
+
194
+ ---
195
+
196
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*