swSite_SWRCflags: Names of 'SWRC' and 'PTF'

swSite_SWRCflagsR Documentation

Names of SWRC and PTF

Description

Names of SWRC and PTF

Usage

swSite_SWRCflags(object)

swSite_SWRCflags(object) <- value

## S4 method for signature 'swSite'
swSite_SWRCflags(object)

## S4 replacement method for signature 'swSite'
swSite_SWRCflags(object) <- value

## S4 method for signature 'swInputData'
swSite_SWRCflags(object)

## S4 replacement method for signature 'swInputData'
swSite_SWRCflags(object) <- value

Arguments

object

An object of class swSite or swInputData.

value

A character vector with two elements for "swrc_name" and "ptf_name".

Value

A character vector with two elements "swrc_name" and "ptf_name".

Details

The replacement method swSite_SWRCflags() for class swInputData resets has_swrcp to FALSE if "swrc_name" or "ptf_name" are updated. This is to avoid inconsistency between SWRCp, has_swrcp, and swrc_flags.

The correct sequence for setting values is

  1. swSoils_Layers(),

  2. swSite_SWRCflags(), and

  3. swSoils_SWRCp() and swSite_hasSWRCp()


Burke-Lauenroth-Lab/Rsoilwat documentation built on Dec. 9, 2023, 12:41 a.m.