Organic carbon and respiration#

Soil carbon, microbial/root respiration and gas diffusion.

Created on Mon Dec 16 12:19:42 2019

smew.organic_carbon.respiration(ADD, SOC_in, CO2_air_in, ratio_aut_het, soil, s, v, k_v, Zr, temp_soil, dt, conv_mol, tau_OC=None)[source]#

Calculate respiration, reporting failures after compiled arrays are freed.

smew.organic_carbon.respiration_numba(ADD, SOC_in, CO2_air_in, ratio_aut_het, soil, s, v, k_v, Zr, temp_soil, dt, conv_mol, tau_OC=None)#

Return (results or None, error_code, error_message) for valid inputs.

Arrays must be nonempty, matching 1D float64 arrays; soil must be supported.