preprocessing.geotiff_to_zarr
preprocessing.geotiff_to_zarr(
tiff_path,
zarr_path,
chunk_size=256,
overwrite=False,
)Re-pack a multi-band GeoTIFF into a chunked Zarr array. Zarr is faster than COG for parallel DataLoader(num_workers > 0) because each worker can hit chunks without contending for a single file handle. Returns the zarr path.