issues
search
mdekauwe
/
GDAY
GDAY simulates carbon, nitrogen & water dynamics
14
stars
31
forks
source link
Sub-daily dynamics
#2
Closed
mdekauwe
closed
8 years ago
mdekauwe
commented
8 years ago
Add new flag "sub-daily", if called we look for 30min data (or if not found we call a weather generator?)
read 30 minute data.
add routine to determine direct/diffuse component of PAR
add internal day loop over (48 time steps), if sun is up call new photosynthesis routine.
add new photosynthesis routine, leaf energy balance, resolve Ci, VPD, etc. For the moment keep the SW as a bucket.
Once the sun has gone down, skip out of sub-daily loop.
Sum daily C, water.
Join standard part of code and move C, N around the plant.
mdekauwe
commented
8 years ago
Outstanding things to do:
Need sunlit/shaded loop
Convert Anleaf, gs, transpiration fluxes to consistent units to match code
Call water balance
sum C & water fluxes.
Check it works :)