swWeatherData-class: Class '"swWeatherData"'

swWeatherData-classR Documentation

Class "swWeatherData"

Description

The methods listed below work on this class and the proper slot of the class swInputData.

Usage

swWeatherData(...)

weatherHistory(weatherList = NULL)

## S4 method for signature 'swWeatherData,character'
swReadLines(object, file)

Arguments

...

Arguments to the helper constructor function. Dots can either contain objects to copy into slots of that class (must be named identical to the corresponding slot) or be one object of that class (in which case it will be copied and any missing slots will take their default values). If dots are missing, then corresponding values of rSOILWAT2::sw_exampleData (i.e., the SOILWAT2 "testing" defaults) are copied.

weatherList

A list or NULL. Each element is an object of class rSOILWAT2::swWeatherData containing daily weather data of a specific year.

object

An object of class swWeatherData.

file

A character string. The file name from which to read.

Slots

year

An integer value. The calendar year of the weather data object.

data

A 365 x 15 or 366 x 15 matrix representing daily weather data for one calendar year with columns DOY, Tmax_C, Tmin_C, PPT_cm, cloudCov_pct, windSpeed_mPERs, windSpeed_east_mPERs, windSpeed_north_mPERs, rHavg_pct, rHmax_pct, rHmin_pct, specHavg_pct, Tdewpoint_C, actVP_kPa, and shortWR.

See Also

swInputData swFiles swWeather swCloud swMarkov swProd swSite swSoils swEstab swInputData swSWC swLog

Examples

showClass("swWeatherData")
x <- new("swWeatherData")
x <- swWeatherData()


Burke-Lauenroth-Lab/rSOILWAT2 documentation built on Dec. 9, 2023, 1:46 a.m.