calc_photo: calc_photo

View source: R/RcppExports.R

calc_photoR Documentation

calc_photo

Description

Generates estimates of photosynthetic rates using a Farquar type photosynthesis model.

Usage

calc_photo(leaf_temp, photo_active_rad, atmospheric_co2, ppl, pht)

Arguments

leaf_temp

matrix with ntimesteps rows, nsites columns, containing leaf temperature [°C]

photo_active_rad

matrix with ntimesteps rows, nsites columns, containing photosynthetically active radiation [umol*m^(-2)*s^(-1)]

atmospheric_co2

matrix with ntimesteps rows, nsites columns, containing atmospheric CO2 partial pressure [Pa]

ppl

a list of photosynthetic parameters (see p3 and p4)

pht

a string indicating "c3" or "c4" photosynthesis

Details

This function is called internally by get_input().

Value

matrix with ntimesteps rows, nsites columns, containing the calculated photosynthetic rates [umol*m^(-2)*s^(-1)]


TTR.PGM documentation built on June 8, 2025, 9:32 p.m.