dtcc.Raster.resample(cell_size=None, scale=None, method='bilinear') Resample a Raster object to a new cell size or scale. Parameters:¶ cell_size : float¶The new cell size in meters (default None). scale : float¶The scaling factor for the cell size (default None). method : str¶The resampling method to use, one of “bilinear”, “nearest”, or “cubic” (default “bilinear”). Returns:¶ A new Raster object with the resampled data. Return type:¶ Raster