interpolate_meteo: Calculate environmental conditions on a particular time of...

View source: R/julia_interface.R

interpolate_meteoR Documentation

Calculate environmental conditions on a particular time of the day

Description

Calculate environmental conditions on a particular time of the day

Usage

interpolate_meteo(weather = DailyWeather(), time = weather$DL/2)

Arguments

weather

Daily weather object as generated by DailyWeather

time

Time of the day relative to sunrise (i.e., between 0 and weather$DL)

Value

A Julia object collecting the environmental variables at the specified time of the day:

Ib0

Direct PAR that reaches the top of the canopy (mol/m2/s)

Id0

Diffuse PAR that reaches the top of the canopy (mol/m2/s)

beta

Solar elevation angle (rad)

Omega

Solar azimuth angle (rad)

Tleaf

Leaf temperature assumed to be equal to air (K)

VPD

Vapor pressure deficit (Pa)

Ca

CO2 molar fraction in the air (mol/mol)

Examples

weather = DailyWeather()
env = interpolate_meteo(weather, weather$DL/2)

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