code: public static void deleteGriddedCoverage(GeoPackageCore geoPackage,
  			String table) {
  
  		if (geoPackage.isTableType(ContentsDataType.GRIDDED_COVERAGE, table)) {
  
  			GriddedTileDao griddedTileDao = geoPackage.getGriddedTileDao();
  			GriddedCoverageDao griddedCoverageDao = geoPackage
  					.getGriddedCoverageDao();
  			ExtensionsDao extensionsDao = geoPackage.getExtensionsDao();
  
  			try {
  				if (griddedTileDao.isTableExists()) {
  					griddedTileDao.delete(table);
  				}
  				if (griddedCoverageDao.isTableExists()) {
  					griddedCoverageDao.delete(table);
  				}
  				if (extensionsDao.isTableExists()) {
  					extensionsDao.deleteByExtension(
  							CoverageDataCore.EXTENSION_NAME, table);
  				}
  			} catch (SQLException e) {
  				throw new GeoPackageException(
  						"Failed to delete Table Index. GeoPackage: "
  								+ geoPackage.getName() + ", Table: " + table, e);
  			}
  		}
  
  	}
docs: Delete the Gridded Coverage extensions for the table
  
  @param geoPackage
  GeoPackage
  @param table
  table name
  @since 3.2.0