if the function CheckLeapYear returns 0 this function will be used

Usage

weach365(X, lati, ts = 1, temp.units = c("Farenheit", "Celsius"), rh.units = c("percent", "fraction"), ws.units = c("mph", "mps"), pp.units = c("in", "mm"), ...)

Arguments

X
a matrix (or data frame) containing weather information. The input format is strict but it is meant to be used with the data usually obtained from weather stations in Illinois. The data frame should have 11 columns (see details).
lati
latitude at the specific location
ts
timestep for the simulation of sub-daily data from daily. For example a value of 3 would return data every 3 hours. Only divisors of 24 work (i.e. 1,2,3,4, etc.).
temp.units
Option to specify the units in which the temperature is entered. Default is Farenheit.
rh.units
Option to specify the units in which the relative humidity is entered. Default is percent.
ws.units
Option to specify the units in which the wind speed is entered. Default is miles per hour.
pp.units
Option to specify the units in which the precipitation is entered. Default is inches.
list()
additional arguments to be passed to lightME

Description

if the function CheckLeapYear returns 0 this function will be used