Make spatial predictions with a WOFOST model. First create a model, then use the model with a SpatDataSet of weather and a SpatRaster of soil properties to make spatial predictions.
# S4 method for Rcpp_WofostModel
predict(object, weather, mstart, soilindex=NULL,
soils=NULL, filename="", overwrite=FALSE, ...)
WOFOST model
SpatRasterDataset with weather data. The must be six sub-datasets with daily weather data for the same days and these names: tmin, tmax, prec, srad, wind and vapr
dates to start the model
SpatRaster. postive integer with the ID for the soil type to use
list of wofost soil types
character. Output filename. Optional
logical. If TRUE
, filename
is overwritten
list. Options for writing files as in writeRaster
SpatRaster