darts_acquisition.s2.debug_export
¶
Utility functions for exporting debug data.
save_debug_geotiff
¶
save_debug_geotiff(
dataset: xarray.Dataset,
output_path: pathlib.Path,
optical_bands: list[str],
mask_bands: list[str] | None = None,
) -> None
Save the raw dataset as a GeoTIFF file for debugging purposes.
Parameters:
-
dataset(xarray.Dataset) –Dataset to save
-
output_path(pathlib.Path) –Path to the output GeoTIFF file
-
optical_bands(list[str]) –List of optical band names
-
mask_bands(list[str], default:None) –List of mask band names