write_bbox#

write_bbox(path: str, arr: ndarray, bbox: Box, crs_wkt: str, **kwargs)[source]#

Write a (H, W[, C]) array to a GeoTIFF, georeferenced to the given bbox.

Parameters
  • path (str) – GeoTiff path.

  • arr (np.ndarray) – (H, W[, C]) Array to write.

  • bbox (Box) – Bounding box in map coords to georeference the GeoTiff to.

  • crs_wkt (str) – CRS in WKT format.