Silicon23 commited on
Commit
d152d59
·
1 Parent(s): 813deb0

Upload dataset

Browse files
Files changed (3) hide show
  1. README.md +243 -0
  2. data/dataset.npz +3 -0
  3. data/metadata.csv +0 -0
README.md ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ - config_name: 128x128
4
+ features:
5
+ - name: image
6
+ sequence:
7
+ sequence:
8
+ sequence:
9
+ dtype: float32
10
+ - name: label
11
+ sequence:
12
+ sequence:
13
+ dtype: uint8
14
+ - name: i
15
+ dtype: int32
16
+ - name: j
17
+ dtype: int32
18
+ - name: start_time
19
+ dtype: string
20
+ - name: end_time
21
+ dtype: string
22
+ - name: ind
23
+ dtype: int32
24
+ - name: size
25
+ dtype: int32
26
+ splits:
27
+ - name: train
28
+ num_bytes: 568043374
29
+ num_examples: 529
30
+ - name: test
31
+ num_bytes: 54764106
32
+ num_examples: 51
33
+ download_size: 0
34
+ dataset_size: 622807480
35
+ - config_name: 256x256
36
+ features:
37
+ - name: image
38
+ sequence:
39
+ sequence:
40
+ sequence:
41
+ dtype: float32
42
+ - name: label
43
+ sequence:
44
+ sequence:
45
+ dtype: uint8
46
+ - name: i
47
+ dtype: int32
48
+ - name: j
49
+ dtype: int32
50
+ - name: start_time
51
+ dtype: string
52
+ - name: end_time
53
+ dtype: string
54
+ - name: ind
55
+ dtype: int32
56
+ - name: size
57
+ dtype: int32
58
+ splits:
59
+ - name: train
60
+ num_bytes: 5484000000 # Estimated
61
+ num_examples: 1713
62
+ - name: test
63
+ num_bytes: 587000000 # Estimated
64
+ num_examples: 183
65
+ download_size: 0
66
+ dataset_size: 6071000000 # Estimated
67
+ task_categories:
68
+ - image-classification
69
+ - computer-vision
70
+ tags:
71
+ - satellite-imagery
72
+ - goes-16
73
+ - abi
74
+ - multi-spectral
75
+ - remote-sensing
76
+ - weather
77
+ - earth-observation
78
+ ---
79
+
80
+ # GOES-16 ABI Satellite Image Dataset
81
+
82
+ This dataset contains GOES-16 ABI (Advanced Baseline Imager) satellite images with multi-spectral imagery and corresponding labels.
83
+
84
+ ## Dataset Description
85
+
86
+ The dataset contains training and test splits at two different resolutions (128x128 and 256x256). Each image has 16 spectral channels from the GOES-16 ABI instrument. The data is provided by NOAA and NESDIS.
87
+
88
+ ### Dataset Structure
89
+
90
+ The dataset is organized into the following configurations:
91
+
92
+ - **128x128**: Images at 128x128 pixel resolution
93
+ - Train: 529 examples (~568 MB)
94
+ - Test: 51 examples (~55 MB)
95
+ - Total: 580 examples (~623 MB)
96
+
97
+ - **256x256**: Images at 256x256 pixel resolution
98
+ - Train: 1,713 examples (~5.5 GB estimated)
99
+ - Test: 183 examples (~587 MB estimated)
100
+ - Total: 1,896 examples (~6.1 GB estimated)
101
+
102
+ ### Data Fields
103
+
104
+ Each example in the dataset contains:
105
+
106
+ - `image`: Multi-spectral satellite image as a 3D array with shape [16, height, width]
107
+ - 16 spectral channels from GOES-16 ABI instrument
108
+ - Values are float32 type, typically in range [-3, 3]
109
+ - Height and width are 128 or 256 depending on configuration
110
+ - `label`: Corresponding label/mask as a 2D array with shape [height, width]
111
+ - Values are uint8 type, typically binary (0 or 1)
112
+ - `i`: Spatial coordinate i (int32)
113
+ - `j`: Spatial coordinate j (int32)
114
+ - `start_time`: Start time of the satellite observation (string)
115
+ - `end_time`: End time of the satellite observation (string)
116
+ - `ind`: Index within the original data array (int32)
117
+ - `size`: Resolution size (128 or 256) (int32)
118
+
119
+ ### Data Source
120
+
121
+ The satellite data originates from:
122
+ - **Instrument**: GOES-16 Advanced Baseline Imager (ABI)
123
+ - **Provider**: NOAA (National Oceanic and Atmospheric Administration)
124
+ - **Data Center**: NESDIS (National Environmental Satellite, Data, and Information Service)
125
+
126
+ ## Usage
127
+
128
+ ### Basic Usage
129
+
130
+ ```python
131
+ from datasets import load_dataset
132
+ import numpy as np
133
+
134
+ # Load 128x128 resolution data
135
+ dataset = load_dataset("./goes16_dataset.py", name="128x128")
136
+
137
+ # Access a sample
138
+ sample = dataset["train"][0]
139
+
140
+ # Convert to numpy arrays for processing
141
+ image = np.array(sample["image"]) # Shape: (16, 128, 128)
142
+ label = np.array(sample["label"]) # Shape: (128, 128)
143
+
144
+ print(f"Image shape: {image.shape}")
145
+ print(f"Label shape: {label.shape}")
146
+ print(f"Image data type: {image.dtype}")
147
+ print(f"Label data type: {label.dtype}")
148
+ print(f"Image value range: [{image.min():.3f}, {image.max():.3f}]")
149
+ print(f"Label value range: [{label.min()}, {label.max()}]")
150
+ ```
151
+
152
+ ### Accessing Metadata
153
+
154
+ ```python
155
+ # Get observation metadata
156
+ print(f"Spatial coordinates: i={sample['i']}, j={sample['j']}")
157
+ print(f"Observation time: {sample['start_time']} to {sample['end_time']}")
158
+ print(f"Resolution: {sample['size']}x{sample['size']}")
159
+ print(f"Array index: {sample['ind']}")
160
+ ```
161
+
162
+ ### Working with Different Resolutions
163
+
164
+ ```python
165
+ # Load different resolutions
166
+ dataset_128 = load_dataset("./goes16_dataset.py", name="128x128")
167
+ dataset_256 = load_dataset("./goes16_dataset.py", name="256x256")
168
+
169
+ # Compare samples
170
+ sample_128 = dataset_128["train"][0]
171
+ sample_256 = dataset_256["train"][0]
172
+
173
+ image_128 = np.array(sample_128["image"]) # Shape: (16, 128, 128)
174
+ image_256 = np.array(sample_256["image"]) # Shape: (16, 256, 256)
175
+
176
+ print(f"128x128 image shape: {image_128.shape}")
177
+ print(f"256x256 image shape: {image_256.shape}")
178
+ ```
179
+
180
+ ### Data Processing Example
181
+
182
+ ```python
183
+ import matplotlib.pyplot as plt
184
+
185
+ # Load a sample
186
+ sample = dataset["train"][0]
187
+ image = np.array(sample["image"]) # Shape: (16, 128, 128)
188
+ label = np.array(sample["label"]) # Shape: (128, 128)
189
+
190
+ # Visualize a specific channel (e.g., channel 0)
191
+ plt.figure(figsize=(12, 4))
192
+
193
+ plt.subplot(1, 3, 1)
194
+ plt.imshow(image[0], cmap='viridis')
195
+ plt.title('Channel 0 (Raw)')
196
+ plt.colorbar()
197
+
198
+ plt.subplot(1, 3, 2)
199
+ plt.imshow(label, cmap='gray')
200
+ plt.title('Label/Mask')
201
+ plt.colorbar()
202
+
203
+ plt.subplot(1, 3, 3)
204
+ # Create RGB composite (if channels support it)
205
+ # This is an example - adjust channels based on your specific needs
206
+ rgb_composite = np.stack([image[2], image[1], image[0]], axis=-1)
207
+ rgb_composite = (rgb_composite - rgb_composite.min()) / (rgb_composite.max() - rgb_composite.min())
208
+ plt.imshow(rgb_composite)
209
+ plt.title('RGB Composite')
210
+
211
+ plt.tight_layout()
212
+ plt.show()
213
+ ```
214
+
215
+ ## Dataset Statistics
216
+
217
+ ### 128x128 Configuration
218
+ - **Total examples**: 580 (529 train, 51 test)
219
+ - **Dataset size**: 623 MB
220
+ - **Image dimensions**: 16 channels × 128 × 128 pixels
221
+ - **Data types**: float32 (images), uint8 (labels)
222
+
223
+ ### 256x256 Configuration
224
+ - **Total examples**: 1,896 (1,713 train, 183 test)
225
+ - **Dataset size**: ~6.1 GB (estimated)
226
+ - **Image dimensions**: 16 channels × 256 × 256 pixels
227
+ - **Data types**: float32 (images), uint8 (labels)
228
+
229
+ ## Applications
230
+
231
+ This dataset can be used for:
232
+ - Satellite image analysis and classification
233
+ - Weather pattern recognition
234
+ - Multi-spectral image processing
235
+ - Earth observation studies
236
+ - Remote sensing applications
237
+ - Computer vision research on satellite imagery
238
+ - Semantic segmentation of satellite data
239
+ - Time series analysis of atmospheric conditions
240
+
241
+ ## Data Format
242
+
243
+ The actual image and label data are stored in NPZ format (`data/dataset.npz`) with corresponding metadata in CSV format (`data/metadata.csv`).
data/dataset.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c714795e48428932bfce2dcba924577d2848034301a8e569ed6240aa1024add1
3
+ size 541481677
data/metadata.csv ADDED
The diff for this file is too large to render. See raw diff