temperature_chart: Calculates the average daily temperature over the simulation...

Description Usage Arguments Details Value

View source: R/data_manip.R

Description

Function splits the data into separate months, lays it end to end, and then calculates the mean temperature for each day of the simulation period.

Usage

1
temperature_chart(mindf, maxdf, noTimeSteps)

Arguments

mindf

Raw data of all minimum daily temperatures, read into a dataframe.

maxdf

Raw data of all maximum daily temperatures, read into a dataframe.

noTimeSteps

Number of timesteps in the simulation.

Details

Note that due to months not having the same number of days, we remove any -1 entries which correspond to days like Feb 30.

This function is deterministic and should yield the same result for the same input.

Value

The mean temperature for each day of the simulation period, expressed as a dataframe of length noTimeSteps.


beeysian/cairnsmozzie documentation built on Feb. 15, 2021, 12:12 a.m.