create_soil_params: Create the soil parameters for VIC model.

Description Usage Arguments Value

View source: R/vic_relevents.R

Description

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.

Usage

1
2
create_soil_params(coords, elev, soil_hydraulic, anprec, nlayer = 3,
  avg_T = NA, quarzs = NA, organic = NA, Javg = NA)

Arguments

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.

Value

A data frame containing the soil parameters needed by the VIC model. Can be write to file use write.table for use.


Sibada/sibadaR documentation built on Jan. 31, 2020, 6:40 p.m.