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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- time-series-forecasting
|
| 5 |
+
tags:
|
| 6 |
+
- lightning
|
| 7 |
+
- nowcasting
|
| 8 |
+
- GOES-16
|
| 9 |
+
- GLM
|
| 10 |
+
- ABI
|
| 11 |
+
- meteorology
|
| 12 |
+
- South America
|
| 13 |
+
pretty_name: GOES-16 lightning nowcasting patches over South America
|
| 14 |
+
size_categories:
|
| 15 |
+
- 10K<n<100K
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# GOES-16 lightning nowcasting patches over South America
|
| 19 |
+
|
| 20 |
+
## Dataset summary
|
| 21 |
+
|
| 22 |
+
This dataset contains sequences of co-located GOES-16 lightning and infrared
|
| 23 |
+
observations over tropical and subtropical South America. It was built to train and
|
| 24 |
+
evaluate machine-learning models that forecast lightning 10 to 120 minutes ahead.
|
| 25 |
+
|
| 26 |
+
Each sequence covers 128 × 128 grid cells (about 256 km on a side) and 4 hours at
|
| 27 |
+
10-minute steps: 12 input
|
| 28 |
+
frames followed by 12 target frames. Each frame has eight channels: the flash-extent
|
| 29 |
+
density (FED) from the Geostationary Lightning Mapper (GLM) and seven infrared bands of
|
| 30 |
+
the Advanced Baseline Imager (ABI).
|
| 31 |
+
|
| 32 |
+
There are 77,976 sequences in total, of which 77,778 are used in the accompanying paper:
|
| 33 |
+
the 198 sequences of the embargo day (2020-02-05) are released but not used. The
|
| 34 |
+
development set has 71,010 sequences from
|
| 35 |
+
2019-04-03 to 2020-03-31, released as twelve monthly files and used for training
|
| 36 |
+
and validation. The test set has 6,966 sequences from 36 days between September 2023 and
|
| 37 |
+
February 2024, following the days of the Latin America lightning nowcasting benchmark
|
| 38 |
+
(Cintineo, 2024).
|
| 39 |
+
|
| 40 |
+
The dataset accompanies the paper *A Satellite Lightning Nowcasting Benchmark for South America: Temporal Cross-Attention in ConvLSTMs* (Vela et al., WAIMLAp 2026).
|
| 41 |
+
|
| 42 |
+
- Curated by: Marco Vela
|
| 43 |
+
- License: CC-BY-4.0
|
| 44 |
+
- Code: doi:10.5281/zenodo.22979408 (Zenodo)
|
| 45 |
+
- Source data: GOES-16 GLM L2 LCFA and ABI L1b radiances, NOAA
|
| 46 |
+
|
| 47 |
+
## Files
|
| 48 |
+
|
| 49 |
+
The data are hosted in this repository, one folder per month of the development set and one
|
| 50 |
+
for the test set. Each folder holds three files:
|
| 51 |
+
|
| 52 |
+
| Folder | Files |
|
| 53 |
+
|---|---|
|
| 54 |
+
| `2019-04/` to `2020-03/` | `patches_YYYY-MM.nc`, `fed_true_position_YYYY-MM.nc`, `provenance_YYYY-MM.csv` |
|
| 55 |
+
| `test/` | `patches_test.nc`, `fed_true_position_test.nc`, `provenance_test.csv` |
|
| 56 |
+
|
| 57 |
+
The files hold about 296 GB in total. The code that builds them is in a separate Zenodo
|
| 58 |
+
record (doi:10.5281/zenodo.22979408), which contains the scripts, the configuration and
|
| 59 |
+
this card.
|
| 60 |
+
|
| 61 |
+
## Dataset structure
|
| 62 |
+
|
| 63 |
+
### Files
|
| 64 |
+
|
| 65 |
+
Each file is NetCDF-4 (HDF5) with three variables:
|
| 66 |
+
|
| 67 |
+
| Variable | Type | Dimensions | Description |
|
| 68 |
+
|---|---|---|---|
|
| 69 |
+
| `sequences` | int16 | `(sample, time, channel, y, x)` = `(n, 24, 8, 128, 128)` | Packed values; `scale_factor` = 1/32767 gives values in [0, 1] |
|
| 70 |
+
| `year` | int16 | `(sample,)` | Year of the sequence (UTC) |
|
| 71 |
+
| `doy` | int16 | `(sample,)` | Day of year of the sequence (UTC) |
|
| 72 |
+
|
| 73 |
+
Sequences are in chronological order. Each one is stored as its own compressed chunk
|
| 74 |
+
(zlib level 4 with byte shuffle), so reading a single sequence does not decompress its
|
| 75 |
+
neighbors. Packing to int16 adds an error of at most 1.5 × 10⁻⁵ to the scaled value.
|
| 76 |
+
|
| 77 |
+
The global attributes of each monthly file give the month, the number of sequences, the
|
| 78 |
+
splits it contains, the split rule, and the index range of the month in the original
|
| 79 |
+
single file.
|
| 80 |
+
|
| 81 |
+
### Provenance tables
|
| 82 |
+
|
| 83 |
+
Each data file comes with a CSV that has one row per sequence, in the same order as the
|
| 84 |
+
file:
|
| 85 |
+
|
| 86 |
+
| Column | Meaning |
|
| 87 |
+
|---|---|
|
| 88 |
+
| `index` | Position of the sequence in the file |
|
| 89 |
+
| `source_index` | Position in the single file used for training (test: same as `index`) |
|
| 90 |
+
| `split` | train, embargo, validation, or test |
|
| 91 |
+
| `year`, `doy` | Date (UTC) |
|
| 92 |
+
| `window`, `start_utc` | Window of the day (0 to 10) and the time of its first frame |
|
| 93 |
+
| `kind` | `active` (activity-weighted draw) or `background` (uniform draw) |
|
| 94 |
+
| `y0`, `x0` | Grid row and column of the patch's first cell; row 0 is the southern edge |
|
| 95 |
+
| `lat`, `lon` | Latitude and longitude of the patch center |
|
| 96 |
+
| `pos_frac` | Share of the patch's cells with FED > 0 in some frame of the window |
|
| 97 |
+
| `activity` | Total scaled FED of the patch over the window (the sampling weight is its square root) |
|
| 98 |
+
|
| 99 |
+
The tables were produced by replaying the sampler on the gridded data. The replay
|
| 100 |
+
reproduced the number of sequences of every day, and the FED channel of every validation,
|
| 101 |
+
embargo and test sequence, and of the first sequence of every training day, byte for byte.
|
| 102 |
+
|
| 103 |
+
### Channels
|
| 104 |
+
|
| 105 |
+
| Index | Name | Quantity | Conversion from the scaled value `v` |
|
| 106 |
+
|---|---|---|---|
|
| 107 |
+
| 0 | FED | GLM flash-extent density, flashes per cell per 10 min | FED = 50 v |
|
| 108 |
+
| 1 | C08 | ABI brightness temperature, 6.2 µm | BT = 190 + 90 v (K) |
|
| 109 |
+
| 2 | C09 | ABI brightness temperature, 6.9 µm | BT = 190 + 90 v (K) |
|
| 110 |
+
| 3 | C10 | ABI brightness temperature, 7.3 µm | BT = 180 + 110 v (K) |
|
| 111 |
+
| 4 | C13 | ABI brightness temperature, 10.3 µm | BT = 180 + 140 v (K) |
|
| 112 |
+
| 5 | C14 | ABI brightness temperature, 11.2 µm | BT = 180 + 140 v (K) |
|
| 113 |
+
| 6 | C15 | ABI brightness temperature, 12.3 µm | BT = 180 + 140 v (K) |
|
| 114 |
+
| 7 | C16 | ABI brightness temperature, 13.3 µm | BT = 180 + 110 v (K) |
|
| 115 |
+
|
| 116 |
+
FED is clipped at 50, and brightness temperatures are clipped to the ranges above. On
|
| 117 |
+
2019-04-03, fewer than 0.011 % of the cells in any ABI channel hit a limit.
|
| 118 |
+
|
| 119 |
+
The accompanying paper labels a target cell positive when FED ≥ 1, which is `v` ≥ 0.02.
|
| 120 |
+
|
| 121 |
+
### Example
|
| 122 |
+
|
| 123 |
+
```python
|
| 124 |
+
import xarray as xr
|
| 125 |
+
|
| 126 |
+
ds = xr.open_dataset("patches_2019-07.nc") # applies scale_factor on read
|
| 127 |
+
x = ds["sequences"][0].values # (24, 8, 128, 128), values in [0, 1]
|
| 128 |
+
fed = 50.0 * x[:, 0] # flashes per cell per 10 min
|
| 129 |
+
bt_c13 = 180.0 + 140.0 * x[:, 4] # K
|
| 130 |
+
inputs, targets = x[:12], x[12:, 0] >= 0.02 # 12 input frames; binary targets
|
| 131 |
+
```
|
| 132 |
+
|
| 133 |
+
### Splits
|
| 134 |
+
|
| 135 |
+
| Split | Period | Days | Sequences | Target cells | Positive target cells | Size |
|
| 136 |
+
|---|---|---|---|---|---|---|
|
| 137 |
+
| Train | 2019-04-03 to 2020-02-04 | 308 | 60,084 | 11,812,995,072 | 812,191,769 (6.88 %) | 226 GB |
|
| 138 |
+
| Embargo (unused) | 2020-02-05 | 1 | 198 | n/a | n/a | n/a |
|
| 139 |
+
| Validation | 2020-02-06 to 2020-03-31 | 55 | 10,728 | 2,109,210,624 | 117,672,207 (5.58 %) | 41 GB |
|
| 140 |
+
| Test | days 4 to 9 of each month, Sep 2023 to Feb 2024 | 36 | 6,966 | 1,369,571,328 | 95,578,805 (6.98 %) | 26 GB |
|
| 141 |
+
|
| 142 |
+
Target cells are the cells of the 12 target frames, 196,608 per sequence. A target cell
|
| 143 |
+
is positive when FED ≥ 1. Sizes are those of the single training, validation, and test
|
| 144 |
+
files used in the paper, in decimal gigabytes; the monthly files hold the same chunks.
|
| 145 |
+
|
| 146 |
+
Validation is the last 15 % of the development set, rounded to whole days. The day
|
| 147 |
+
before validation starts is left out so that a single storm is unlikely to appear in
|
| 148 |
+
both splits. Every monthly file stores this rule in its `split_rule` attribute.
|
| 149 |
+
|
| 150 |
+
To rebuild the training and validation files used in the paper, concatenate the monthly
|
| 151 |
+
files and run `scripts/split_dataset.py` with
|
| 152 |
+
`VAL_START_YEAR=2020 VAL_START_DOY=37 EMBARGO_DAYS=1`. Selecting sequences by `year` and
|
| 153 |
+
`doy` with the dates above gives the same result.
|
| 154 |
+
|
| 155 |
+
The benchmark (Cintineo, 2024) scores days 5 to 9 of each test month. The test set also
|
| 156 |
+
includes day 4 of each month.
|
| 157 |
+
|
| 158 |
+
### Contents of each file
|
| 159 |
+
|
| 160 |
+
A day yields at most 198 sequences (11 windows × 18 patches). Every calendar day of the
|
| 161 |
+
development period is present. The first file starts on 2019-04-03 because 2019-04-01 and
|
| 162 |
+
2019-04-02 fall in the switch to ABI scan mode 6.
|
| 163 |
+
|
| 164 |
+
Every day with fewer than 198 sequences lost whole windows to gaps in the ABI data; no
|
| 165 |
+
window was lost for lack of lightning. The sampler skips a window if any of its frames
|
| 166 |
+
is missing a cell in any ABI channel and the gap cannot be filled. Gaps of up to 3 frames
|
| 167 |
+
(30 minutes) are filled by interpolation, but only between two complete frames of the
|
| 168 |
+
same day, so a single incomplete frame at 00:00 or 23:50 UTC is enough to skip a window.
|
| 169 |
+
There were two kinds of gap, and both come from the NOAA archive, not from our
|
| 170 |
+
processing:
|
| 171 |
+
|
| 172 |
+
- Missing data: for the listed times the archive has no file, or a file without data,
|
| 173 |
+
for at least one of the seven channels.
|
| 174 |
+
- Incomplete frames: the files exist, but a band of rows at the edge of our domain
|
| 175 |
+
has no data (the share of the domain missing is given in parentheses).
|
| 176 |
+
|
| 177 |
+
Times are UTC. The number of windows skipped is given after each gap.
|
| 178 |
+
|
| 179 |
+
Development set:
|
| 180 |
+
|
| 181 |
+
| File | Sequences | Split | Notes |
|
| 182 |
+
|---|---|---|---|
|
| 183 |
+
| `patches_2019-04.nc` | 5,382 | train | 2019-04-03 to 2019-04-30; 2019-04-01 and 2019-04-02 are not included (switch to scan mode 6). Missing data on 2019-04-15, 12:20 to 15:20 (3 windows); 2019-04-23, 12:10 to 13:30 (2); 2019-04-24, 12:20 to 16:20 (4). |
|
| 184 |
+
| `patches_2019-05.nc` | 5,994 | train | Missing data on 2019-05-04, 12:10 to 13:00 (2 windows), and 2019-05-30, 12:20 to 18:40 (5). Incomplete frame on 2019-05-26 at 23:50 (under 0.1 %), the last of the day (1). |
|
| 185 |
+
| `patches_2019-06.nc` | 5,796 | train | Missing data on 2019-06-27, 13:50 to 17:50 (4 windows), and 2019-06-28, 14:50 to 19:20 (4). |
|
| 186 |
+
| `patches_2019-07.nc` | 6,102 | train | Missing data on 2019-07-17, 17:20 to 18:00 (2 windows). |
|
| 187 |
+
| `patches_2019-08.nc` | 6,048 | train | Incomplete frames on 2019-08-08, 16:20 to 18:10 (up to 0.1 %; 3 windows). Missing data on 2019-08-20, 15:10 to 15:50 (2). |
|
| 188 |
+
| `patches_2019-09.nc` | 5,922 | train | Incomplete frame on 2019-09-13 at 00:00 (under 0.1 %), the first of the day (1 window). |
|
| 189 |
+
| `patches_2019-10.nc` | 6,066 | train | Incomplete frames on 2019-10-11, 04:30 to 05:20 (up to 1.8 %; 2 windows), and 2019-10-12, 04:30 to 05:10 (up to 1.6 %; 2). |
|
| 190 |
+
| `patches_2019-11.nc` | 5,868 | train | Missing data on 2019-11-06, 01:20 to 03:40 (2 windows), and 2019-11-12, 20:10 to 21:50 (2). |
|
| 191 |
+
| `patches_2019-12.nc` | 6,066 | train | Missing data on 2019-12-04, 17:30 to 20:10 except the 18:10 frame (4 windows). |
|
| 192 |
+
| `patches_2020-01.nc` | 6,066 | train | Missing data on 2020-01-06, 21:40 to midnight (2 windows), and 2020-01-07, 00:00 to 00:20 (1). Incomplete frames on 2020-01-28 at 23:40 and 23:50 (under 0.1 %), the last of the day (1). |
|
| 193 |
+
| `patches_2020-02.nc` | 5,724 | train, embargo, validation | Train on 2020-02-01 to 2020-02-04, embargo on 2020-02-05 (not used), validation on 2020-02-06 to 2020-02-29. Incomplete frame on 2020-02-04 at 23:50 (3.1 %), the last of the day (1 window). |
|
| 194 |
+
| `patches_2020-03.nc` | 5,976 | validation | Incomplete frames on 2020-03-01, 05:00 to 05:40 (up to 2.1 %; 2 windows), and 2020-03-02, 05:00 to 05:40 (up to 2.3 %; 2). Missing data on 2020-03-18, 14:50 to 19:30 and 20:30 to 21:20 (5). |
|
| 195 |
+
| Total | 71,010 | | 364 days, 2019-04-03 to 2020-03-31. |
|
| 196 |
+
|
| 197 |
+
Test set (`patches_test.nc`, one file):
|
| 198 |
+
|
| 199 |
+
| Month | Sequences | Split | Notes |
|
| 200 |
+
|---|---|---|---|
|
| 201 |
+
| Sep 2023 | 1,188 | test | Days 4 to 9, no gaps. |
|
| 202 |
+
| Oct 2023 | 1,188 | test | Days 4 to 9, no gaps. |
|
| 203 |
+
| Nov 2023 | 1,188 | test | Days 4 to 9, no gaps. |
|
| 204 |
+
| Dec 2023 | 1,026 | test | Days 4 to 9. Missing data on 2023-12-04, 17:30 to 19:00 (3 windows), and 2023-12-07, 15:40 to 16:20 (3). Missing data and incomplete frames on 2023-12-08, 09:40 to 10:20 (3). |
|
| 205 |
+
| Jan 2024 | 1,188 | test | Days 4 to 9, no gaps. |
|
| 206 |
+
| Feb 2024 | 1,188 | test | Days 4 to 9, no gaps. |
|
| 207 |
+
| Total | 6,966 | | 36 days. |
|
| 208 |
+
|
| 209 |
+
## Dataset creation
|
| 210 |
+
|
| 211 |
+
### Curation rationale
|
| 212 |
+
|
| 213 |
+
Lightning covers a small part of the domain at any given time, and patches placed
|
| 214 |
+
uniformly would mostly be empty. Patch positions were therefore drawn in proportion to
|
| 215 |
+
lightning activity, with a smaller share placed uniformly at random. The dataset is
|
| 216 |
+
meant for training and comparing models. It is not suitable for estimating lightning
|
| 217 |
+
climatology.
|
| 218 |
+
|
| 219 |
+
### Source data
|
| 220 |
+
|
| 221 |
+
All data is from GOES-16 and was downloaded from the NOAA public archive: GLM Level 2
|
| 222 |
+
Lightning Cluster Filter Algorithm (LCFA) flashes, and ABI Level 1b full-disk radiances
|
| 223 |
+
in scan mode 6. The development period starts on 2019-04-03, the first full day in
|
| 224 |
+
scan mode 6.
|
| 225 |
+
|
| 226 |
+
### Gridding
|
| 227 |
+
|
| 228 |
+
GLM and ABI share one grid, regular in the GOES-16 fixed-grid scan angle:
|
| 229 |
+
|
| 230 |
+
| Property | Value |
|
| 231 |
+
|---|---|
|
| 232 |
+
| Spacing | 55.9 µrad (2.0 km at the sub-satellite point, up to 2.7 km at the edge of the domain) |
|
| 233 |
+
| Projection | `+proj=geos +h=35786023 +lon_0=-75.2 +sweep=x +ellps=GRS80` |
|
| 234 |
+
| Size | 2,017 × 1,849 cells |
|
| 235 |
+
| Extent | about 85° W, 25° S to 45° W, 10° N |
|
| 236 |
+
| Time step | 10 minutes, 144 steps per UTC day |
|
| 237 |
+
|
| 238 |
+
FED is accumulated over each 10-minute step by clipping each flash's event polygons onto
|
| 239 |
+
the grid. A flash therefore adds to every cell its footprint touches, not only to the
|
| 240 |
+
cell that holds its centroid. ABI radiances are converted to brightness temperature with
|
| 241 |
+
the Planck coefficients in each file and mapped to the grid by nearest neighbor.
|
| 242 |
+
|
| 243 |
+
### Lightning channel position
|
| 244 |
+
|
| 245 |
+
An error in our gridding places the FED channel 0.2° of longitude, about 20 km, west of
|
| 246 |
+
its true position. `lib/GlmGrid.jl` converts flash positions to scan angles for a
|
| 247 |
+
sub-satellite longitude of 75.0° W, while the grid is defined for 75.2° W. On our grid the
|
| 248 |
+
offset is 7.5 to 11.1 cells east-west and under 0.4 cells north-south. The seven ABI
|
| 249 |
+
channels are placed correctly. The `patches_*.nc` files keep FED where the paper's models
|
| 250 |
+
saw it during training.
|
| 251 |
+
|
| 252 |
+
Each month folder therefore includes a companion file, `fed_true_position_<month>.nc`
|
| 253 |
+
(`fed_true_position_test.nc` for the test set), with the FED channel moved to its true
|
| 254 |
+
position:
|
| 255 |
+
|
| 256 |
+
- It holds only FED (`fed`, `(sample, time, y, x)`), with the same sequences in the same
|
| 257 |
+
order, the same times and patch positions, and the same int16 packing as the companion
|
| 258 |
+
`patches_*.nc` file. `year` and `doy` are repeated.
|
| 259 |
+
- Each cell is moved east by its own offset, computed with pyproj and rounded to whole
|
| 260 |
+
cells, so every flash lands within about 1 km of its true position.
|
| 261 |
+
- Cells at the western edge of the grid have no source after the move and are set to 0.
|
| 262 |
+
The attribute `sequences_touching_west_edge_fill` gives the number of sequences
|
| 263 |
+
affected in each file.
|
| 264 |
+
- Rebuilt without the move, the channel equals the released FED channel byte for byte.
|
| 265 |
+
|
| 266 |
+
To use lightning and infrared at their true positions, replace channel 0 of
|
| 267 |
+
`sequences` with `fed` from the companion file.
|
| 268 |
+
|
| 269 |
+
### Sequence and patch sampling
|
| 270 |
+
|
| 271 |
+
Each UTC day is cut into 11 windows of 24 frames. The windows start every 2 hours from
|
| 272 |
+
00:00 to 20:00 UTC, so consecutive windows share 12 frames. They never cross midnight,
|
| 273 |
+
which means no target frame falls between 00:00 and 02:00 UTC.
|
| 274 |
+
|
| 275 |
+
Each window yields 18 patches of 128 × 128 cells. A position counts as a candidate when
|
| 276 |
+
at least 2.5 % of its cells have FED > 0 in some frame of the window. Fifteen patches are
|
| 277 |
+
drawn from the candidates with replacement, with probability proportional to the square
|
| 278 |
+
root of their total FED over the window. The other three are placed uniformly at random
|
| 279 |
+
anywhere in the domain. A window without any candidate yields no patches.
|
| 280 |
+
|
| 281 |
+
ABI gaps of up to 3 frames (30 minutes) are filled by linear interpolation in time, and
|
| 282 |
+
windows with longer gaps are skipped. The random stream is seeded with (42, year, day of
|
| 283 |
+
year), so rerunning the sampler gives the same patches.
|
| 284 |
+
|
| 285 |
+
### Reproducibility
|
| 286 |
+
|
| 287 |
+
The code record contains the whole pipeline:
|
| 288 |
+
|
| 289 |
+
| Step | Code |
|
| 290 |
+
|---|---|
|
| 291 |
+
| Gridding | `lib/GlmGrid.jl`, `lib/AbiGrid.jl`, `scripts/grid_day_*.jl` |
|
| 292 |
+
| Patch sampling | `scripts/build_patches.py`, `lib/glm_dataset`, `scripts/patches.yaml` |
|
| 293 |
+
| Train/validation split | `scripts/split_dataset.py` |
|
| 294 |
+
| Monthly files | `scripts/make_monthly_release.py` |
|
| 295 |
+
| Provenance tables | `scripts/patch_provenance.py`, then `scripts/make_monthly_release.py --provenance` |
|
| 296 |
+
| FED at its true position | `scripts/build_corrected_fed.py` |
|
| 297 |
+
|
| 298 |
+
We rebuilt two days from the gridded data, 2020-02-29 (validation, 198 sequences)
|
| 299 |
+
and 2023-09-07 (test, 198 sequences). Both match the released sequences byte for
|
| 300 |
+
byte in all eight channels.
|
| 301 |
+
|
| 302 |
+
The monthly files copy the compressed chunks of the original single file without
|
| 303 |
+
decoding them. Each file was checked against the original chunk by chunk.
|
| 304 |
+
|
| 305 |
+
## Uses
|
| 306 |
+
|
| 307 |
+
### Direct use
|
| 308 |
+
|
| 309 |
+
The dataset suits training and evaluating lightning nowcasting models for lead times up
|
| 310 |
+
to 2 hours, and comparing architectures on a fixed split that separates training and
|
| 311 |
+
test in time. The seven ABI channels also make it possible to test which bands matter as
|
| 312 |
+
predictors.
|
| 313 |
+
|
| 314 |
+
### Out-of-scope use
|
| 315 |
+
|
| 316 |
+
- Lightning climatology or frequency estimates. The sampling favours active regions, so
|
| 317 |
+
lightning is far more common in these sequences than in the domain as a whole.
|
| 318 |
+
- Diurnal cycle studies, since no target frame falls between 00:00 and 02:00 UTC.
|
| 319 |
+
|
| 320 |
+
## Bias, risks, and limitations
|
| 321 |
+
|
| 322 |
+
- Between 5.6 and 7.0 % of target cells are positive, well above the rate for the domain
|
| 323 |
+
as a whole: over all cells and all frames of the same days, 1.34 % are positive. Patches drawn with replacement can overlap, and one storm can appear in
|
| 324 |
+
several sequences.
|
| 325 |
+
- GLM detection efficiency decreases beyond about 4,000 km from the sub-satellite point
|
| 326 |
+
(Virts and Koshak, 2025). Only the southeastern corner of the domain, 1.3 % of its
|
| 327 |
+
cells, lies beyond that distance, at up to 4,640 km, so labels there may be less
|
| 328 |
+
complete.
|
| 329 |
+
- FED in the `patches_*.nc` files sits about 20 km west of its true position; the
|
| 330 |
+
`fed_true_position_*.nc` files hold it at the true position (see Lightning channel
|
| 331 |
+
position).
|
| 332 |
+
- ABI frames filled by interpolation carry no flag.
|
| 333 |
+
- FED above 50 flashes per cell and brightness temperatures outside the channel ranges
|
| 334 |
+
are clipped.
|
| 335 |
+
- The development set covers a single year, and March appears only in validation. The
|
| 336 |
+
test set covers September to February only.
|
| 337 |
+
- All data comes from GOES-16 and from infrared bands only. There are no visible bands,
|
| 338 |
+
so every input channel is available by day and by night.
|
| 339 |
+
|
| 340 |
+
## Citation
|
| 341 |
+
|
| 342 |
+
If you use this dataset, please cite:
|
| 343 |
+
|
| 344 |
+
```bibtex
|
| 345 |
+
@inproceedings{vela2026benchmark,
|
| 346 |
+
author = {Vela, Marco and Villanueva, Edwin and Takahashi, Ken},
|
| 347 |
+
title = {A Satellite Lightning Nowcasting Benchmark for South America:
|
| 348 |
+
Temporal Cross-Attention in {ConvLSTMs}},
|
| 349 |
+
booktitle = {WAIMLAp 2026},
|
| 350 |
+
address = {Lima, Peru},
|
| 351 |
+
year = {2026}
|
| 352 |
+
}
|
| 353 |
+
```
|
| 354 |
+
|
| 355 |
+
and the code record, which holds the pipeline and links to this repository:
|
| 356 |
+
|
| 357 |
+
```bibtex
|
| 358 |
+
@misc{vela2026code,
|
| 359 |
+
author = {Vela, Marco},
|
| 360 |
+
title = {Code for: A Satellite Lightning Nowcasting Benchmark for South America:
|
| 361 |
+
Temporal Cross-Attention in {ConvLSTMs}},
|
| 362 |
+
publisher = {Zenodo},
|
| 363 |
+
year = {2026},
|
| 364 |
+
doi = {10.5281/zenodo.22979408}
|
| 365 |
+
}
|
| 366 |
+
```
|
| 367 |
+
|
| 368 |
+
## References
|
| 369 |
+
|
| 370 |
+
Cintineo, J. (2024). A benchmark dataset for lightning nowcasting in Latin America.
|
| 371 |
+
Zenodo. doi:10.5281/zenodo.14261376
|
| 372 |
+
|
| 373 |
+
Virts, K. S., and Koshak, W. J. (2025). Bayesian analysis of the detection performance of
|
| 374 |
+
the Geostationary Lightning Mappers. Journal of Atmospheric and Oceanic Technology, 42(8),
|
| 375 |
+
935 to 947. doi:10.1175/JTECH-D-24-0130.1
|
| 376 |
+
|
| 377 |
+
## Contact
|
| 378 |
+
|
| 379 |
+
Marco Vela, mvelar@uni.pe
|