Description Usage Arguments Value
View source: R/vic_relevents.R
Create the soil parameters for VIC model by offering coordinates, elevations and other datas. Each row of each data must be corresponding to a gridcell.
1 2 | create_soil_params(coords, elev, soil_hydraulic, anprec, nlayer = 3,
avg_T = NA, quarzs = NA, organic = NA, Javg = NA)
|
coords |
A data frame containing ongitude and latitude coordinate of the gridcells. First column must be the longitudes while the second column must be the latitudes. |
elev |
A vector containing the elevation of each gridcell. |
soil_hydraulic |
A dataframe of the output of soil_convert(). |
anprec |
A vector containing the annual average precipitation of each gridcell. |
nlayer |
Num of soil layers. |
avg_T |
Average soil temperature of each gridcell. Would create from the global dataset by interpolation if not offered. |
quarzs |
Quarz content of soil of each gridcell. Would create from the global dataset by interpolation if not offered. |
organic |
Organic parameters. Including the fraction of organic matter, its bulk density and its partial density for each soil layer. |
Javg |
Average temperature in July at each gridcell. |
A data frame containing the soil parameters needed by the VIC model. Can be write to file use write.table for use.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.