Learn R Programming

VICmodel (version 0.1.2)

read_veg_classic: Read the classic VIC vegetation parameter file.

Description

Read the ASCII vegetation parameter file of the classic VIC model

Usage

read_veg_classic(vegfile, rootbands = 3, hasLAI = FALSE, hasFCAN = FALSE,
  hasALB = FALSE)

Arguments

vegfile

Path of the vegetation parameter file.

rootbands

Number of root bands.

hasLAI

If the file includes LAI data.

hasFCAN

If the file includes fcanopy data.

hasALB

If the file includes albedo data.

Value

The vegetation parameter input (A list) for the run of VIC model in this package.

Details

The detail of the vegetation parameter file of the classic VIC please see http://vic.readthedocs.io/en/master/Documentation/Drivers/Classic/VegParam/ for the VIC official documentation. Here is an example of the vegetation file of Two vegetation tiles with three root zones in the seventh grid cell with LAI data.