get_lai_forcing: Getting LAI forcing for each usm

View source: R/get_lai_forcing.R

get_lai_forcingR 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"))



SticsRFiles documentation built on May 29, 2024, 4:18 a.m.