simTemperature: Simulate daily temperatures

View source: R/13-02-01-simTemperature.R

simTemperatureR Documentation

Simulate daily temperatures

Description

Function used to simulate daily temperatures in each river system using historical gauge data loaded using setupTemperatureData.

Usage

simTemperature(mu)

Details

This function relies on a data set (mu) containing daily temperatures (val), year (year), and ordinal date (day). Missing, zero, and negative values will throw warnings.

Value

A list containing 1) a matrix of projected temperatures for the number of years specified (predTemps), and 2) a matrix of accumulated thermal units (ATU) for corresponding days.


danStich/shadia documentation built on Nov. 2, 2023, 6:43 a.m.