Function write_bands_to_file

Source
pub fn write_bands_to_file<T: RasterType>(
    out_ds: &Dataset,
    data: ArrayView3<'_, T>,
    write_offset: (isize, isize),
    write_size: (usize, usize),
)
Expand description

Writes each band of a 3D array to a GDAL dataset.

Replaces the duplicated band-write loop found in blocks.rs::write3() and io.rs::write_window3().