Commit 8f5dc98
committed
feat: Integrate Ice Chunk for optimized satellite loading
This commit introduces Ice Chunk support for significantly faster satellite data loading, achieving up to 1.9x performance improvement over plain Zarr.
Key changes:
- Unified satellite data loading using a single function that intelligently dispatches to either standard Zarr or Ice Chunk based on the path.
- Simplified configuration by removing Ice Chunk-specific parameters and using a single field.
- Optimized Ice Chunk conversion process using the library.
- Added comprehensive benchmarking scripts to compare Ice Chunk and plain Zarr performance.
The benchmark results show a significant performance boost with Ice Chunk. This enhancement reduces data loading times and improves overall efficiency, bringing the OCF Data Sampler closer to production readiness.
The main files that were changed are:
- ocf_data_sampler/config/model.py
- ocf_data_sampler/load/satellite.py
- ocf_data_sampler/load/load_dataset.py
- scripts/full_dataset_icechunk_conversion.py
- scripts/production_benchmark_comparison.py1 parent ae6399f commit 8f5dc98
File tree
12 files changed
+353
-805
lines changed- ocf_data_sampler
- config
- load
- torch_datasets/utils
- scripts
12 files changed
+353
-805
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
220 | | - | |
221 | | - | |
| 219 | + | |
| 220 | + | |
222 | 221 | | |
223 | 222 | | |
224 | 223 | | |
225 | 224 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | 225 | | |
281 | 226 | | |
282 | 227 | | |
283 | 228 | | |
284 | 229 | | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | 230 | | |
306 | 231 | | |
307 | 232 | | |
| |||
315 | 240 | | |
316 | 241 | | |
317 | 242 | | |
318 | | - | |
319 | | - | |
320 | 243 | | |
321 | 244 | | |
322 | 245 | | |
| |||
484 | 407 | | |
485 | 408 | | |
486 | 409 | | |
487 | | - | |
488 | | - | |
This file was deleted.
0 commit comments