View source: R/extract_data_list.R
extract_data_list | R Documentation |
Extract Data List
extract_data_list(file, dname, n = 52, years, step = "Step", ...)
file |
An ncdf file |
dname |
A variable name. One of "Weekly Growth Index", "Hot Stress", "Dry Stress", "Wet Stress", "Cold Stress", "Ecoclimatic Index", "Moisture Index", "Temperature Index" |
n |
A number of layers for each year. The default is 52 |
years |
A vector indicating years in the input file |
step |
"Step" for weekly data or "Year" for yearly data |
... |
Not used |
A nested list with spatio-thematic metadata. Each nested list contains a data for each year in a form of a set of matrices.
## Not run: Path <- "C:/Google Drive/Corvus Geostat - Jakub Nowosad/" Path <- "../corvus_dynamic_outputs/" input_file <- paste0(Path,"NetCDF/DxResults_Cc_2010-2015.nc") AllYears <- extract_data_list(input_file, "Weekly Growth Index", years = 2000:2014) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.