def raster_ds_proj(raster_ds):
    """Return the projection WKT of an opened raster dataset

    Args:
        raster_ds (:class:`gdal.Dataset`): An opened GDAL raster
            dataset

    Returns:
        str: Well known text (WKT) formatted represetnation of the projection

    """
    return raster_ds.GetProjection()