View source: R/raster_to_ncdf.R
raster_to_ncdf | R Documentation |
Conversion a raster or brick to a array for WRF-Chem model
raster_to_ncdf(r, na_value = 0)
r |
input raster |
na_value |
value for missing values |
array
r <- raster::raster(paste0(system.file("extdata", package = "hackWRF"),
"/wrf.day1.o3.nc"))
a <- raster_to_ncdf(r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.