DailyWeather: Combine weather information at the daily level

View source: R/julia_interface.R

DailyWeatherR Documentation

Combine weather information at the daily level

Description

Combine weather information at the daily level

Usage

DailyWeather(
  lat = 52,
  doy = 182L,
  tau = 0.75,
  Tmin = 20,
  Tmax = 30,
  RH = 0.4,
  Ca = 400
)

Arguments

lat

Latitude of the location in hexadecimal degrees

doy

Day of the year being simulated

tau

Atmospheric transmissivity

Tmin

Minimum temperature of the day (Celsius)

Tmax

Maximum temperature of the day (Celsius)

RH

Relative humidity at sunrise

Ca

CO2 molar fraction in the air (umol/mol)

Value

A Julia object collecting the weather variables after some transformations:

lat

Latitude of the location (rad)

doy

Day of the year being simulated

tsr

Time of the day at which sunrise occurs (h)

DL

Diurnal length, that is, difference between sunrise and sunset (h)

tau

Atmospheric transmissivity

Temp

Function to interpolate temperature during the day (does not work in R)

ea

Air vapour pressure at sunrise (kPa)

Ca

CO2 molar fraction in the air (umol/mol)

Examples

weather = DailyWeather()
weather$DL

AleMorales/RMultilayerCanopy documentation built on June 11, 2022, 8:41 p.m.