powered by
Function to transform a raster brick into a data.table
tabular(x)# S4 method for Raster tabular(x)# S4 method for character tabular(x)
# S4 method for Raster tabular(x)
# S4 method for character tabular(x)
data.table
Raster* object; filename (character, see details)
if (FALSE) { download_data("gldas-vic", tempdir(), timestep = "yearly") r <- raster::brick(paste0(tempdir(), "/gldas-vic_tp_mm_land_194801_201412_025_yearly.nc")) s <- tabular(r) }
Run the code above in your browser using DataLab