code: public static void deleteGriddedCoverageExtension(GeoPackageCore geoPackage) {
  
  		List<String> coverageTables = geoPackage
  				.getTables(ContentsDataType.GRIDDED_COVERAGE);
  		for (String table : coverageTables) {
  			geoPackage.deleteTable(table);
  		}
  
  		GriddedTileDao griddedTileDao = geoPackage.getGriddedTileDao();
  		GriddedCoverageDao griddedCoverageDao = geoPackage
  				.getGriddedCoverageDao();
  		ExtensionsDao extensionsDao = geoPackage.getExtensionsDao();
  
  		try {
  			if (griddedTileDao.isTableExists()) {
  				geoPackage.dropTable(griddedTileDao.getTableName());
  			}
  			if (griddedCoverageDao.isTableExists()) {
  				geoPackage.dropTable(griddedCoverageDao.getTableName());
  			}
  			if (extensionsDao.isTableExists()) {
  				extensionsDao
  						.deleteByExtension(CoverageDataCore.EXTENSION_NAME);
  			}
  		} catch (SQLException e) {
  			throw new GeoPackageException(
  					"Failed to delete Gridded Coverage extension and tables. GeoPackage: "
  							+ geoPackage.getName(), e);
  		}
  
  	}
docs: Delete the Gridded Coverage extension
  
  @param geoPackage
  GeoPackage
  @since 3.2.0