subprogram subfile description -------------------------------------------------------------- cupidg2 cusub main body of model infix cuinp fixed quantities inplnt plant inputs insoil soil inputs inspkl sprinkler irrig. inputs initc some initialization date cuastr calendar date declin sun declination zenith sun zenith and azm angl radin4 curadin dir. and dif. PAR & NIR skyir sky thermal radiat curadia canopy radiation model wndfac cuht obsolete wind prof. height LAI vs height relation rbound leaf boundary layer resis. hite2 generalized height calc. stoma culfbal obsolete stom cond calc lfebal leaf energy balance stress calc ground based evap fluxes sumflx calcs various fluxes profl2 cuprof all cpy and soil profiles newrap cunr Newton-Raphson solver soilw cuinfil soil water infiltration model photks cuphot photosyn-stom cond model(Farquhar) c4phot photo-stom model of Berry C4 plants c3phot photo-stom leaf model Berry C3 plants interc cuintc precip interception drips drip from leaf to leaf preang angle of precip to cpy cpywt weighting factor for lay rootex curoot root extraction of water soilco2 soil co2 flux penmon cuet Penman-Monteith eqn. simpet simple Et equations bdrtm cubdrtm directional thermal IR difint culad thick-layer diffuse interception dstlit distrib. of leaf-sun angles gamma gamma function for leaf angl dist kernal cosine of leaf-sun angle lad leaf angle distribution simpsn extinction coefficient dpe cudpe irrig. droplet evap. drywt dry weight scaleh cuscale hourly scaling equations scaled daily scaling equations calcpath calcpath calc. the pathlength of a sunbeam thru cpy