get_lai_forcing {SticsRFiles}R Documentation

Getting LAI forcing for each usm

Description

Is LAI forced for usms in usms.xml

Usage

get_lai_forcing(usm_file_path, usms_list = c())

Arguments

usm_file_path

Path to usms.xml file

usms_list

Usm(s) name(s) (optional, see details)

Details

Use get_usms_list() to get the list of the usm names for an usms.xml file.

Value

A named numeric vector with a Boolean value (TRUE = forced) for each usm

Examples

# Xml case
xml_usms <- file.path(get_examples_path(file_type = "xml"), "usms.xml")
get_lai_forcing(xml_usms)
get_lai_forcing(xml_usms, "wheat")
get_lai_forcing(xml_usms, c("wheat", "intercrop_pea_barley"))



[Package SticsRFiles version 1.4.0 Index]